Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- mod_rewrite help?
February 9, 2006, 4:34 pm
rate this thread
Re: mod_rewrite help?
I guess you want it the other way around?
cat13.html -> index.php?cat=13 [L]
and maybe even
catx.html -> index.php?cat=x
with x a number between 1 and n ?
What's your script going to do if x is outside the range 1 .. n? (This can
partly be handled by Apache itself, e.g. you can specify that x can up to
and including 3 digits and has to have at least one, for example.
John isa Perl programmer: http://johnbokma.com/perl/perlprogrammer.html
Fox G Bar: http://johnbokma.com/firefox/google-toolbar-customizing.html