ich habe schon in einem anderen Forum zu diesem Problem gepostet, aber wahrscheinlich ist das so speziell, dass ich dort keine Antworten erhalte, deswegen probiere ich es hier noch einmal. Folgendes Szenario
Debian Etch, Apache2 (u. a. mod_Rewrite und mod_vhost_alias), PHP5, SuExec, MySQL.
Das Problem ist, dass sich mod_rewrite irgendwie nicht mit vhost_alias zu vertragen scheint, denn in dieser Verbindung funktioniert meine RewriteRule nicht.
Erst mal der vhost:
Code: Select all
<VirtualHost x.x.x.x>
ServerName www.domain.tld
ServerAlias *.domain.tld
UseCanonicalName off
VirtualDocumentRoot /var/www/vhosts/%2+/web/htdocs/%1/htdocs
SuexecUserGroup user user
AddHandler fcgid-script .php
<Directory /var/www/vhosts/domain.tld/web/htdocs>
Options +ExecCGI FollowSymLinks
AllowOverride All
FCGIWrapper /var/www/vhosts/domain.tld/php-fcgi/php-fcgi-starter .php
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/www/vhosts/domain.tld/log/error.log
CustomLog /var/www/vhosts/domain.tld/log/access.log combined
LogLevel debug
RewriteLog /var/www/vhosts/domain.tld/log/rewrite.log
RewriteLogLevel 3
</VirtualHost>Code: Select all
RewriteEngine on
RewriteRule !.(js|ico|gif|jpg|png|css|swf|html|xml|htm)$ index.phperror.log:
Code: Select all
[Thu Mar 12 18:48:18 2009] [debug] core.c(3033): [client y.y.y.y] redirected from r->uri = /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
[Thu Mar 12 18:48:18 2009] [debug] core.c(3033): [client y.y.y.y] redirected from r->uri = /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
[Thu Mar 12 18:48:18 2009] [debug] core.c(3033): [client y.y.y.y] redirected from r->uri = /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
[Thu Mar 12 18:48:18 2009] [debug] core.c(3033): [client y.y.y.y] redirected from r->uri = /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
[Thu Mar 12 18:48:18 2009] [debug] core.c(3033): [client y.y.y.y] redirected from r->uri = /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
[Thu Mar 12 18:48:18 2009] [debug] core.c(3033): [client y.y.y.y] redirected from r->uri = /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
[Thu Mar 12 18:48:18 2009] [debug] core.c(3033): [client y.y.y.y] redirected from r->uri = /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
[Thu Mar 12 18:48:18 2009] [debug] core.c(3033): [client y.y.y.y] redirected from r->uri = /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
[Thu Mar 12 18:48:18 2009] [debug] core.c(3033): [client y.y.y.y] redirected from r->uri = /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
[Thu Mar 12 18:48:18 2009] [debug] core.c(3033): [client y.y.y.y] redirected from r->uri = /Code: Select all
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#9244920/initial] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] strip per-dir prefix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/ ->
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#9244920/initial] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] applying pattern '.(js|ico|gif|jpg|png|css|swf|html|xml|htm)$' to uri ''
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#9244920/initial] (2) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] rewrite '' -> 'index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#9244920/initial] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add per-dir prefix: index.php -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#9244920/initial] (1) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] internal redirect with /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php [INTERNAL REDIRECT]
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92195c0/initial/redir#1] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add path info postfix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92195c0/initial/redir#1] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] strip per-dir prefix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php -> var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92195c0/initial/redir#1] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] applying pattern '.(js|ico|gif|jpg|png|css|swf|html|xml|htm)$' to uri 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92195c0/initial/redir#1] (2) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] rewrite 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php' -> 'index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92195c0/initial/redir#1] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add per-dir prefix: index.php -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92195c0/initial/redir#1] (1) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] internal redirect with /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php [INTERNAL REDIRECT]
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92156e0/initial/redir#2] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add path info postfix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92156e0/initial/redir#2] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] strip per-dir prefix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php -> var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92156e0/initial/redir#2] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] applying pattern '.(js|ico|gif|jpg|png|css|swf|html|xml|htm)$' to uri 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92156e0/initial/redir#2] (2) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] rewrite 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php' -> 'index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92156e0/initial/redir#2] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add per-dir prefix: index.php -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92156e0/initial/redir#2] (1) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] internal redirect with /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php [INTERNAL REDIRECT]
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#9211538/initial/redir#3] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add path info postfix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#9211538/initial/redir#3] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] strip per-dir prefix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php -> var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#9211538/initial/redir#3] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] applying pattern '.(js|ico|gif|jpg|png|css|swf|html|xml|htm)$' to uri 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#9211538/initial/redir#3] (2) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] rewrite 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php' -> 'index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#9211538/initial/redir#3] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add per-dir prefix: index.php -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#9211538/initial/redir#3] (1) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] internal redirect with /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php [INTERNAL REDIRECT]
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#921a490/initial/redir#4] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add path info postfix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#921a490/initial/redir#4] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] strip per-dir prefix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php -> var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#921a490/initial/redir#4] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] applying pattern '.(js|ico|gif|jpg|png|css|swf|html|xml|htm)$' to uri 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#921a490/initial/redir#4] (2) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] rewrite 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php' -> 'index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#921a490/initial/redir#4] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add per-dir prefix: index.php -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#921a490/initial/redir#4] (1) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] internal redirect with /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php [INTERNAL REDIRECT]
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#921c3a8/initial/redir#5] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add path info postfix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#921c3a8/initial/redir#5] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] strip per-dir prefix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php -> var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#921c3a8/initial/redir#5] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] applying pattern '.(js|ico|gif|jpg|png|css|swf|html|xml|htm)$' to uri 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#921c3a8/initial/redir#5] (2) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] rewrite 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php' -> 'index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#921c3a8/initial/redir#5] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add per-dir prefix: index.php -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#921c3a8/initial/redir#5] (1) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] internal redirect with /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php [INTERNAL REDIRECT]
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92474e8/initial/redir#6] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add path info postfix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92474e8/initial/redir#6] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] strip per-dir prefix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php -> var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92474e8/initial/redir#6] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] applying pattern '.(js|ico|gif|jpg|png|css|swf|html|xml|htm)$' to uri 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92474e8/initial/redir#6] (2) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] rewrite 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php' -> 'index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92474e8/initial/redir#6] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add per-dir prefix: index.php -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92474e8/initial/redir#6] (1) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] internal redirect with /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php [INTERNAL REDIRECT]
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92494f0/initial/redir#7] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add path info postfix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92494f0/initial/redir#7] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] strip per-dir prefix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php -> var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92494f0/initial/redir#7] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] applying pattern '.(js|ico|gif|jpg|png|css|swf|html|xml|htm)$' to uri 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92494f0/initial/redir#7] (2) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] rewrite 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php' -> 'index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92494f0/initial/redir#7] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add per-dir prefix: index.php -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#92494f0/initial/redir#7] (1) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] internal redirect with /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php [INTERNAL REDIRECT]
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924b4f8/initial/redir#8] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add path info postfix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924b4f8/initial/redir#8] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] strip per-dir prefix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php -> var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924b4f8/initial/redir#8] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] applying pattern '.(js|ico|gif|jpg|png|css|swf|html|xml|htm)$' to uri 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924b4f8/initial/redir#8] (2) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] rewrite 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php' -> 'index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924b4f8/initial/redir#8] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add per-dir prefix: index.php -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924b4f8/initial/redir#8] (1) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] internal redirect with /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php [INTERNAL REDIRECT]
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924d500/initial/redir#9] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add path info postfix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924d500/initial/redir#9] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] strip per-dir prefix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php -> var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924d500/initial/redir#9] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] applying pattern '.(js|ico|gif|jpg|png|css|swf|html|xml|htm)$' to uri 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924d500/initial/redir#9] (2) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] rewrite 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php' -> 'index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924d500/initial/redir#9] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add per-dir prefix: index.php -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924d500/initial/redir#9] (1) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] internal redirect with /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php [INTERNAL REDIRECT]
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924f508/initial/redir#10] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add path info postfix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924f508/initial/redir#10] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] strip per-dir prefix: /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php -> var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924f508/initial/redir#10] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] applying pattern '.(js|ico|gif|jpg|png|css|swf|html|xml|htm)$' to uri 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924f508/initial/redir#10] (2) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] rewrite 'var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php' -> 'index.php'
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924f508/initial/redir#10] (3) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] add per-dir prefix: index.php -> /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php
y.y.y.y - - [12/Mar/2009:18:58:49 +0100] [test.domain.tld/sid#918ee58][rid#924f508/initial/redir#10] (1) [perdir /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/] internal redirect with /var/www/vhosts/domain.tld/web/htdocs/test/htdocs/index.php [INTERNAL REDIRECT]Unter Windows und xampp funktioniert die Regel einwandfrei, hier jedoch wie beschrieben nicht - Es kommt lediglich durch zu viele interne Redirects zu einem Serverfehler..
Ich habe schon überall nach Problemen zwischen vhost_alias und mod_rewrite gesucht und es scheint das Problem auch zu geben, aber ich habe keine Lösung gefunden..