On 5/23/06, Om <[EMAIL PROTECTED]> wrote:
Hi,
I am also new to this.
Can you check the following rule
RewriteEngine On
RewriteRule ^/(.*) http://host/script.php?p=$1
I think, what ever is there after the hostname will be $1
for ex:
http://abcd.com/pets
$1 will be pets.
correct.
Rewrite rules are applied to the URL _without_ the hostname.
In this case to:
/pets
This gets matched like this:
/(pets)
and thus $1 is "pets"
Krist
--
[EMAIL PROTECTED]
Solothurn, Switzerland
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]