[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
Hi everyone.
Just a short note to say hi to everyone and to
enquire whether anyone has had any experience with the use of the mod_rewrite
module on Apache2.
There are plenty of tutorials / samples returned
via google but for whatever reason they all result in a bad request error
returned by Apache.
Basicallly I am trying to create a dynamic
directory which will be translated to a path to a php script.
My attempt so far is :-
RewriteEngine on
RewriteBase / RewriteRule ^/(.*)$ /index.php?cat=$1 (L) I think my failing is that I never really
understood regular expressions not even with my extensive use of PHP but all in
good time I guess.
Anyone have any ideas or can guide me in the right
direction.
Many thanks in advance.
P.S. I must try and make the next
meet-up with all you guys and gals to introduce myself and generally become
more involved with DCLUG. Lets hope that there are no clashes for me this
time round.
Regards
Philip Radford. |