This can also be achieved by doing
Alias / /home/blah/script.php
no need to use mod_rewrite !!
bvr.
[ rswfire ] wrote:
Assume I want *.domain.*/*.* to automatically call index.php (without
the user knowing and without any redirecting at all):
RewriteEngine on
RewriteBase/
Assume I want *.domain.*/*.* to automatically call index.php (without the
user knowing and without any redirecting at all):
RewriteEngine on
RewriteBase/
RewriteRule*.* index.php [R]
I don't know what in the world the [R] is, but it's in almost all of the
mod_rewrite examples... :-)
On Wed, 17 Apr 2002, [ rswfire ] wrote:
Assume I want *.domain.*/*.* to automatically call index.php (without the
user knowing and without any redirecting at all):
RewriteEngine on
RewriteBase/
RewriteRule*.* index.php [R]
I don't know what in the world the [R] is, but it's in
Follows
From: Miguel Cruz [EMAIL PROTECTED]
To: [ rswfire ] [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] Would this work? (mod_rewrite)
Date: Wed, 17 Apr 2002 16:55:33 -0500 (CDT)
On Wed, 17 Apr 2002, [ rswfire ] wrote:
Assume I want *.domain.*/*.* to automatically call
* index.php
And it came back with a server misconfiguration. So, did I do something
wrong?
Original Message Follows
From: Miguel Cruz [EMAIL PROTECTED]
To: [ rswfire ] [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] Would this work? (mod_rewrite)
Date: Wed, 17 Apr 2002 16
, http_core
Original Message Follows
From: Miguel Cruz [EMAIL PROTECTED]
To: [ rswfire ] [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] Would this work? (mod_rewrite)
Date: Wed, 17 Apr 2002 16:55:33 -0500 (CDT)
On Wed, 17 Apr 2002, [ rswfire ] wrote:
Assume I want *.domain
, mod_negotiation, mod_mime,
mod_log_config, mod_env, http_core
Original Message Follows
From: Miguel Cruz [EMAIL PROTECTED]
To: [ rswfire ] [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] Would this work? (mod_rewrite)
Date: Wed, 17 Apr 2002 16:55:33 -0500 (CDT)
On Wed
]
To: [ rswfire ] [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: [PHP] Would this work? (mod_rewrite)
Date: Wed, 17 Apr 2002 17:14:13 -0500 (CDT)
Do you have access to your server's error_log file? With any luck there'll
be a more informative message there (something like Miguel was too lazy
to pay
You actually want
RewriteEngine on
RewriteBase /
RewriteRule *$ index.php
Jason
-Original Message-
From: [ rswfire ] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 4:20 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Would this work? (mod_rewrite
: [ rswfire ] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 17, 2002 4:20 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Would this work? (mod_rewrite)
This rewrite thing will actually be very good for me; my error log file will
stop having a million file not found errors
PROTECTED]
To: '[ rswfire ]' [EMAIL PROTECTED], [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: RE: [PHP] Would this work? (mod_rewrite)
Date: Wed, 17 Apr 2002 18:29:25 -0400
And I fall victim to my own stupidity/cache again.
You actually want
RewriteEngine on
RewriteBase /
RewriteRule ^$ index.php
In article [EMAIL PROTECTED], [EMAIL PROTECTED]
wrote:
But now I am receiving a 404 error message and the following message in my
error log:
[Wed Apr 17 18:31:26 2002] [error] [client 172.131.190.148] File does not
exist: /home/swiften/public_html/404.shtml
[Wed Apr 17 18:31:26 2002]
12 matches
Mail list logo