Code: Select all
RewriteEngine on
RewriteBase /
RewriteRule ^(.+)$ index.php?path=$1 [QSA]Code: Select all
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
#RewriteCond %{REQUEST_FILENAME} [NC]
RewriteRule ^(.+).php$ index.php?page=$1 [QSA]All I need it to do is this:
1) When passed a file w/ path I need that path to be passed to index.php (inside docroot).
2) Keep or persist the GP{C} variables so I do not have to parse the URL manually inside script
3) If the requested file already exists, who cares, ignore it and send it's path to index.php instead
Can someone please give me the proper set of instructions to get this fired up?
Thanks