Friday 12 August 2005 7:36:05 am
If you have access to the settings for your virtual host, you need to set it up as follows:
<VirtualHost *>
DocumentRoot /path/to/ezpublish
ServerName test.ez.local
<Directory /path/to/ezpublish>
Options FollowSymLinks Indexes ExecCGI
AllowOverride None
</Directory>
RewriteEngine On
RewriteRule !\.(js|gif|css|jpg|png)$ /path/to/ezpublish/index.php </VirtualHost> The most important lines in this code are the rewrite statements at the end. If you have already a working virtualhost configuration, just add these two lines to it, rather than copying this whole setup. If you are able to override the settings for mod_rewrite in your htaccess files (check with your hosting provider), you can place a file called .htaccess containing the following lines in the root of your installation. This is the default name and what 99% of hosting providers use, but it pays to check first!
RewriteEngine On RewriteRule !\.(js|gif|css|jpg|png)$ /path/to/ezpublish/index.php
|