Disable index.php redirection for a folder

Author Message

Damien MARTIN

Thursday 25 March 2010 3:01:09 am

Hi there,

I need to authorize the access to a folder that is set inside of ezpublish.
But as you know, eZ redirect all requests to index.php .

So, for the "foo" folder at the root of eZ publish, I want to make it accessible with : www.mysite.tld/foo

How should I do ?

I suppose I have to modify .htaccess but I don't know how.

Could someone help me ?

Nicolas Pastorino

Thursday 25 March 2010 8:38:53 am

Hello Damien,

You will need to play with your web server's configuration. Here are hints on how to do it with Apache :

RewriteEngine On
RewriteRule ^/foo/.* - [L]

The lines above must be embedded in a VirtualHost definition if i remember correctly.

Let us know if that works correctly,
Cheers,

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

Damien MARTIN

Friday 26 March 2010 1:01:24 am

I tryed, and I approve !

Thank you Nicolas :)

Nicolas Pastorino

Friday 26 March 2010 2:02:32 am

Anytime :)

--
Nicolas Pastorino
Director Community - eZ
Member of the Community Project Board

eZ Publish Community on twitter: http://twitter.com/ezcommunity

t : http://twitter.com/jeanvoye
G+ : http://plus.tl/jeanvoye

anny sharing

Tuesday 11 January 2011 1:13:31 am

Thank you for your post! Nicolas Pastorino

I google search and find some php redirection scripts listed on the page!

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