Re: [us...@httpd] Redirect question

2010-05-07 Thread John . C . Kennedy
Igor Cicimov wrote on 05/07/2010 01:39:59 AM: > Igor Cicimov > 05/07/2010 01:39 AM > > Please respond to > users@httpd.apache.org > > To > > users@httpd.apache.org > > cc > > Subject > > Re: [us...@httpd] Redirect question

Re: [us...@httpd] Redirect question

2010-05-06 Thread Igor Cicimov
Another possible solution I can think of: NameVirtualHost 1.2.3.4:80 # Virtual host that will collect all the request not hitting # the main virtual host (including application.example.com one) # and redirect them to server.example.com/application DocumentRoot /usr/local/apache2

Re: [us...@httpd] Redirect question

2010-05-06 Thread Igor Cicimov
What happens if you try NameVirtualHost 1.2.3.4:80 ServerName server.example.com ServerAlias application.example.com RewriteEngine On RewriteCond %{HTTP_HOST} ^application.example.com$ Redirect permanent / http://server.example.com/application if Redirect command doesn't work you can try Rewr

Re: [us...@httpd] Redirect question

2010-05-06 Thread John . C . Kennedy
> > I get the same looping result. (I shortened application to app because > I am too lazy to type all that!): > The requested URL > /appappappappappappappappappappappappappappappappappappappappapp was > not found on this server. Did you remove any other Redirect rules in your VirtualHost conta

Re: [us...@httpd] Redirect question

2010-05-05 Thread Doug McNutt
>DNS resolves the "server" and "application" hostnames correctly. If I go to: >http://application/application >I get the correct page. What I want is for >http://application >to redirect me to >http://application/a

Re: [us...@httpd] Redirect question

2010-05-05 Thread Justin Pasher
- Original Message - From: john.c.kenn...@ldhenergy.com Date: Wed, 5 May 2010 17:52:39 -0400 Subject: Re: [us...@httpd] Redirect question To: users@httpd.apache.org ServerName server ServerAlias application RewriteEngine On RewriteCond %{HTTP_HOST} ^application$ [NC

Re: [us...@httpd] Redirect question

2010-05-05 Thread John . C . Kennedy
- Original Message - > From: john.c.kenn...@ldhenergy.com > Date: Wed, 5 May 2010 16:46:34 -0400 > Subject: [us...@httpd] Redirect question > To: users@httpd.apache.org > > > My user wants me to set up so that > http://application > will redirect to: > http://server/a

Re: [us...@httpd] Redirect question

2010-05-05 Thread Justin Pasher
- Original Message - From: john.c.kenn...@ldhenergy.com Date: Wed, 5 May 2010 16:46:34 -0400 Subject: [us...@httpd] Redirect question To: users@httpd.apache.org My user wants me to set up so that http://application will redirect to: http://server/application How

Re: [us...@httpd] Redirect question

2010-05-05 Thread John . C . Kennedy
At 16:46 -0400 5/5/10, john.c.kenn...@ldhenergy.com wrote: I have an application running on a server at: http://server/application My user wants me to set up so that http://application will redirect to: http://server/application I have DNS set up and now if I go to: http://application/application

RE: [us...@httpd] Redirect question

2010-05-05 Thread John . C . Kennedy
Priya, I tried: Redirect permanent /index.jsp http://server/app/index.jsp and definitely got the loop you are referring to. The URL came out as: http://server/appappappappappappappappappappappappappappapp I also tried the following with the same result: Redirect permanent / http://server/app/inde

Re: [us...@httpd] Redirect question

2010-05-05 Thread Doug McNutt
At 16:46 -0400 5/5/10, john.c.kenn...@ldhenergy.com wrote: I have an application running on a server at: http://server/application My user wants me to set up so that http://application will redirect to: http://server/applic

RE: [us...@httpd] Redirect question

2010-05-05 Thread Priya Vadlakonda (Contractor)
And I assume you cleared cache / enabled cookies to make sure this isn't caused by firefox itself. From: Priya Vadlakonda (Contractor) [mailto:priya.vadlako...@ucop.edu] Sent: Wednesday, May 05, 2010 2:02 PM To: users@httpd.apache.org Subject: RE: [us...@httpd] Redirect question I

RE: [us...@httpd] Redirect question

2010-05-05 Thread Priya Vadlakonda (Contractor)
I think the redirect rule entered into a loop and unable to process Did you try Redirect permanent /application http://server/application Does /application internally call any JSP before loading the page? For eg: in or env, we have a /*, that internally calls a index.jsp and then i