phpld mod rewrite help

Discussion in 'Apache' started by yisou, Dec 15, 2006.

  1. #1
    my directory site set up by phpld, the .htaccess is as follows:

    RewriteEngine On
    RewriteBase /companies
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-l 
    RewriteRule .* index.php [QSA,L] 
    Code (markup):
    please help me how to let /index.php?p=h becomes /index.php/h/
    /index.php?p=d becomes /index.php/d/
    /rss.php?p=h becomes /rss.php/h/

    Thanks
     
    yisou, Dec 15, 2006 IP