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

CODE
AuthUserFile /usr/local/apache2/htdocs/.htpasswd
AuthGroupFile /dev/null
AuthName termina.kicks-ass.net secret
AuthType Basic

<Limit GET POST>
require valid-user
</Limit>


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


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

CODE
# 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!
chrisw
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
Termina
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-2017 Invision Power Services, Inc.