View Single Post
  #18  
Old 26th January 2010, 14:59
Mosquito Mosquito is offline
Member
 
Join Date: Nov 2006
Posts: 85
Thanks: 5
Thanked 6 Times in 5 Posts
Default

I set everything to * and ran the tail command.

client6 - Displays correctly, no entry in the log file
client7 - Attempts to redirect to a subdirectory in client9, No entry in the log
client8 - Displays correctly, entry in log file
Code:
[Tue Jan 26 07:50:19 2010] [info] Executing "/var/www/clients/client8/web7/web/index.php" as UID 5005, GID 5009
client9 - Displays an ISPConfig welcome page, that appears to be from client7, No entry in the log

I was curious why client7 would redirect to a subdirectory. Client9 has an .htaccess file that reads like this:

Code:
#ErrorDocument 403 /blocked_hosts/forbid.php
#ErrorDocument 404 /forums/missing.php
DirectoryIndex portal.php index.php index.html index.htm
Options +FollowSymLinks
RewriteEngine on
# If requesting bans, stop processing
RewriteCond %{HTTP_HOST} ^bans\.team-vipers.com
RewriteRule .* - [L]

# If requesting hlstatsce, stop processing
RewriteCond %{HTTP_HOST} ^stats\.team-vipers.com
RewriteRule .* - [L]

# If requesting fastdownloads, stop processing
RewriteCond %{HTTP_HOST} ^fastdl\.team-vipers.com
RewriteRule .* - [L]

# Didn't Request any subdomains - make it go to www
RewriteCond %{HTTP_HOST} ^team-vipers\.com
RewriteRule ^(.*)$ http://www.team-vipers.com/$1 [R=301,L]
RewriteCond %{REQUEST_URI} !^/(blocked_hosts|gamingservers|forums|piwik_stats|sourcebans|stats)
RewriteRule ^(.*)$ http://www.team-vipers.com/forums/$1 [R=301,QSA,L]
Is this .htaccess file messing stuff up?

I'm curious why client6 displays correctly, but doesn't have an entry in the log.
Reply With Quote