- 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
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
- 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
- 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
- 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
- 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
- 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
- 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
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
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.
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,
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
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 +]
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
14 matches
Mail list logo