[EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Melanie Pfefer
hi, I have 3 instances of apache each running on a separate port. I have created a 4th instance on port 80 and 3 aliases so that when users want to access let’s say: http://alias1 it goes to http://server:port1 http://alias2 it goes to http://server:port2 http://alias3 it goes to

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: hi, I have 3 instances of apache each running on a separate port. I have created a 4th instance on port 80 and 3 aliases so that when users want to access let’s say: http://alias1 it goes to http://server:port1 http://alias2 it goes to http://server:port2

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Melanie Pfefer
Bianchi [EMAIL PROTECTED] wrote: From: Davide Bianchi [EMAIL PROTECTED] Subject: Re: [EMAIL PROTECTED] rewrite rules To: users@httpd.apache.org Date: Tuesday, 16 September, 2008, 1:52 PM Melanie Pfefer wrote: hi, I have 3 instances of apache each running on a separate port. I have

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: Hi I am not using virtualhosts because I need to restart each instance independently. Ah, ok. That make sense. How to proceed? I tried the Virtualhost directive but http://alias1 does not redirect to http://alias1:5001 Well, you need to have somewhere a DNS (or an

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Melanie Pfefer
Bianchi [EMAIL PROTECTED] Subject: Re: [EMAIL PROTECTED] rewrite rules To: users@httpd.apache.org Date: Tuesday, 16 September, 2008, 2:07 PM Melanie Pfefer wrote: Hi I am not using virtualhosts because I need to restart each instance independently. Ah, ok. That make sense. How

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: hi Davide, both apache instances have the basic configuration. They have different port numbers: the main apache is on port 80 and the other 3 instances on 5001, 6001 and 7001. In the main apache (port 80), I added as you suggested: NameVirtualHost *:80

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: Hi the DNS already has this alias. server = alias1 = alias2 = alias3 this is why http://alias1 = http://server while I want : http://alias1 = http://server:5001 (that is another apache on this machine) Yes, the last part is done by the VHosts, post your

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Melanie Pfefer
[EMAIL PROTECTED] wrote: From: Davide Bianchi [EMAIL PROTECTED] Subject: Re: [EMAIL PROTECTED] rewrite rules To: users@httpd.apache.org Date: Tuesday, 16 September, 2008, 2:18 PM Melanie Pfefer wrote: Hi the DNS already has this alias. server = alias1 = alias2 = alias3 this is why

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Melanie Pfefer
Bianchi [EMAIL PROTECTED] wrote: From: Davide Bianchi [EMAIL PROTECTED] Subject: Re: [EMAIL PROTECTED] rewrite rules To: users@httpd.apache.org Date: Tuesday, 16 September, 2008, 2:38 PM Melanie Pfefer wrote: hi Davide, both apache instances have the basic configuration. They have

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Davide Bianchi
Melanie Pfefer wrote: Hi Davide, I followed your example and specified localhost in the VirtualHost directive. it worked. Ah, good. one more question please: for the other servers, I tried: NameVirtualHost *:80 VirtualHost *:80 ServerName alias1 ProxyPass /

RE: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Vinay Purohit
Please remove/ unsubscribe me from this email group. I have sent so many emails :-( -Original Message- From: Melanie Pfefer [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 16, 2008 5:38 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] rewrite rules Hi Davide, I followed

Re: [EMAIL PROTECTED] rewrite rules

2008-09-16 Thread Melanie Pfefer
thank you. it worked after clearing the cache --- On Tue, 16/9/08, Davide Bianchi [EMAIL PROTECTED] wrote: From: Davide Bianchi [EMAIL PROTECTED] Subject: Re: [EMAIL PROTECTED] rewrite rules To: users@httpd.apache.org Date: Tuesday, 16 September, 2008, 3:13 PM Melanie Pfefer wrote: Hi

[EMAIL PROTECTED] rewrite rules optimisation

2007-05-14 Thread Arthur Kerpician
Hi, Im having trouble with defining some rules. This is the layout: I want to send some GET vars in the URL like this: http://localhost/a-1,b-2,c-3,d-4/ Based on this format, the rewriting engine should forward the request like this: http://localhost/index.php?a=1b=2c=3d=4 I know I can write a

Re: [EMAIL PROTECTED] rewrite rules optimisation

2007-05-14 Thread Arthur Kerpician
Krist van Besien wrote: On 5/14/07, Arthur Kerpician [EMAIL PROTECTED] wrote: Hi, Im having trouble with defining some rules. This is the layout: I want to send some GET vars in the URL like this: http://localhost/a-1,b-2,c-3,d-4/ Based on this format, the rewriting engine should forward the

[EMAIL PROTECTED] rewrite rules

2007-02-26 Thread Gonzalez, Miguel
Dear all, I have Apache 2.0.54 on a Debian stable. I have what seems to be a endless loop: mod_rewrite: maximum number of internal redirects reached. Assuming configuration error. Use 'RewriteOptions MaxRedirects' to increase the limit if neccessary. the rules are: IfModule

RE: [EMAIL PROTECTED] rewrite rules

2007-02-26 Thread Gonzalez, Miguel
- From: matt farey [mailto:[EMAIL PROTECTED] Sent: Monday, February 26, 2007 3:18 PM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] rewrite rules What URL you are actually requesting? - there are a few that will, but that's ok provided you don't care about those. Gonzalez, Miguel

Re: [EMAIL PROTECTED] rewrite rules

2007-02-26 Thread matt farey
@httpd.apache.org Subject: Re: [EMAIL PROTECTED] rewrite rules What URL you are actually requesting? - there are a few that will, but that's ok provided you don't care about those. Gonzalez, Miguel wrote: Dear all, I have Apache 2.0.54 on a Debian stable. I have what seems

RE: [EMAIL PROTECTED] rewrite rules

2007-02-26 Thread Gonzalez, Miguel
Sorry, it's not working I am getting on the logs: 10.0.6.221 - - [26/Feb/2007:16:06:02 --0500] [mydomain.com/sid#81c4370][rid#83a11d0/initial] (3) [per-dir /var/www/mydomain.com/] add per-dir prefix: index.php - /var/www/mydomain.com/index.php 10.0.6.221 - - [26/Feb/2007:16:06:02 --0500]

Re: [EMAIL PROTECTED] rewrite rules

2007-02-26 Thread matt farey
Gonzalez, Miguel wrote: Sorry, it's not working I am getting on the logs: 10.0.6.221 - - [26/Feb/2007:16:06:02 --0500] [mydomain.com/sid#81c4370][rid#83a11d0/initial] (3) [per-dir /var/www/mydomain.com/] add per-dir prefix: index.php - /var/www/mydomain.com/index.php 10.0.6.221 - -

Re: [EMAIL PROTECTED] Rewrite rules under 2.2.4

2007-02-15 Thread Bob
Ryan McConigley wrote: RewriteEngine on Rewriterule ^/faq/(.*) http://web.csse.uwa.edu.au/school_and_systems_information/faq [L,R=permanent] It seems to me that you're using the rules in per-server context (leading slash), is that correct? So it seems to

[EMAIL PROTECTED] Rewrite rules under 2.2.4

2007-02-14 Thread Ryan McConigley
Hi everyone, I've got a little problem here which I'm curious if someone can tell me if its normal or not. I recently upgraded our servers here from 2.0.49 to 2.2.4. We have a couple of rewrite rules which use to work fine: RewriteEngine on Rewriterule

Re: [EMAIL PROTECTED] Rewrite rules?? (short version)

2006-09-20 Thread Krist van Besien
On 9/19/06, Darren Hall [EMAIL PROTECTED] wrote: I have this problem figured out. I was able to come up with a solution using a combination of mod proxy and mod rewrite. I though wou wouldn't need a rewrite for this. Just a VirtualHost *.* ServerName www.abc.com ProxyPass /

[EMAIL PROTECTED] Rewrite rules??

2006-09-19 Thread Darren Hall
Greeting all, Im sure this has been done plenty of times before, so Im hoping this will be an easy problem for people here to help me with. Heres my situation: Im currently using Apache web server 2.2 and Tomcat 5.5. I have 3 applications that I need to migrate onto Tomcat. Just the

RE: [EMAIL PROTECTED] Rewrite rules?? (short version)

2006-09-19 Thread Darren Hall
I need to manipulate an incoming (and outgoing) url using Apache 2.2. Essentially, I need to be able to receive an incoming request with a url looking like www.domain.com/home/about/index.jsp and re-write it by inserting an extra path element like so

RE: [EMAIL PROTECTED] Rewrite rules?? (short version)

2006-09-19 Thread Darren Hall
, 2006 3:47 PM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] Rewrite rules?? (short version) I need to manipulate an incoming (and outgoing) url using Apache 2.2. Essentially, I need to be able to receive an incoming request with a url looking like www.domain.com/home/about/index.jsp

[EMAIL PROTECTED] Rewrite rules !!

2006-02-28 Thread Kunal
Hello All, I am newbie to rewrite rules. I am trying to redirect requests coming to http://domain.com/test/ to http://domain.com/test.php using below mod_rewrite rules in .htaccess. RewriteEngine onRewriteCond %{REQUEST_URI}