Forums / Developer / URL rewrite for module [solved]

URL rewrite for module [solved]

Author Message

Hugh Tebby

Friday 09 October 2009 9:06:41 am

Hi,

I've run into a probleme with Ez Publish URL rewriting.

I have a module that basically generated a .xml file. I can access the xml file through the url: http://mysite.com/mymodule/myscript

What I want to do is be able to access the xml file using the following url: http://mysite.com/myscript.xml

So basically it's a url rewrite, but I can't get it to work using apache url rewrites.

How would this rewrite have to be done ?

Thanks.
Hugh

Peter Keung

Friday 09 October 2009 9:22:14 am

Have you tried Setup > URL translator in the Administration Interface?

http://www.mugo.ca
Mugo Web, eZ Partner in Vancouver, Canada

Hugh Tebby

Monday 12 October 2009 12:23:10 am

Ok thanks the url translator works fine !