Url Rewriting

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Url Rewriting

Eren Erdemli
Hi All,

I am trying to work out how can I handle the current situation at Sling,


Mapped www.example.com to (/etc/map/...)


Actual Resource resides at (assuming user name is apache)


which works fine at


But I want to rewrite it as


I have tried to use PathBasedResourceDecorator

by first checking whether the resource is nonexisting

and returned the mapped resource but couldnt apply .html selector to
fetched resource (sightly rendering) ,

Is there and other/recommended way of doing  this?

Whats are the disadvantages of using this

Thanks in Advance