eZ Community » Forums » Install & configuration » Make virtual URLs from container...
expandshrink

Make virtual URLs from container objects, appear as folders

Make virtual URLs from container objects, appear as folders

Thursday 26 August 2010 5:00:59 am - 2 replies

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

Modified on Thursday 26 August 2010 11:42:16 pm by Russell Michell

Friday 27 August 2010 2:26:20 pm

Url alias handler?
might not work, just thinking out loud.

Wednesday 01 September 2010 11: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?

Thanks
Russ

expandshrink

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

36 542 Users on board!

Forums menu

Proudly Developed with from