Re: Using rewrite...

2001-01-24 Thread Les Mikesell
- Original Message - From: "Tomas Edwardsson" [EMAIL PROTECTED] To: "Les Mikesell" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, January 22, 2001 3:01 AM Subject: Re: Using rewrite... The problem is that I can't find a way to send the request

Re: Using rewrite...

2001-01-22 Thread Tomas Edwardsson
On Fri, Jan 19, 2001 at 10:52:22PM -0600, Les Mikesell wrote: - Original Message - From: "Tomas Edwardsson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 19, 2001 4:56 AM Subject: Using rewrite... Hi I'm using rewrite to send a request to

Re: Using rewrite...

2001-01-20 Thread Les Mikesell
- Original Message - From: "Tomas Edwardsson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 19, 2001 4:56 AM Subject: Using rewrite... Hi I'm using rewrite to send a request to a relevant server, for instance if a filename ends with .pl I rewrite it t

Re: Using rewrite...

2001-01-20 Thread Les Mikesell
- Original Message - From: "Tomas Edwardsson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 19, 2001 4:56 AM Subject: Using rewrite... Hi I'm using rewrite to send a request to a relevant server, for instance if a filename ends with .pl I rewrite it t

Re: Using rewrite...

2001-01-20 Thread Les Mikesell
- Original Message - From: "Tomas Edwardsson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 19, 2001 4:56 AM Subject: Using rewrite... Hi I'm using rewrite to send a request to a relevant server, for instance if a filename ends with .pl I rewrite it t

Re: Using rewrite...

2001-01-20 Thread Les Mikesell
- Original Message - From: "Tomas Edwardsson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 19, 2001 4:56 AM Subject: Using rewrite... Hi I'm using rewrite to send a request to a relevant server, for instance if a filename ends with .pl I rewrite it t

Re: Using rewrite...

2001-01-20 Thread Les Mikesell
- Original Message - From: "Tomas Edwardsson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 19, 2001 4:56 AM Subject: Using rewrite... Hi I'm using rewrite to send a request to a relevant server, for instance if a filename ends with .pl I rewrite it t

Re: Using rewrite...

2001-01-20 Thread Les Mikesell
- Original Message - From: "Tomas Edwardsson" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 19, 2001 4:56 AM Subject: Using rewrite... Hi I'm using rewrite to send a request to a relevant server, for instance if a filename ends with .pl I rewrite it t

Using rewrite...

2001-01-19 Thread Tomas Edwardsson
Hi I'm using rewrite to send a request to a relevant server, for instance if a filename ends with .pl I rewrite it to the perl enabled apache: RewriteEngine On # Perl Enabled. RewriteRule ^/(.*\.ehtm)$ http://%{HTTP_HOST}:81/$1 [P] RewriteRule ^/(.*\.pl)$ http://%{HTTP_HOST}:81/$1 [P] # PHP

Re: Using rewrite...

2001-01-19 Thread Matthew Byng-Maddick
On Fri, 19 Jan 2001, Tomas Edwardsson wrote: The problem is that I can't find a way to send the request to a relevant port if the request calls for a URL which ends with a slash ("/"). Any hints ? RewriteCond and %{REQUEST_FILENAME} ? This happens after the default URI Translation handler.

Re: Using rewrite...

2001-01-19 Thread Tomas Edwardsson
RewriteCond %{REQUEST_FILENAME} .*\.php$ RewriteRule ^(.*)$ http://%{HTTP_HOST}:83$1 I Tested it like this and this doesn't seem to work, either I'm misunderstanding RewriteCond or this method doesn't work. - Tomas On Fri, Jan 19, 2001 at 10:59:43AM +, Matthew Byng-Maddick wrote: On Fri,

Re: Using rewrite...

2001-01-19 Thread Matthew Byng-Maddick
On Fri, 19 Jan 2001, Tomas Edwardsson wrote: RewriteCond %{REQUEST_FILENAME} .*\.php$ RewriteRule ^(.*)$ http://%{HTTP_HOST}:83$1 I Tested it like this and this doesn't seem to work, either I'm misunderstanding RewriteCond or this method doesn't work. What happens if you turn RewriteLog On

Re: Using rewrite...

2001-01-19 Thread Tomas Edwardsson
It doesn't seem to apply the values of the DirectoryIndex to the filenames. DirectoryIndex index.php index.ehtm index.pl index.html RewriteCond %{REQUEST_FILENAME} .*\.php$ RewriteRule ^(.*)$ http://%{HTTP_HOST}:83$1 rewrite.log: 194.144.154.45 - - [19/Jan/2001:11:40:23 +]

Re: Using rewrite...

2001-01-19 Thread Matthew Byng-Maddick
On Fri, 19 Jan 2001, Matthew Byng-Maddick wrote: On Fri, 19 Jan 2001, Tomas Edwardsson wrote: The problem is that I can't find a way to send the request to a relevant port if the request calls for a URL which ends with a slash ("/"). Any hints ? RewriteCond and %{REQUEST_FILENAME} ? This