Wednesday 07 September 2005 5:24:06 am
Hi I've got Apache 2 installed, eZ publish 3.6.1. I've set up eZ with static caching in the httpd.conf successfully, but now I wanted to transfer it into a .htaccess file since I don't have access to the httpd.conf on the server. I've tried a huge amount of configurations, none would like to work. How do I have to modify the conditions and rules in order to get it work?
I have the following httpd.conf (virtual host section for the site):
RewriteCond d:/dir/to/ez/static/de/index.html -f
RewriteRule ^/$ /static/de/index.html [L]
RewriteCond d:/dir/to/ez/static/de/index.html -f RewriteRule ^$ /static/de/index.html [L]
RewriteCond d:/dir/to/ez/static/en/index.html -f
RewriteRule ^/$ /static/en/index.html [L]
RewriteCond d:/dir/to/ez/static/en/index.html -f RewriteRule ^$ /static/en/index.html [L]
RewriteCond %{REQUEST_METHOD} !^POST$
RewriteCond d:/dir/to/ez/static$1/index.html -f RewriteRule ^(.*)$ /static$1/index.html [L] RewriteRule !\.(gif|css|jpg|png|jar|ico|js)$ /index.php These rules work fine in the httpd.conf. But I don't get them to work in my .htaccess file.
Has anybody an idea what to do?
Thanks for any hint. Chris
|