Re: [EMAIL PROTECTED] Url rewrite and Tomcat

2008-09-12 Thread Alessandro Fantuzzi
Eric Covener ha scritto: http://www.my_site.com/folder/1_language/90_Products/126_Product.html you get this error: HTTP Status 404 - /folder/1_language/90_Products/126_Product.html RewriteRule ^/folder/([^/]+)_language/([^/]+)_([^/]+)/([^/]+)_([^/]+)\.html /folder/my_page.jsp?sez=$2&pag=$4 [L]

Re: [EMAIL PROTECTED] Url rewrite and Tomcat

2008-09-11 Thread Eric Covener
> http://www.my_site.com/folder/1_language/90_Products/126_Product.html > you get this error: > > > HTTP Status 404 - /folder/1_language/90_Products/126_Product.html > RewriteRule ^/folder/([^/]+)_language/([^/]+)_([^/]+)/([^/]+)_([^/]+)\.html > /folder/my_page.jsp?sez=$2&pag=$4 [L] [PT] flag? -

[EMAIL PROTECTED] Url rewrite and Tomcat

2008-09-11 Thread Alessandro Fantuzzi
Hi, I work for a web factory. We have many sites made with jsp pages, so we have Apache and Tomcat working together. For these sites we put rules like this in httpd.conf: RewriteRule ^/folder/([^/]+)_language/([^/]+)_([^/]+)/([^/]+)_([^/]+)\.html /folder/my_page.jsp?sez=$2&pag=$4 [R,L] This ru

Re: [EMAIL PROTECTED] url rewrite on userIds

2007-08-18 Thread Suhaib Ahmad
Yes I want to hide the end URL from the user...so that user can only see myUser.domain.com which for server rewritten into domain.com/action?id=myUser On 8/18/07, Vincent Bray <[EMAIL PROTECTED]> wrote: > On 18/08/07, Suhaib Ahmad <[EMAIL PROTECTED]> wrote: > > Hello, > > > > For my website

Re: [EMAIL PROTECTED] url rewrite on userIds

2007-08-18 Thread Morgan Gangwere
On Sun, 2007-08-19 at 01:04 +0700, Vincent Bray wrote: > On 18/08/07, Suhaib Ahmad <[EMAIL PROTECTED]> wrote: > > Hello, > > > > For my website i want to implement url rewriting. I'm unable to create > > a RewriteRule > > > > which when given url: http://myUser.domain.com/ > > convert it to http://

Re: [EMAIL PROTECTED] url rewrite on userIds

2007-08-18 Thread Vincent Bray
On 18/08/07, Suhaib Ahmad <[EMAIL PROTECTED]> wrote: > Hello, > > For my website i want to implement url rewriting. I'm unable to create > a RewriteRule > > which when given url: http://myUser.domain.com/ > convert it to http://www.domain.com/action?id=myUser What is the purpose of altering the ho

Re: [EMAIL PROTECTED] url rewrite on userIds

2007-08-18 Thread Vincent Bray
On 18/08/07, Suhaib Ahmad <[EMAIL PROTECTED]> wrote: > Hello, > > For my website i want to implement url rewriting. I'm unable to create > a RewriteRule > > which when given url: http://myUser.domain.com/ > convert it to http://www.domain.com/action?id=myUser What is the purpose of altering the ho

[EMAIL PROTECTED] url rewrite on userIds

2007-08-18 Thread Suhaib Ahmad
Hello, For my website i want to implement url rewriting. I'm unable to create a RewriteRule which when given url: http://myUser.domain.com/ convert it to http://www.domain.com/action?id=myUser Thanks, Suhaib. - The official Us

Re: [EMAIL PROTECTED] URL Rewrite

2007-08-06 Thread Joshua Slive
On 8/5/07, Sangoi, Nehal (Gexpro, consultant) <[EMAIL PROTECTED]> wrote: > > > Hi > > Is there any way, that mod_rewrite in Apache 2.0 can rewrite the complete > URL to a new domain? > > e.g. > > I have a URL named : > > http://autoproxy.ge.com:4507/jsp/login.jsp > > And, this leads to siteminder a

[EMAIL PROTECTED] URL Rewrite

2007-08-05 Thread Sangoi, Nehal (Gexpro, consultant)
Hi Is there any way, that mod_rewrite in Apache 2.0 can rewrite the complete URL to a new domain? e.g. I have a URL named : http://autoproxy.ge.com:4507/jsp/login.jsp And, this leads to siteminder authentication, comes back and shows a webpage. But, instead of taking to the webpage, I w

Re: [EMAIL PROTECTED] url rewrite to fix ssl issue with aliased domain name

2007-04-12 Thread Joshua Slive
On 4/12/07, Jeffrey Williams <[EMAIL PROTECTED]> wrote: my dns is set up with my domain name cnamed to my webserver e.g. mydomain.com IN CNAME www.myname.com my server is also running a wildcard cert for my domain. Now when people come to the site by following a link for www.mydomain.com, or t

RE: [EMAIL PROTECTED] url rewrite to fix ssl issue with aliased domain name

2007-04-12 Thread Boyle Owen
> -Original Message- > From: Jeffrey Williams [mailto:[EMAIL PROTECTED] > Sent: Thursday, April 12, 2007 11:16 AM > To: [EMAIL PROTECTED] > Subject: [EMAIL PROTECTED] url rewrite to fix ssl issue with > aliased domain name > > my dns is set up with my domain nam

Re: [EMAIL PROTECTED] url rewrite to fix ssl issue with aliased domain name

2007-04-12 Thread Jeffrey Williams
I was under the impression that you can't Redirect match on a requested hostname, you redirect to a explicit hostname, but you can't test for it, for instance Redirect /some/path http://otherhost.mydomain.com/some/path will work, were as Redirect http://mydomain.com/ http://otherhost.mydomain

Re: [EMAIL PROTECTED] url rewrite to fix ssl issue with aliased domain name

2007-04-12 Thread POLONKAI Gergely
Maybe you should use the Redirect or RedirectMatch directive instead of mod_rewrite. It's considered to be faster, I haven't measured yet however. Gergely POLONKAI Jeffrey Williams írta: my dns is set up with my domain name cnamed to my webserver e.g. mydomain.com IN CNAME www.myname.com my

[EMAIL PROTECTED] url rewrite to fix ssl issue with aliased domain name

2007-04-12 Thread Jeffrey Williams
my dns is set up with my domain name cnamed to my webserver e.g. mydomain.com IN CNAME www.myname.com my server is also running a wildcard cert for my domain. Now when people come to the site by following a link for www.mydomain.com, or type www.mydomain.com in the address bar, all is good wi