jibranilyas
asked on
Restart Apache Server fails !
I get this error when i try to restart Apache after adding some lines in httpd.conf if i take out the lines, the webserver starts successfully
[root@*************** var]# ../etc/rc.d/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 1088 of /etc/httpd/conf/httpd.conf :
AuthName not allowed here
[FAILED]
lines added in httpd.conf
AuthName "Apache"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpa sswd.users
require valid-user
Please advise!
[root@*************** var]# ../etc/rc.d/init.d/httpd restart
Stopping httpd: [ OK ]
Starting httpd: Syntax error on line 1088 of /etc/httpd/conf/httpd.conf
AuthName not allowed here
[FAILED]
lines added in httpd.conf
AuthName "Apache"
AuthType Basic
AuthUserFile /usr/local/nagios/etc/htpa
require valid-user
Please advise!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER