I followed the instructions in the xymon virtual host config file for enabling htaccess an apache is ignoring it and serving up the pages without requiring a username and passwd.
Any ideas and thank you in advance.
-Trever
On 9/25/19 5:01 PM, Trever Noggle wrote:
I followed the instructions in the xymon virtual host config file for enabling htaccess an apache is ignoring it and serving up the pages without requiring a username and passwd.
Any ideas and thank you in advance.
-Trever
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Are there any errors in the error_log?? DO you have:
|AllowOverride All in the virtual host? |
Yes.? I am getting the following error in the apache error.log. some identifiable information masked
[Wed Sep 25 22:44:11.135589 2019] [core:alert] [pid 7282] [client IP ADDRESS:55174] /home/xymon/server/www/.htaccess: Invalid command 'USERNAME:HASHED PASSWORD', perhaps misspelled or defined by a module not included in the server configuration
On 9/25/2019 10:29 PM, Bruce Ferrell wrote:
On 9/25/19 5:01 PM, Trever Noggle wrote:
I followed the instructions in the xymon virtual host config file for enabling htaccess an apache is ignoring it and serving up the pages without requiring a username and passwd.
Any ideas and thank you in advance.
-Trever
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Are there any errors in the error_log?? DO you have:
|AllowOverride All in the virtual host? |
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
On 9/25/19 9:47 PM, Trever Noggle wrote:
Invalid command 'USERNAME:HASHED PASSWORD', perhaps misspelled or defined by a module not included in the server configuration
OK, that tells me .htaccess isn't being ignored.? There may be a mis-configuration in the auth modules, but
Just for grins and giggles, move the existing password file to the side and recreate it with the htpasswd command.
Do NOT use htpasswd -c
unless you DO move the existing out of the way first
it will look something like this:
?htpasswd /usr/local/etc/apache/.htpasswd-users jsmith
participants (2)
-
bferrell@baywinds.org
-
trever@tandj.org