robertlouwen
2nd June 2009, 13:57
Gentlemen,
In /etc/httpd/conf/httpd.conf is this line include conf.d/*.conf so out of curiosity I looked in /etc/httpd/conf.d and found among others :
BackupPC.conf
roundcubemail.conf
webalizer.conf
In these files you can find their alias, now when I go http://something.org/alias I get error 401, not authorized, error 403, forbidden and / or error 404, page not found.
If I change order deny,allow
deny from all
allow from 127.0.0.1 Into thisorder allow,deny
allow from all
#allow from 127.0.0.1 am I exposing my server to a security risk ?
PS when I changed the code the pages showed with or without username / password prompt.
In /etc/httpd/conf/httpd.conf is this line include conf.d/*.conf so out of curiosity I looked in /etc/httpd/conf.d and found among others :
BackupPC.conf
roundcubemail.conf
webalizer.conf
In these files you can find their alias, now when I go http://something.org/alias I get error 401, not authorized, error 403, forbidden and / or error 404, page not found.
If I change order deny,allow
deny from all
allow from 127.0.0.1 Into thisorder allow,deny
allow from all
#allow from 127.0.0.1 am I exposing my server to a security risk ?
PS when I changed the code the pages showed with or without username / password prompt.