In case your still wondering, I insert this into my .htaccess file:
# Enable PHP in HTML files
RemoveHandler .html .htm
AddType application/x-httpd-php .php .htm .html
EDIT: Oops, looks like I jumped the gun. I guess you're wondering how to make index.php?pxd=2300&... look like /2300/index.html.
For that, I use something like this:
RewriteEngine on
RewriteRule ^([0-9a-z]*)/([0-9a-z]*)/$ /xxx.php?xid=$1&code=$2 [L]
__________________
Success is going from failure to failure without a loss of enthusiasm.
|