You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Dirk Maetens <di...@chello.be> on 2002/10/07 12:55:11 UTC

[users@httpd] newbie RewriteRule problems

Hi,

Being a newbie in regexp I encounter some problems using mod_rewrite to
pass ALL requests that contain reference to /foo/ to one php script. How
could I do this in .htaccess placed in /foo ?
I have read the mod_rewrite guide, but can't get it to work...

TIA,

-dirk



---------------------------------------------------------------------
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


Re: [users@httpd] newbie RewriteRule problems

Posted by Robert Andersson <ro...@profundis.nu>.
Dirk Maetens
> Hi,
>
> Being a newbie in regexp I encounter some problems using mod_rewrite to
> pass ALL requests that contain reference to /foo/ to one php script. How
> could I do this in .htaccess placed in /foo ?
> I have read the mod_rewrite guide, but can't get it to work...

You can't get it to work, so what have you tried? It's soo much easier to
help out if there is something to help on, so please show us what you have
and examples of how you want the url rewritten.

Regards,
Robert Andersson


---------------------------------------------------------------------
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