View Single Post
  #1  
Old 16th February 2006, 19:01
wwparrish wwparrish is offline
Junior Member
 
Join Date: Jan 2006
Posts: 28
Thanks: 0
Thanked 1 Time in 1 Post
Default "unknown filter" growing apache log.

I am getting large logs due to this :

Thu Feb 16 10:11:07 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:11:15 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:11:15 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:11:18 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:11:18 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:11:22 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:11:22 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:11:33 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:11:33 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:11:48 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:11:48 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:12:22 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:12:22 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:13:22 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:13:22 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:14:25 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:14:25 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:15:25 2006] [error] an unknown filter was not added: PHP
[Thu Feb 16 10:15:25 2006] [error] an unknown filter was not added: PHP



If I could impose on you, I could probally figure it out in a week or two but since ISP config is running so nicely I dont want to mess it up.

httpd.conf :

Code:
<directory /var/www/*/web>
   # Options +Includes -Indexes
    AllowOverride All
    Order allow,deny
    Allow from all
    <files ~ "^\.ht">
    Deny from all
    </files>
</directory>

<directory /var/www/*/user/*/web>
   # Options +Includes -Indexes
    AllowOverride All
    Order allow,deny
    Allow from all
    <files ~ "^\.ht">
    Deny from all
    </files>
</directory>

<directory /var/www/*/cgi-bin>
   # Options ExecCGI -Indexes
    AllowOverride None
    AllowOverride Indexes AuthConfig Limit FileInfo
    Order allow,deny
    Allow from all
    <files ~ "^\.ht">
    Deny from all
    </files>
</directory>

Include /etc/apache2/vhosts/Vhosts_ispconfig.conf
and vhosts

Code:
###################################
#
# ISPConfig vHost Configuration File
#         Version 1.0
#
###################################
#
NameVirtualHost xxx.xxx.xxx.xx:80
<VirtualHost xxx.xxx.xxx.xx:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: util.xxxxxxxx.net:80
######################################
#
#
<VirtualHost xxx.xxx.xxx.xxx:80>
ServerName util.xxxxxxxxx.net:80
ServerAdmin webmaster@xxxxxxxxx.net
DocumentRoot /var/www/web1/web
ServerAlias xxxxxxxxx.net
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias  /cgi-bin/ /var/www/web1/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web1/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php3>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php4>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
<Files *.php5>
    SetOutputFilter PHP
    SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/var/www/web1/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web1/user/$1/web/$3
</VirtualHost>
#
Thanks !!!!
Reply With Quote
Sponsored Links