Forums / Install & configuration / Make virtual URLs from container objects, appear as folders
Russell Michell
Wednesday 25 August 2010 8:00:59 pm
Hi folks,
I would like to make the virtual URLs that eZ produces from my various 'container' classes like 'folder' for example, end in a trailing slash "/".
At the moment, all URLs, wether they are container classes or not, all look the same. I have eZ 4.1.3 on Linux.
I thought about using mod_rewrite rules that added a slash based on wether a header was sent by eZ whenever the current object was a 'folder'. I couldn't find a way of "injecting" the header from the applicaton into Apache using apache_setenv() or putenv() but neither worked.
Any ideas?
Thanks a lot for your time,Russell
Russell Michell, Wellington, New Zealand. We're building! http://www.theruss.com/blog/ I'm on Twitter: http://twitter.com/therussdotcom Believe nothing, consider everything.
André R.
Friday 27 August 2010 5:26:20 am
Url alias handler?might not work, just thinking out loud.
eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription @: http://twitter.com/andrerom
Wednesday 01 September 2010 2:10:59 pm
Thank you André,
This tip actually helped with something else I was having probs with so thanks! But appending a trailing slash, two railing slashes and even appending an escaped trailing slash to the "URL alias name pattern" field, didn't work when creating new container objects.
Any other ideas?
ThanksRuss