Hi, I have a strange problem with my Apache error log. A log entry is written on each request, like this:
Code:
[Mon Mar 07 11:43:00.454450 2016] [access_compat:error] [pid 10486] [client 91.126.16.158:60566] AH01797: client denied by server configuration: /var/www/epc/cgi-bin/perlinfo.pl
I've configured my site as follows:
Code:
<VirtualHost *:80>
ServerAdmin webmaster@localhost
ServerName inte.epc.local
DocumentRoot /var/www/epc/
<Directory /var/www/epc/>
Options -Indexes +FollowSymLinks +MultiViews
AllowOverride All
AuthType Basic
AuthName intranet
AuthUserFile /var/www/epc/.htpasswd
Require valid-user
Order allow,deny
Allow from 127.0.0.1 #Server
Allow from 93.54.126.55 #Server (exteal)
Allow from 85.112.14.120 #Exteal IP of companies' network -> those users do not need to login
Satisfy any
</Directory>
ScriptAlias /cgi-bin/ /var/www/epc/cgi-bin/
<Directory "/var/www/epc/cgi-bin">
AllowOverride All
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
#Order allow,deny
#Allow from all
</Directory>
ErrorLog /var/log/apache2/error-epc.log
LogLevel wa
CustomLog /var/log/apache2/access-epc.log combined
</VirtualHost>
- - , .
برچسب:
نویسنده: استخدام کار