Quote:
|
I don't know why ISPCONFIG changed this.
|
We had "the new one" as default in ispconfig 3 from the beginning. Then we changed it to the code that you named "the previous one" and after this change the rewriting failed on almost all installed systems so we had to revert back to the code to "the new one".
I also checked the apache documentation and the code "the new one" is the correct one. So thats not the source of the problem.
We will have to find yout why this code does not work on your server. Please try to put the rewrite code part into a directory directive:
<Directory /home/clients/client0/web12/web/>
RewriteEngine on
RewriteCond %{HTTP_HOST} ^media.domain.com [NC]
RewriteRule ^/(.*)$ /media/$1 [L]
RewriteCond %{HTTP_HOST} ^domain2.com [NC]
RewriteRule ^/(.*)$ http://www.domain.com$1 [R]
RewriteCond %{HTTP_HOST} ^mrtg.domain.com [NC]
RewriteRule ^/(.*)$ /munin/$1 [L]
</Directory>
Recent comments
2 hours 24 min ago
3 hours 24 min ago
7 hours 11 min ago
8 hours 25 min ago
12 hours 1 min ago
19 hours 16 min ago
1 day 4 hours ago
1 day 5 hours ago
1 day 20 hours ago
1 day 23 hours ago