Click to See Complete Forum and Search --> : .htaccess permission etc


amd_dude
09-02-2003, 09:56 PM
hi

how do i make the .htaccess and the .htpasswd file to stop people getting into folders that i dont want to be gone into.

thanks in advanced

anfpunk
09-02-2003, 11:33 PM
htpasswd .htaccess username


Use -c is you need to create the file.

EDIT: apache 2 uses htpasswd2 btw.

amd_dude
09-03-2003, 05:16 AM
whats the full code i have type -c in and it dont like the command i need to create this with windows

muisejt
09-03-2003, 11:56 AM
http://www.javascriptkit.com/howto/htaccess.shtml