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 <http://application/> >

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 <http://application/> will redirect to: http://server/application

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 From: john.c.kenn...@ldhenergy.com [mailto:john.c.kenn...@ldhenergy.com] Sent: Wednesday, May 05, 2010 1:47 PM To: users@httpd.apache.org Subject: [us...@httpd] Redirect question I have checked the archives since I am sure this has been asked before but can not find an answer. I have

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)
index.jsp internally calls login.jsp I had to say Redirect /*/loginjsp https://example.com to make it work. Thanks Priya From: john.c.kenn...@ldhenergy.com [mailto:john.c.kenn...@ldhenergy.com] Sent: Wednesday, May 05, 2010 1:47 PM To: users@httpd.apache.org Subject: [us...@httpd

[us...@httpd] Redirect question

2010-05-05 Thread John . C . Kennedy
I have checked the archives since I am sure this has been asked before but can not find an answer. 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