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

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
[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:

#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\
RewriteRule .* - [L]

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

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

# Didn't Request any subdomains - make it go to www
RewriteCond %{HTTP_HOST} ^team-vipers\.com
RewriteRule ^(.*)$$1 [R=301,L]
RewriteCond %{REQUEST_URI} !^/(blocked_hosts|gamingservers|forums|piwik_stats|sourcebans|stats)
RewriteRule ^(.*)$$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