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
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
: [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
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
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_
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
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
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
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
>- 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
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
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
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
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
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'
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
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
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
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
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
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
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
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
* 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
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.
--
* 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.
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:
* 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
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:
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
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
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
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 ^/$
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
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
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
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
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
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
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
--- 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
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]
--- 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
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 %{
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.
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
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?
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
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
-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
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
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
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
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:
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:
>
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
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
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
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
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
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
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
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
, 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
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
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
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
: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
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
[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
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
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
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
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
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
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
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
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
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
- 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
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
--- 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
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
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
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 :
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/
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
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
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
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
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
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
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
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$
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
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
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
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
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
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 - 100 of 201 matches
Mail list logo