Help - Search - Members - Calendar
Full Version: Problem With Htaccess
Linuxhelp > Support > Technical Support
/usr/local/apache2/htdocs is where my website files are.
This is what my ".htaccess" file looks like.

AuthUserFile /usr/local/apache2/htdocs/.htpasswd
AuthGroupFile /dev/null
AuthName secret
AuthType Basic

<Limit GET POST>
require valid-user

I have an ".htpasswd" file that looks like this (simply for testing):

my httpd.conf file has this line, so it SHOULD work.

# AllowOverride controls what directives may be placed in .htaccess files.
AccessFileName .htaccess

I'm getting kind of frustrated here. XD

If it helps, I'm running Knoppix Debain (kernel 2.4), apache2, php and mysql as well. ;_; htaccess and htpasswd are in the same dir

Any help would be appreciated!
you need to change
in your conf file for apache
the following line

look for a line that says
allowoveride none

and change it to

allowoveride authconfig
I get an internal service error when I do that. O_o

Anyone else have any idea?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2018 Invision Power Services, Inc.