Rewrite URL

Sep 19, 2009 at 8:32 AM

Not sure if I'm asking something that makes sense...


Have CMS where a path looks like http://myserver.mydomain.com/index.php/dept

I also have the DNS http://dept.mydomain.com  pointing to the same server.

1.  Can I rewrite the URL so that http://dept.mydomain.com/anyfolder points to http://myserver.mydomain.com/index.php/dept/anyfolder ?

2. Can I maintain http://dept.mydomain.com in the URL field of the browser, while actually the IIS server is serving content from  http://myserver.mydomain.com/index.php/dept?

Coordinator
Sep 19, 2009 at 3:55 PM

yes, check the documentation, there are good examples of doing what you want.