Image

Imagebotemuthegreat wrote in Imageapache 😯confused

HELP!

I'm having trouble with authentication on my apache 2.0 server here is what i have in my httpd.conf ( I am running redhat 9)

#Authentication
[Error: Irreparable invalid markup ('<directory "/var/www/cgi-proxy/requests">') in entry. Owner must fix manually. Raw contents below.]

I'm having trouble with authentication on my apache 2.0 server here is what i have in my httpd.conf ( I am running redhat 9)

#Authentication
<directory "/var/www/cgi-proxy/requests">
AuthType Basic
AuthName "proxy"
AuthUserFile /etc/httpd/proxypass
Require Valid-User
</directory>
<directory "var/www/cgi-bin1">
AuthType Basic
AuthName "proxy"
AuthUserFile /etc/httpd/proxypass
require valid-user
</directory>

The first directory won't let me login but the second will. originally i had seperate files for each and then i went to 'Require User X' but it still didn't work, so to trouble shoot i tried making them the same. Now i'm out of ideas. the password file 'proxypass' is chmod 775, the files/folders within are either chmod 775 or 777. any help wouldbe great