// My 000-default DocumentRoot /virtualhosts Options Indexes FollowSymLinks MultiViews AllowOverride All RewriteEngine on RewriteCond %{REQUEST_FILENAME} ^/icons/.*$ RewriteRule .* - [L] RewriteCond %{SERVER_NAME} (\.|^)([^.]+)\.(shoggoth\.|localhost\.|ubuntu\.).+$ [NC] RewriteCond %{DOCUMENT_ROOT}/%2 -d RewriteRule ^/?(.*)$ %{DOCUMENT_ROOT}/%2/www/$1 [L] RewriteRule ^/?(.*)$ %{DOCUMENT_ROOT}/subdomain/www/$1 [L] # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel debug # 5 is the best for debugging, 0 when done with testing... RewriteLogLevel 5 CustomLog /var/log/apache2/access.log combined ErrorLog /var/log/apache2/error.log RewriteLog /var/log/apache2/rewrite.log ServerSignature On ServerAdmin someone@example.com //my .htaccess RewriteEngine on RewriteRule /.* index.php php_flag magic_quotes_gpc off php_flag register_globals off // error.log [Wed Mar 05 01:17:47 2008] [error] [client 72.193.159.180] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace. [Wed Mar 05 01:17:47 2008] [debug] core.c(3046): [client 72.193.159.180] r->uri = /shoggoth2/www/index.php [Wed Mar 05 01:17:47 2008] [debug] core.c(3052): [client 72.193.159.180] redirected from r->uri = /shoggoth2/www/index.php [Wed Mar 05 01:17:47 2008] [debug] core.c(3052): [client 72.193.159.180] redirected from r->uri = /shoggoth2/www/index.php [Wed Mar 05 01:17:47 2008] [debug] core.c(3052): [client 72.193.159.180] redirected from r->uri = /shoggoth2/www/index.php [Wed Mar 05 01:17:47 2008] [debug] core.c(3052): [client 72.193.159.180] redirected from r->uri = /shoggoth2/www/index.php [Wed Mar 05 01:17:47 2008] [debug] core.c(3052): [client 72.193.159.180] redirected from r->uri = /shoggoth2/www/index.php [Wed Mar 05 01:17:47 2008] [debug] core.c(3052): [client 72.193.159.180] redirected from r->uri = /shoggoth2/www/index.php [Wed Mar 05 01:17:47 2008] [debug] core.c(3052): [client 72.193.159.180] redirected from r->uri = /shoggoth2/www/index.php [Wed Mar 05 01:17:47 2008] [debug] core.c(3052): [client 72.193.159.180] redirected from r->uri = /shoggoth2/www/index.php [Wed Mar 05 01:17:47 2008] [debug] core.c(3052): [client 72.193.159.180] redirected from r->uri = /shoggoth2/www/index.php [Wed Mar 05 01:17:47 2008] [debug] core.c(3052): [client 72.193.159.180] redirected from r->uri = /javascript/images/id/0