Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.
For 5.x documentation covering Platform see eZ Documentation Center, for difference between legacy and Platform see 5.x Architecture overview.

PathPrefixExclude

Summary

Sets which virtual URLs not to add the hidden prefix to.

Usage

 

PathPrefixExclude[]=url_alias1
PathPrefixExclude[]=url_alias2
...

Description

This directive tells the system which subtrees' virtual URLs should be unaffected by the "PathPrefix" directive. To add a subtree, specify the auto-generated URL alias of the top node in the most prioritized language.

Examples

Example 1

 

PathPrefixExclude[]
PathPrefixExclude[]=Media
PathPrefixExclude[]=Users
...


Assuming that the default configuration of URL aliases is used, this will tell the system not to add any hidden prefix to virtual URLs that point to user accounts and media content (everything located in the "Users" and "Media" folders). For example, a URL like "www.mysite.com/Media/Images/MyPic" will be handled "as is", regardless of what is specified in the "PathPrefix" directive.

Svitlana Shatokhina (28/03/2008 3:05 pm)

Svitlana Shatokhina (04/04/2008 7:44 am)


Comments

There are no comments.