-
-
2. Re: seam + urlRewrite
vwiencek Mar 10, 2008 5:00 PM (in response to vwiencek)Because the URLRewrite documentation does not highlight this capability ....
So I guess I'm going to investigate this subject, and then post the reply to my own question...
This post looks like Socratic Dialectic ... :) I like it !
-
3. Re: seam + urlRewrite
jimk1723 Mar 10, 2008 7:38 PM (in response to vwiencek)Would something like this work? (lifted from the examples...)
<rule> <name>Domain Name Check</name> <condition name="host" operator="equal">myaction.example.com</condition> <from>(.*)</from> <to type="redirect">http://example.com/myaction$1</to> </rule>
Or are you looking for a generic rule that will cover all subdomains?
-
4. Re: seam + urlRewrite
vwiencek Mar 10, 2008 10:17 PM (in response to vwiencek)You think right !!
First aof all, thank you for your reply.
As fas as I understand, URLRewrite (tuckey) is a java adapted version of mod rewrite, and then does not contain every features of the original version.But yes, I would be able to redirect every
myValue.domain.com to domain.com/myValue
That would allow me to use dns redirections like
mysite1.com to mysite1.domain.com
mysite2.com to mysite2.domain.com
Thank you