Webdav : Rewriting Rules conflicts : Error 500

Webdav : Rewriting Rules conflicts : Error 500

Thursday 07 August 2008 4:36:09 am - 1 reply

Modified on Thursday 07 August 2008 11:23:19 pm by H-Works Agency

Author Message

Andrew Duck

Wednesday 17 September 2008 12:20:51 pm

Martin,

Personally I would move all your rewrite rules to simplify your setup. According to your apache conf above "AllowOverride None" should disable the use of .htaccess for the ezpublish folder in any case. Disabling .htaccess will provide performance increases.

Try this in your apache conf...

<Directory /home/user/publish_html/ezpublish>
   Options FollowSymLinks Indexes ExecCGI
   AllowOverride None
</Directory>
 
ServerName webdav.hworks-agency.com
DocumentRoot /home/user/public_html/ezpublish
RewriteEngine On
 
RewriteCond %{HTTP_HOST} ^webdav\..*
RewriteRule ^(.*) /webdav.php [L]
 
RewriteRule content/treemenu/?$ index_treemenu.php
RewriteRule index_treemenu.php - [L]
 
RewriteRule !\.(ico|swf|flv|gif|jpe?g|png|css|js|html)|var(.+)storage.pdf(.+)\.pdf$ index.php
 
DirectoryIndex index.php

Please note I removed Rewriterule . /webdav.php

Let me know if that helps you out at all.

Regards,
Andrew.

Andrew Duck, Executive Director, Quiqcorp Limited
eZ Certified Developer and Trainer.
Member of the Community Project Board
http://quiqcorp.com | http://twitter.com/andrewduck

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.