Re: RewriteRules

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jason Pruim schrieb:
Now, on that site I have a few links... right now the likes are in the format of:
HTTP://purl.raoset.com/design.php?purl=test112

What I would like is to have it read:
HTTP://purl.raoset.com/test112/design
Try the following rule (dunno, if it works for you, but you should get the idea):

RewriteRule ^([a-zA-Z0-9]+)/([a-zA-Z0-9]+)$ /$2.php?purl=$1

/Marc

--
http://bithub.net/
Synchronize and share your files over the web for free

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux