rewrite thru http:// in previous post makes not neccessary overhead, better one will be rewrite on filesystem:
RewriteRule ^/(.*)$ /var/www/www.%2/user/%2_%1/web/$1 [L]
it should be nice to have it in /etc/httpd/conf/vhosts/Vhosts_ispconfig.conf
AliasMatch ^/~([^/]+)(/(.*))? /var/www/webXX/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /var/www/webXX/user/$1/web/$3
(btw: what are this aliases for?)
Is it possible to put it somewhere in the code to create rewrite automatically for each VirtualHost?
Last edited by radim_h; 12th May 2007 at 19:55.