Virtual host setup
This Documentation for all 5.x versions can be found on the following links:
- Virtual host setup on Exponential 5.x
- Virtual host setup on Exponential 5.1
- Virtual host setup on Exponential 5.0
Please refer to the link above to access the virtual host configurations.
In this section
Contributors
- Geir Arne Waaler
- Ricardo Correia Updated Maintainer
- André Rømcke Maintainer
- Andrea Melo Maintainer
- Bertrand Dunogier Maintainer
- Mahmoud Abu-Wardeh Commenter
Comments (2 historical)
Written by readers of the earlier documentation sites, kept as they were.
Mistake in last rewrite rule
Mahmoud Abu-Wardeh ·
When I tried the rewrite rules above, Apache (2.0.54) complained with "mod_rewrite: maximum number of internal redirects reached", resulting in a 500 error.
The solution is that the last rewrite rule should read:
RewriteRule .* index.php # no leading slash
See http://www.sitepoint.com/print/mod_rewrite-no-endless-loops for an explanation.
By the way, this VirtualHost setup is quite differet to those in the .htaccess_root file that shops with ez Publish 3.7.2 - would you recommend a selective merge of the two or to stick to this example?
RE: Mistake in last rewrite rule
André R. ·
Not correct, I suspect you are talking about .htaccess.
These pages does not cover .htaccess, but vhost settings.