httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krist van Besien" <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] rewrite rule
Date Tue, 23 May 2006 09:29:40 GMT
On 5/22/06, Mariusz Handke <oiram@oiram.net> wrote:
> Hi,
>
> Can anyone help me to create, or explain how to get around with rewrite
> rules, please. The thing to do is:
> in: http://host/dir/file
> out: http://host/script.php?p=/dir/file



RewriteRule ^(.*)$        /script.php?p=$1

Krist

-- 
krist.vanbesien@gmail.com
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message