View Single Post
  #8  
Old 4th February 2008, 16:21
Check Check is offline
Member
 
Join Date: Feb 2007
Posts: 76
Thanks: 4
Thanked 1 Time in 1 Post
Default

Ok i made the change and got these warnings when restarting apache. Nothing big i dont think... ***EDIT*** I removed the dupe vars. They were for ispconfig.

I logged into the web app and everything works fine (or so it seems) but still none of my sites are listed. They were also orginized into folders and those folders are there either. So, that change didnt seem to make a difference, at least with this problem.


Code:
root@server1:/etc/apache2#  /etc/init.d/apache2 restart
 * Forcing reload of apache 2.0 web server...                                                                                [Mon Feb 04 09:07:11 2008] [warn] The Alias directive in /etc/apache2/apache2.conf at line 136 will probably never match because it overlaps an earlier Alias.
[Mon Feb 04 09:07:11 2008] [warn] The Alias directive in /etc/apache2/apache2.conf at line 140 will probably never match because it overlaps an earlier Alias.
[Mon Feb 04 09:07:12 2008] [warn] The Alias directive in /etc/apache2/apache2.conf at line 136 will probably never match because it overlaps an earlier Alias.
[Mon Feb 04 09:07:12 2008] [warn] The Alias directive in /etc/apache2/apache2.conf at line 140 will probably never match because it overlaps an earlier Alias.
Here is the first part of
Code:
###################################
#
# ISPConfig vHost Configuration File
#         Version 1.0
#
###################################
#
NameVirtualHost 192.168.1.70:80
<VirtualHost 192.168.1.70:80>
  ServerName localhost
  ServerAdmin root@localhost
  DocumentRoot /var/www/sharedip
</VirtualHost>
#
#
######################################
# Vhost: www.snippetcreator.com:80
######################################
#
#
<VirtualHost 192.168.1.70:80>
ServerName www.snippetcreator.com:80
ServerAdmin webmaster@snippetcreator.com
DocumentRoot /var/www/web1/web
ServerAlias snippetcreator.com
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Defau
lt.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>
#
#
#
######################################
# Vhost: beta.snippetcreator.com:80
######################################
#
#
<VirtualHost 192.168.1.70:80>
ServerName beta.snippetcreator.com:80
ServerAdmin webmaster@snippetcreator.com
DocumentRoot /var/www/web8/web
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Defau
lt.htm default.htm
ScriptAlias  /cgi-bin/ /var/www/web8/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web8/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/web8/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/web8/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/web8/user/$1/web/$3
</VirtualHost>
#
#
#
######################################
# Vhost: monitor.snippetcreator.com:80
######################################
#
#
<VirtualHost 192.168.1.70:80>
ServerName monitor.snippetcreator.com:80
ServerAdmin webmaster@snippetcreator.com
DocumentRoot /var/www/web7/web
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Defau
lt.htm default.htm
ScriptAlias  /cgi-bin/ /var/www/web7/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /var/www/web7/log/error.log
If you need more i can get it but this is the first 25%

Lastly, about the logs...There were a bunch labeled with numbers (error.log1-32) so i just took error.log and viewed that

It was mostly filled with
Code:
[Sun Feb 03 19:57:49 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:50 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:50 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:50 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:50 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:51 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:51 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:51 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:51 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:51 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:51 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:52 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:52 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:52 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:52 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:53 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:53 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:53 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:53 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:53 2008] [error] an unknown filter was not added: PHP
[Sun Feb 03 19:57:53 2008] [error] an unknown filter was not added: PHP
There were hundreds of these. Besides that there were these errors...
Code:
[Mon Feb 04 09:07:11 2008] [notice] caught SIGTERM, shutting down
[Mon Feb 04 09:07:12 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec2)
[Mon Feb 04 09:07:12 2008] [notice] Apache/2.0.55 (Ubuntu) PHP/5.1.2 mod_ssl/2.0.55 OpenSSL/0.9.8a configured -- resuming nor
mal operations
And

Code:
[error] [client 61.97.55.59] client sent HTTP/1.1 request without hostname (see RFC2616 section 14
.23): /w00tw00t.at.ISC.SANS.DFind:)
Thanks for your continued support!

Last edited by Check; 4th February 2008 at 16:27.
Reply With Quote