Re: [EMAIL PROTECTED] Redirect/ReWrite config for multiple domains to different pages

2008-10-15 Thread Brian Mearns
If customer1's_domain.com and customer2's_comain.com are DNS entries to your server, then your solution can be found in VirtualHosts. This setup allows you to use different configurations depending on the hostname the client the provides when they connect. In this case, you can just set up the appr

[EMAIL PROTECTED] Redirect/ReWrite config for multiple domains to different pages

2008-10-15 Thread Paul Robson
Having read the Apache and mod_ReWrite docs I can't see how to setup the below secienario and Google searches are fruitless as I'm not quite sure exactly what to search for. I have a web application which allows many customers to access it without knowing about each other by suppling their id in th

Re: [EMAIL PROTECTED] redirect issue

2008-10-12 Thread Yoom Nguyen
: [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Sunday, October 12, 2008 6:49:24 PM (GMT-0500) America/New_York Subject: Re: [EMAIL PROTECTED] redirect issue On 10/11/08, Yoom Nguyen <[EMAIL PROTECTED]> wrote: > It doesn't work for me. I am not quite sure what the problem is. Here i

Re: [EMAIL PROTECTED] redirect issue

2008-10-12 Thread solprovider
On 10/11/08, Yoom Nguyen <[EMAIL PROTECTED]> wrote: > It doesn't work for me. I am not quite sure what the problem is. Here is > the error again. > > Syntax error on line 25 of /etc/apache2/vhosts.d/corp-yast2_vhost.conf: > Redirect takes two or three arguments, an optional status, then docume

Re: [EMAIL PROTECTED] redirect issue

2008-10-12 Thread Yoom Nguyen
r 9, 2008 8:54:15 AM (GMT-0500) America/New_York Subject: Re: [EMAIL PROTECTED] redirect issue Justin, Thank you so much for look into my issue. Yes, I got an error when I try to restart apache. This is what it said. "Syntax error on line 25 of /etc/apache2/vhosts.d/vipcorpinuat-yast2_

Re: [EMAIL PROTECTED] redirect issue

2008-10-09 Thread Yoom Nguyen
again, Y - Original Message - From: "Justin Pasher" <[EMAIL PROTECTED]> To: users@httpd.apache.org Sent: Thursday, October 9, 2008 5:00:12 PM (GMT-0500) America/New_York Subject: Re: [EMAIL PROTECTED] redirect issue Yoom Nguyen wrote: > Greetings, > > Could s

Re: [EMAIL PROTECTED] redirect issue

2008-10-09 Thread Justin Pasher
Yoom Nguyen wrote: Greetings, Could some one tell me what is the correct Redirect syntax and RewriteCond to get the following requirements to work? This is what I currently have and it complaining. I am running SuSe 10. RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) Rewri

[EMAIL PROTECTED] redirect issue

2008-10-08 Thread Yoom Nguyen
Greetings, Could some one tell me what is the correct Redirect syntax and RewriteCond to get the following requirements to work? This is what I currently have and it complaining. I am running SuSe 10. RewriteEngine on RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK) RewriteRule .* -[F] Redire

Re: [EMAIL PROTECTED] redirect with query string

2008-09-03 Thread Krist van Besien
On Tue, Sep 2, 2008 at 22:39, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi Stephen, > > I have to rewrite the full URL. > > If I go to: http://www.domain.com/abc/def/abcd.asp?abc=123&def=456&ghi=135 > I have to be redirected to: > http://www.domain.com/xzy/uvw/abc/xyz.asp?cba=000&zyx=111 Re

Re: [EMAIL PROTECTED] redirect with query string

2008-09-02 Thread Peter Milanese
>- Original Message >From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> >To: users@httpd.apache.org >Sent: Tuesday, September 2, 2008 4:39:22 PM >Subject: Re: [EMAIL PROTECTED] redirect with query string > >Hi Stephen, > >I have to rewrite the ful

Re: [EMAIL PROTECTED] redirect with query string

2008-09-02 Thread [EMAIL PROTECTED]
gton <[EMAIL PROTECTED]> Para: users@httpd.apache.org Enviado: martes 2 de septiembre de 2008, 16:31:25 Asunto: Re: [EMAIL PROTECTED] redirect with query string On 9/2/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I have a redirect problem, I already googled it

Re: [EMAIL PROTECTED] redirect with query string

2008-09-02 Thread Eric Covener
On Tue, Sep 2, 2008 at 4:13 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have this URL: > http://www.domain.com/abc/def/abcd.asp?abc=123&def=456&ghi=135 > > I have to redirect the requests to: > http://www.domain.com/xzy/uvw/abc/xyz.asp?cba=000&zyx=111 > > Anybody knows how to do it? Ca

Re: [EMAIL PROTECTED] redirect with query string

2008-09-02 Thread Stephen Wellington
On 9/2/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hi, > > I have a redirect problem, I already googled it and I cannot find how to do > it. > > What I have to do is: > > I have this URL: > http://www.domain.com/abc/def/abcd.asp?abc=123&def=456&ghi=135 > > I have to redirect the reques

[EMAIL PROTECTED] redirect with query string

2008-09-02 Thread [EMAIL PROTECTED]
Hi, I have a redirect problem, I already googled it and I cannot find how to do it. What I have to do is: I have this URL: http://www.domain.com/abc/def/abcd.asp?abc=123&def=456&ghi=135 I have to redirect the requests to: http://www.domain.com/xzy/uvw/abc/xyz.asp?cba=000&zyx=111 Anybody knows

Re: [Fwd: [EMAIL PROTECTED] Redirect URL with arguments]

2008-07-02 Thread Sylvain Viollat
Hi Severin thanks for your answer, but I'm still getting arguments in the URL when redirect is done. Unfortunately I'm not that good at mod_rewrite... Sylvain Severin Gehwolf wrote: Hi! thaznks for your answer. I've try to use : RedirectMatch /.* http://www.mydomain.com Unfortunately, I'

Re: [Fwd: [EMAIL PROTECTED] Redirect URL with arguments]

2008-07-02 Thread Severin Gehwolf
Hi! > thaznks for your answer. I've try to use : > > RedirectMatch /.* http://www.mydomain.com > > Unfortunately, I'm still getting redirect with the arguments I pass in > the URL. How about using RewriteRule (mod_rewrite) like the following: RewriteEngine On RewriteRule ^/.*$ http://www.your

Re: [Fwd: [EMAIL PROTECTED] Redirect URL with arguments]

2008-07-02 Thread Sylvain Viollat
Hi Matus, thaznks for your answer. I've try to use : RedirectMatch /.* http://www.mydomain.com Unfortunately, I'm still getting redirect with the arguments I pass in the URL. Thanks, Matus UHLAR - fantomas wrote: On 30.06.08 14:29, Sylvain Viollat wrote: Thanks for your answer. I've try t

Re: [Fwd: [EMAIL PROTECTED] Redirect URL with arguments]

2008-07-01 Thread Matus UHLAR - fantomas
On 30.06.08 14:29, Sylvain Viollat wrote: > Thanks for your answer. I've try to use Redirect instead of > RedirectMatch but result is the same. I'm still getting redirect with > the end of the URL. > >>RedirectMatch permanent / http://www.mydomain.com > >> > >>The problem is that all queries whi

Re: [Fwd: [EMAIL PROTECTED] Redirect URL with arguments]

2008-06-30 Thread Sylvain Viollat
Thanks for your answer. I've try to use Redirect instead of RedirectMatch but result is the same. I'm still getting redirect with the end of the URL. Eric Covener wrote: On Mon, Jun 30, 2008 at 4:46 AM, Sylvain Viollat <[EMAIL PROTECTED]> wrote: RedirectMatch permanent / http://www.mydomai

Re: [Fwd: [EMAIL PROTECTED] Redirect URL with arguments]

2008-06-30 Thread Eric Covener
On Mon, Jun 30, 2008 at 4:46 AM, Sylvain Viollat <[EMAIL PROTECTED]> wrote: > RedirectMatch permanent / http://www.mydomain.com > > The problem is that all queries which contain something after the .net/ (eg. > index.php?ref=10), are redirect to http://www.mydomain.com/ref=10 If you use RedirectM

[Fwd: [EMAIL PROTECTED] Redirect URL with arguments]

2008-06-30 Thread Sylvain Viollat
Hello, anyone got an idea about how to do this ? Thanks --- Begin Message --- Hi, I need to redirect the URL http://www.mydomain.net/index.php?ref=10 to http://www.mydomain.com/. I've added the following line in www.mydomain.net VirtualHost : RedirectMatch permanent / http://www.mydomain

[EMAIL PROTECTED] Redirect URL with arguments

2008-06-27 Thread Sylvain Viollat
Hi, I need to redirect the URL http://www.mydomain.net/index.php?ref=10 to http://www.mydomain.com/. I've added the following line in www.mydomain.net VirtualHost : RedirectMatch permanent / http://www.mydomain.com The problem is that all queries which contain something after the .net/ (eg

Re: [EMAIL PROTECTED] Redirect a old dynamic URL to a new dynamic URL

2008-06-23 Thread Ian Munday
Hi Nick, Thanks for your response. On 19 Jun 2008, at 17:25, Nick Kew wrote: On Thu, 19 Jun 2008 15:01:18 +0100 Ian Munday <[EMAIL PROTECTED]> wrote: I'm using the .htaccess file Ouch! That makes for slow and complex. Is there a better way then? However, using the old URLs with parame

Re: [EMAIL PROTECTED] redirect to url w/query_string ???

2008-06-20 Thread Mike Schleif
* Joshua Slive <[EMAIL PROTECTED]> [2008:06:20:13:17:15-0400] scribed: > On Fri, Jun 20, 2008 at 12:51 PM, Mike Schleif <[EMAIL PROTECTED]> wrote: > > > > > It creates rewrite.log; but, does not write anything there. > > That means your RewriteRules are not being seen at all in the request > proc

Re: [EMAIL PROTECTED] redirect to url w/query_string ???

2008-06-20 Thread Joshua Slive
On Fri, Jun 20, 2008 at 12:51 PM, Mike Schleif <[EMAIL PROTECTED]> wrote: > > It creates rewrite.log; but, does not write anything there. That means your RewriteRules are not being seen at all in the request processing. Exactly where in your config files are you putting them? Joshua. --

Re: [EMAIL PROTECTED] redirect to url w/query_string ???

2008-06-20 Thread Mike Schleif
* Tom Donovan <[EMAIL PROTECTED]> [2008:06:20:12:19:11-0400] scribed: > Mike Schleif wrote: > >* Tom Donovan <[EMAIL PROTECTED]> [2008:06:20:09:08:55-0400] > >scribed: > >>Mike Schleif wrote: > >>>I want the URL's similar to the following: > >>> > >>> http://domain.tld > >>> http://www.domain.

Re: [EMAIL PROTECTED] redirect to url w/query_string ???

2008-06-20 Thread Tom Donovan
Mike Schleif wrote: * Tom Donovan <[EMAIL PROTECTED]> [2008:06:20:09:08:55-0400] scribed: Mike Schleif wrote: I want the URL's similar to the following: http://domain.tld http://www.domain.tld http://domain.tld/ http://domain.tld/fjlxasdfja to be redirected to the following URL:

Re: [EMAIL PROTECTED] redirect to url w/query_string ???

2008-06-20 Thread Mike Schleif
* Tom Donovan <[EMAIL PROTECTED]> [2008:06:20:09:08:55-0400] scribed: > Mike Schleif wrote: > >I want the URL's similar to the following: > > > >http://domain.tld > >http://www.domain.tld > >http://domain.tld/ > >http://domain.tld/fjlxasdfja > > > >to be redirected to the following

Re: [EMAIL PROTECTED] redirect to url w/query_string ???

2008-06-20 Thread Tom Donovan
Mike Schleif wrote: I want the URL's similar to the following: http://domain.tld http://www.domain.tld http://domain.tld/ http://domain.tld/fjlxasdfja to be redirected to the following URL: http://Other_domain.tld/?rid=48830 I have tried -- and failed -- with following:

Re: [EMAIL PROTECTED] redirect to url w/query_string ???

2008-06-19 Thread Mike Schleif
Please, advise. Any ideas how to do this server-side redirect? * On 2008:06:17:00:11:14-0500 I, Mike Schleif <[EMAIL PROTECTED]>, scribed: > I want the URL's similar to the following: > > http://domain.tld > http://www.domain.tld > http://domain.tld/ > http://domain.tld/fjlxasdf

Re: [EMAIL PROTECTED] Redirect a old dynamic URL to a new dynamic URL

2008-06-19 Thread Nick Kew
On Thu, 19 Jun 2008 15:01:18 +0100 Ian Munday <[EMAIL PROTECTED]> wrote: > I'm using the .htaccess file Ouch! That makes for slow and complex. > However, using the old URLs with parameters does not work. Indeed, that's the point where you need RewriteRule rather than Redirect[1]. If you have

[EMAIL PROTECTED] Redirect a old dynamic URL to a new dynamic URL

2008-06-19 Thread Ian Munday
Hi, I'm using Apache 2.2.3 on Debian. I'm trying to redirect a number of URLs that were generated by an old content management system to those generated by a new content management system. The parameter values do not map directly, so I simply intend to explicitly redirect the old style UR

[EMAIL PROTECTED] redirect to url w/query_string ???

2008-06-16 Thread Mike Schleif
I want the URL's similar to the following: http://domain.tld http://www.domain.tld http://domain.tld/ http://domain.tld/fjlxasdfja to be redirected to the following URL: http://Other_domain.tld/?rid=48830 I have tried -- and failed -- with following: RedirectMatch ^/$

Re: [EMAIL PROTECTED] "redirect to maintenance page"

2008-06-03 Thread Joshua Slive
On Mon, Jun 2, 2008 at 4:35 PM, Sagar <[EMAIL PROTECTED]> wrote: > Hi All, > I need to make configuration on Apache installed on Windows Server 2003. To > redirect to maintenance page. > I have three application A, B and C. I access these application as > http:/// for example http:///A > I have mad

[EMAIL PROTECTED] "redirect to maintenance page"

2008-06-02 Thread Sagar
Hi All, I need to make configuration on Apache installed on Windows Server 2003. To redirect to maintenance page. I have three application A, B and C. I access these application as http:/// for example http:///A I have made a common maintenance redirect for error 404 and 500 and this redirects when

[EMAIL PROTECTED] redirect to maintenance page

2008-05-29 Thread Sagar
Hi All, I need to make configuration on Apache installed on Windows Server 2003. To redirect to maintenance page. I have three application A, B and C. I access these application as http:/// for example http:///A I have made a common maintenance redirect for error 404 and 500 and this redirects when

[EMAIL PROTECTED] Redirect

2008-05-18 Thread Edwin
Hey Guys, I have a question. I am trying to launch a cod4 server on my system so that my clan can use it for practicing during week. I can set my apache to listen to the port but how do I redirect it to forward the port in formation to the cod4 server. I know there is a trick to this that

Re: [EMAIL PROTECTED] Redirect

2008-03-12 Thread Joshua Slive
On Wed, Mar 12, 2008 at 7:36 AM, Srikanth NT <[EMAIL PROTECTED]> wrote: > > Hi > recently we moved our servers to a different place and so we want to > redirect the pages hitting the previous server to the new server location. > Also we need to workout to redirect site address wrongly typed. Say fo

[EMAIL PROTECTED] Redirect

2008-03-12 Thread Srikanth NT
Hi recently we moved our servers to a different place and so we want to redirect the pages hitting the previous server to the new server location. Also we need to workout to redirect site address wrongly typed. Say for example, instead of http://www.mywebsite.co.uk if user enters my-website.comI wa

Re: [EMAIL PROTECTED] redirect and hide the port number

2008-02-13 Thread Krist van Besien
On Wed, Feb 13, 2008 at 9:48 PM, Charles Li <[EMAIL PROTECTED]> wrote: > Seems to me these does the same thing, or am I wrong? > > RewriteRule ^/basic$ http://server:/basic.jsp [P] > > vs > > ProxyPass /basic http://server:/basic.jsp > > If yes, does it matter which one I use? They d

Re: [EMAIL PROTECTED] redirect and hide the port number

2008-02-13 Thread Charles Li
--- Krist van Besien <[EMAIL PROTECTED]> wrote: > On Feb 13, 2008 3:44 PM, Charles Li > <[EMAIL PROTECTED]> wrote: > > > So, all I have to change is the R to a P? > > Is this correct: > > > > RewriteEngine on > > RewriteCond %{HTTP_HOST} ^.*storePRE.*$ [NC] > > RewriteRule ^/$ htt

Re: [EMAIL PROTECTED] redirect and hide the port number

2008-02-13 Thread Krist van Besien
On Feb 13, 2008 3:44 PM, Charles Li <[EMAIL PROTECTED]> wrote: > So, all I have to change is the R to a P? > Is this correct: > > RewriteEngine on > RewriteCond %{HTTP_HOST} ^.*storePRE.*$ [NC] > RewriteRule ^/$ http://server:/basic.jsp [P] Yes. Krist -- [EMAIL PROTECTED]

Re: [EMAIL PROTECTED] redirect and hide the port number

2008-02-13 Thread Charles Li
--- Krist van Besien <[EMAIL PROTECTED]> wrote: > On Feb 12, 2008 8:48 PM, Charles Li > <[EMAIL PROTECTED]> wrote: > > I am trying to use rewrite to direct selected > traffic > > from the HTTP server (oracle iAS) to a oc4j > container > > on the same server. > > I would like to hide the port numb

Re: [EMAIL PROTECTED] redirect and hide the port number

2008-02-12 Thread Krist van Besien
On Feb 12, 2008 8:48 PM, Charles Li <[EMAIL PROTECTED]> wrote: > I am trying to use rewrite to direct selected traffic > from the HTTP server (oracle iAS) to a oc4j container > on the same server. > I would like to hide the port number. Is it possible? > > RewriteEngine on > RewriteCond %{

[EMAIL PROTECTED] redirect and hide the port number

2008-02-12 Thread Charles Li
I am trying to use rewrite to direct selected traffic from the HTTP server (oracle iAS) to a oc4j container on the same server. I would like to hide the port number. Is it possible? RewriteEngine on RewriteCond %{HTTP_HOST} ^.*storePRE.*$ [NC] RewriteRule ^/$ http://server:/basic.

Re: [EMAIL PROTECTED] redirect/rewrite

2008-02-08 Thread Joshua Slive
On Feb 7, 2008 2:23 PM, Mandy Singh <[EMAIL PROTECTED]> wrote: > how can i have www.one.com serve content from two.one.com but only for index > page. > > else www.one.com/ should be served from www.one.com domain only > and two.one.com/ should serve from two.one.com domain only. > > is mod_rewrite

[EMAIL PROTECTED] redirect/rewrite

2008-02-07 Thread Mandy Singh
how can i have www.one.com serve content from two.one.com but only for index page. else www.one.com/ should be served from www.one.com domain only and two.one.com/ should serve from two.one.com domain only. is mod_rewrite the way to go?

Re: [EMAIL PROTECTED] Redirect failing

2008-02-06 Thread Krist van Besien
On Feb 6, 2008 10:27 AM, Paul Cocker <[EMAIL PROTECTED]> wrote: > The new redirect reads: > > > ServerName webmail.domain2.co.uk > Redirect 301 / https://web-mail.domain2.co.uk/exchange > > > Yet it doesn't work. I've run a test via the site > http://www.seologic.com/webmaster-tools/ur

[EMAIL PROTECTED] Redirect failing

2008-02-06 Thread Paul Cocker
We have two domains, the "old" domain was being used for people to connect to Outlook Web Access. Users were provided with an address which then redirected them to another address, which was a listener on a Windows ISA 2004 box. We are setting this up to work for our "new" domain, but for some reas

Re: [EMAIL PROTECTED] Redirect issues for SSL sites

2007-12-19 Thread Karel Kubat
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Ryan, On Dec 18, 2007 11:50 AM, Ryan Klein <[EMAIL PROTECTED]> wrote: I am having an issue redirecting a domain, twice? The general layout is I have www.domain.com and domain.com redirect to https:// domain.com, the problem I am having is how

Re: [EMAIL PROTECTED] Redirect issues for SSL sites

2007-12-18 Thread Joshua Slive
On Dec 18, 2007 11:50 AM, Ryan Klein <[EMAIL PROTECTED]> wrote: > I am having an issue redirecting a domain, twice? The general layout is > I have www.domain.com and domain.com redirect to https://domain.com, the > problem I am having is how to have https://www.domain.com redirect to > https://doma

[EMAIL PROTECTED] Redirect issues for SSL sites

2007-12-18 Thread Ryan Klein
I am having an issue redirecting a domain, twice? The general layout is I have www.domain.com and domain.com redirect to https://domain.com, the problem I am having is how to have https://www.domain.com redirect to https://domain.com without giving a certificate error saying the certificate is

Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-12-02 Thread Krist van Besien
On Dec 2, 2007 11:36 AM, Matt Bullock <[EMAIL PROTECTED]> wrote: > I need to test more but, on the http vhost if you don't specify the > SERVER_PORT !=81, then it wont work. You realise what you are doing, do you? RewriteCond %{SERVER_PORT} !=81 is a condition that will always be true, as %{SERVER

Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-12-02 Thread Krist van Besien
On Nov 30, 2007 9:13 PM, Matt Bullock <[EMAIL PROTECTED]> wrote: > No, just abbreviating things to specify the virtual host port > assignments. Please don't do that. Give us _actual_ fragments from your config. Krist -- [EMAIL PROTECTED] [EMAIL PROTECTED] Bremgarten b. Bern, Switzerland -- A:

RE: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-12-02 Thread Matt Bullock
L] Thanks, Matt -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Saturday, December 01, 2007 2:23 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP On Nov 30, 2007 9:27 PM, Matt Bullock <[EMAIL PROTECTED]> wrote: >

Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-12-01 Thread Krist van Besien
On Nov 30, 2007 9:27 PM, Matt Bullock <[EMAIL PROTECTED]> wrote: > I see the issue with server_port =81 not being matched, but I have tried > removing that directive, as well as changing it to !=81. I don't really > have any leads as to what to try next. You are testing wether or not the server

RE: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-11-30 Thread Matt Bullock
leads as to what to try next. Thanks for your help, Matt -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Friday, November 30, 2007 11:44 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP On Nov 30, 2007 7:51 PM, Matt Bullo

RE: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-11-30 Thread Matt Bullock
No, just abbreviating things to specify the virtual host port assignments. Matt -Original Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Friday, November 30, 2007 11:42 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP On Nov 28, 2

Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-11-30 Thread Krist van Besien
On Nov 30, 2007 7:51 PM, Matt Bullock <[EMAIL PROTECTED]> wrote: > Are there any clues as to why this wont work? Is there anything else I > can check, raise the log level? Raise loglevel. You'll see what gets matched and what not. Krist -- [EMAIL PROTECTED] [EMAIL PROTECTED] Bremgarten b. Be

Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-11-30 Thread Krist van Besien
On Nov 28, 2007 9:10 PM, Matt Bullock <[EMAIL PROTECTED]> wrote: > > Here are the rules I am using: > > > > > > > > RewriteCond {SERVER_PORT} !=81 > > RewriteCond %{REQUEST_URI} ^/scripts/vendor/new_package\.php$ > > RewriteRule ^.*$ https://www.domain.com%{REQUEST_URI} [R=301,L] > > > > Just on

RE: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-11-30 Thread Matt Bullock
Message- From: Krist van Besien [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 28, 2007 2:46 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP On Nov 28, 2007 9:10 PM, Matt Bullock <[EMAIL PROTECTED]> wrote: > I can't seem to get the r

Re: [EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-11-28 Thread Krist van Besien
On Nov 28, 2007 9:10 PM, Matt Bullock <[EMAIL PROTECTED]> wrote: > I can't seem to get the rule to change the request back to http though… any > ideas? First of all, you don't need the "RewriteCond {SERVER_PORT} !=80 " and similar conditions, as your virtual host allready takes care of shielding

[EMAIL PROTECTED] Redirect HTTPS --> HTTP

2007-11-28 Thread Matt Bullock
Thanks everyone for helping me with my redirect problems using a hardware load balancer. I have redirects from http to https working perfectly, but now I can't seem to get the https back to http working. Here are the rules I am using: RewriteCond {SERVER_PORT} !=81 RewriteCond %{REQU

Re: [EMAIL PROTECTED] Redirect in httpd.conf

2007-11-26 Thread Al Sparks
, 2007 6:32:05 PM Subject: Re: [EMAIL PROTECTED] Redirect in httpd.conf RedirectMatch ^/$http://www.foo.com/directory chris Al Sparks wrote: > Here's a partial in my httpd.conf: > > ServerName www.foo.com > ServerAdmin [EMAIL PROTECTED] > > ProxyR

Re: [EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload

2007-11-24 Thread Sander Temme
On Nov 23, 2007, at 10:06 PM, Matt Bullock wrote: I was hoping there would be a way to let apache know the url being requested was "https://...";. Here is a log when I navigate to a https page: There is. Here's what you do: Set up two virtual hosts. One to catch unencrypted port 80 t

Re: [EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload

2007-11-24 Thread Krist van Besien
On Nov 24, 2007 7:06 AM, Matt Bullock <[EMAIL PROTECTED]> wrote: > The logs show the correct url, so all I need is to somehow let apache > know not to rewrite if this is the case - Indeed apache needs more info. Either you need to find out if your loadbalancer can set extra headers on https reque

RE: [EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload

2007-11-23 Thread Matt Bullock
hecks if it has already been rewritten. Matt -Original Message- From: Brian A. Seklecki [mailto:[EMAIL PROTECTED] Sent: Friday, November 23, 2007 6:16 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload You could use a wi

RE: [EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload

2007-11-23 Thread Brian A. Seklecki
:12 -0800 From: Matt Bullock <[EMAIL PROTECTED]> Reply-To: users@httpd.apache.org To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload Eric, That definitely seems like the reason the redirect keeps looping. Every example I have se

RE: [EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload

2007-11-23 Thread Matt Bullock
tween each request. Matt -Original Message- From: Brian A. Seklecki [mailto:[EMAIL PROTECTED] Sent: Friday, November 23, 2007 5:36 PM To: Eric Covener Cc: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload Radware has some nice header

Re: [EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload

2007-11-23 Thread Brian A. Seklecki
[EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload On Nov 23, 2007 7:59 PM, Matt Bullock <[EMAIL PROTECTED]> wrote: Thanks for the reply. The redirect loops the requested page never comes up. The log prints the same thing over and over. You said the LB does SSL offload. You h

Re: [EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload

2007-11-23 Thread Eric Covener
On Nov 23, 2007 7:59 PM, Matt Bullock <[EMAIL PROTECTED]> wrote: > Thanks for the reply. The redirect loops the requested page never comes > up. The log prints the same thing over and over. You said the LB does SSL offload. You haven't given apache any way to distinguish when someone hits the LB

RE: [EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload

2007-11-23 Thread Matt Bullock
PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload On Nov 24, 2007 1:17 AM, Matt Bullock <[EMAIL PROTECTED]> wrote: > Any help would be greatly appreciated. Could you tell us what your problem is? According to the rewritelog excerpt you gave us that server is doing exactly what yo

Re: [EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload

2007-11-23 Thread Krist van Besien
On Nov 24, 2007 1:17 AM, Matt Bullock <[EMAIL PROTECTED]> wrote: > Any help would be greatly appreciated. Could you tell us what your problem is? According to the rewritelog excerpt you gave us that server is doing exactly what you told it to do, redirecting clients requesting /dir1/dir2/file.php

[EMAIL PROTECTED] Redirect to HTTPS using Load Balancer/SSL Offload

2007-11-23 Thread Matt Bullock
I was hoping someone could help me with a redirect problem. We are using a load balancer in front of our apache22 servers that also provides SSL offloading. Apache only runs on port 80, and doesn't know anything about 443. When a client asks for a specific page, I want to redirect them to the se

Re: [EMAIL PROTECTED] Redirect in httpd.conf

2007-11-21 Thread chris
RedirectMatch ^/$http://www.foo.com/directory chris Al Sparks wrote: Here's a partial in my httpd.conf: ServerName www.foo.com ServerAdmin [EMAIL PROTECTED] ProxyRequests Off ProxyPass /directory http://server.bar.com:1234/directory/ ProxyPassReverse /directo

[EMAIL PROTECTED] Redirect in httpd.conf

2007-11-21 Thread Al Sparks
Here's a partial in my httpd.conf: ServerName www.foo.com ServerAdmin [EMAIL PROTECTED] ProxyRequests Off ProxyPass /directory http://server.bar.com:1234/directory/ ProxyPassReverse /directory http://server.bar.com:1234/directory/ Running Apache 1.3.x. So I've got

Re: [EMAIL PROTECTED] Redirect question

2007-09-21 Thread Rachel Barrios
ssage - From: "Rachel Barrios" <[EMAIL PROTECTED]> To: Sent: Friday, September 21, 2007 12:50 PM Subject: Re: [EMAIL PROTECTED] Redirect question James, In my configuration I've setup several ips on the same machine. As far as I understand it, the ip1 address in is the i

Re: [EMAIL PROTECTED] Redirect question

2007-09-21 Thread James Sherwood
1, 2007 12:50 PM Subject: Re: [EMAIL PROTECTED] Redirect question James, In my configuration I've setup several ips on the same machine. As far as I understand it, the ip1 address in is the ip apache sends the request on, and not the ip which the user is using while viewing your p

Re: [EMAIL PROTECTED] Redirect question

2007-09-21 Thread Rachel Barrios
om: "Rachel Barrios" <[EMAIL PROTECTED]> To: Sent: Friday, September 21, 2007 12:19 PM Subject: Re: [EMAIL PROTECTED] Redirect question Hi, How are you verifying that you have two different sets of information coming in? Ie. how do you know that one test came in on your firs

Re: [EMAIL PROTECTED] Redirect question

2007-09-21 Thread James Sherwood
- Original Message - From: "Rachel Barrios" <[EMAIL PROTECTED]> To: Sent: Friday, September 21, 2007 12:19 PM Subject: Re: [EMAIL PROTECTED] Redirect question Hi, How are you verifying that you have two different sets of information coming in? Ie. how do you kn

Re: [EMAIL PROTECTED] Redirect question

2007-09-21 Thread Rachel Barrios
rrios" <[EMAIL PROTECTED]> To: Sent: Monday, September 17, 2007 12:45 PM Subject: Re: [EMAIL PROTECTED] Redirect question I'm not sure if this is what you mean or not, but you can redirect to pseudo ip addresses on the same machine. ServerAdmin [EMAIL PROTECTED] Documen

Re: [EMAIL PROTECTED] Redirect question

2007-09-19 Thread James Sherwood
--- Original Message - From: "Rachel Anderson-Barrios" <[EMAIL PROTECTED]> To: Sent: Monday, September 17, 2007 12:45 PM Subject: Re: [EMAIL PROTECTED] Redirect question I'm not sure if this is what you mean or not, but you can redirect to pseudo ip addresses on the same m

Re: [EMAIL PROTECTED] Redirect question

2007-09-17 Thread Rachel Anderson-Barrios
I'm not sure if this is what you mean or not, but you can redirect to pseudo ip addresses on the same machine. ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/httpd/riskanalyticsinc/ramain ServerName my-host JkMount /*.xsp ajp13 JkMount /*.xxsp ajp13 JkMount /*.xml ajp13

[EMAIL PROTECTED] Redirect question

2007-09-15 Thread James Sherwood
Hello, We use mod_jk with apache and tomcat. Is there a way to redirect requests to a certian worker via their ip range? Thanks in advance, James - The official User-To-User support forum of the Apache HTTP Server Project. See

Re: [EMAIL PROTECTED] Redirect Permanent Help

2007-09-01 Thread Matus UHLAR - fantomas
On 13.08.07 12:58, Nathan wrote: > We need to 301 redirect all traffic bound for www.foo.com to foo.com. > foo.com is set up as an IP based resource and www.foo.com is not > mentioned in vhosts. > > both www.foo.com and foo.com DNS is set to the same ip. > > We added a section to vhosts like :

Re: [EMAIL PROTECTED] Redirect Permanent Help

2007-08-13 Thread Joe Seeley
Nathan, RedirectPermanent is only going to match for the exact URL. If you want it to match for anything that is LIKE / you will need to use RewriteCond + RewriteRule OR RedirectMatch. RedirectMatch will map redirect a regular expression match to a new URL. RedirectPermanent / http://foo.com/

Re: [EMAIL PROTECTED] Redirect Permanent Help

2007-08-13 Thread Victor Trac
For my sites, I use rewrite: RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC] RewriteRule ^(.*)$ http://domain.com$1 [R=301,L] Also, if foo.com is used as a IP based virtual host, you could replace *:80 with w.x.y.z:80 so that your server can also host additional IP based s

[EMAIL PROTECTED] Redirect Permanent Help

2007-08-13 Thread Nathan
We need to 301 redirect all traffic bound for www.foo.com to foo.com. foo.com is set up as an IP based resource and www.foo.com is not mentioned in vhosts. both www.foo.com and foo.com DNS is set to the same ip. We added a section to vhosts like : DocumentRoot c:/pubrec/htdocs Ser

[EMAIL PROTECTED] redirect on /

2007-07-11 Thread David Bear
I have two goals with my apache server that I hope are not mutual exclusive. I use apache to proxy requests to a backend user using modproxy and rewrite rules. (the backend is zope) This works great. I also use apache to handle ssl. I also have virtual hosts, some ip based, some name based. My rew

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-05 Thread Vincent Bray
On 06/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote: I've asked again our hosting provider about this and their (highly irritating) answer has been: "We are sorry however we do not provide coding or scripting support through this forum. Mod_rewrite works just fine on our servers and your quest

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-05 Thread Senén de Diego
I've asked again our hosting provider about this and their (highly irritating) answer has been: "We are sorry however we do not provide coding or scripting support through this forum. Mod_rewrite works just fine on our servers and your question about AllowOverride goes in the php.ini. You can

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-04 Thread Senén de Diego
I'm worried about your head, please take care... Vincent Bray escribió: This is making my head spin. The only time the jnlp file is served is when it's not requested and not rewriten to? That makes no sense! I'm not sure I understand you here. There is no jnlp file, there is only a php file. If

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-04 Thread Vincent Bray
This is making my head spin. The only time the jnlp file is served is when it's not requested and not rewriten to? That makes no sense! - Are there any other rules in the file? - Are there any other .htaccess files in parent directories of this one? - Does your ISP do anything special with this t

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-04 Thread Senén de Diego
I've done some tests adding the header "Control-Cache: no-cache" to the requests (using LiveHttpHeaders plugin in Firefox) and (I think) the proxy caches can be discarded as the origin of the problem. With this rewrite rule (jnlp): -- RewriteBase /herramientas/ RewriteRule ^sincronizar1\.jnlp$

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-03 Thread Vincent Bray
On 03/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote: The only difference between RewriteRule ^sincronizar\.jnlp$ sincronizar.php and RewriteRule ^sincronizar\.html$ sincronizar.php is that the file sincronizar.jnlp exists, and sincronizar.htm doesn't (but if I remove sincronizar.jnlp nothing ch

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-03 Thread Senén de Diego
Well, the funny part is that I'm doing all this to try to avoid caching issues... I'm redirecting sincronizar.jnlp to sincronizar.php only to add an Expires header in the response (because our hosting provider doesn't have mod_expires installed and doesn't want to install it...). The main ISP h

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-03 Thread Vincent Bray
On 03/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote: This rule doesn't work RewriteRule ^sincronizar\.jnlp$ sincronizar.php but this one does work RewriteRule ^sincronizar\.html$ sincronizar.php I've also noticed that if I put a fake .htacces file, with something like "Waboo", there are cases

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-03 Thread Senén de Diego
This rule doesn't work RewriteRule ^sincronizar\.jnlp$ sincronizar.php but this one does work RewriteRule ^sincronizar\.html$ sincronizar.php I've also noticed that if I put a fake .htacces file, with something like "Waboo", there are cases where I get an 500 error, but cases where I don't. For

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-02 Thread Vincent Bray
On 02/07/07, Senén de Diego <[EMAIL PROTECTED]> wrote: The real url I'm trying to redirect is http://www.electrodh.com/herramientas/sincronizar1.jnlp and I want to redirect it to http://www.electrodh.com/herramientas/sincronizar.php The content of the herramientas/.htaccess file is: RewriteEngin

Re: [EMAIL PROTECTED] Redirect, Rewrite and php.ini

2007-07-02 Thread Senén de Diego
I'm afraid you are right. The "redirect everything" works. There must be anything wrong in my .htaccess. But I cannot see what it is. The real url I'm trying to redirect is http://www.electrodh.com/herramientas/sincronizar1.jnlp and I want to redirect it to http://www.electrodh.com/herramientas/

  1   2   3   >