|Posted: 11 March 2008 at 2:16am
Thanks for your quick help. The first point works fine althought I don't understand the syntax.
i hade tried : RewriteRule . /main.asp , this worked too but it looks too simple, probably this was not right
About the second point with images:
I would like to build a CMS for multiple domains but all will be listened by one only single "website" into IIS6.0. So I will not use what they call "header translation"
The problem is thus that the images folder would be mixed for all domains, which i cannot accept.
Exemple: 2 url
<img src="/images/logo.jpg"> this is written into a asp page for exemple at http://www.domain1.be/blabla.asp (that is now perfectly rewritte)
and : <img src="/images/logo.jpg"> but this is written into http://www.domain2.be/blabla.asp
So I try to have a uri transformation on the fly in order to point to different respectives folders
in this case : the first should fetch "/images/www.domain1.be/logo.jpg" and the second should fetch "/images/www.domain3.be/logo.jpg"
So images will not be mixed between domains, and my users using the cms will have a tool to manage their images folder witjout seeing others users images.
I speak here about images but this need to work also for other "resource" : favicon (different per domain), flash objects, ...
I don't know if it is clear enought, english is not my motherlanguage.
Thanks for your help.