Re: RewriteRule help

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

 



Anybody knows what apache RewriteRule to use if  I want url:
http://www.aaa.comm/user/aaaa/
be rewritten as:
http://www.aaa.comm/user/index.php/aaaa/

It is not a php question. But now Im not in apache list and it's a little hurry.

If possible you could:

1. Make "user" a php script
2. Use the <Files> Apache directive to make it be parsed as a PHP script
   (http://www.phpguru.org/article.php/212)
3. Then in the "user" file you can use the $_SERVER['REQUEST_URI']
   to ascertain the correct content to show.

--
Richard Heyes (wondering if he's getting a bit of a reputation...)
Employ me:
http://www.phpguru.org/cv

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