06-30-2009, 06:55 PM
|
#1 (permalink)
|
|
The Contributor
Join Date: Feb 2008
Location: Pretoria, South Africa
Posts: 42
Thanks: 1
|
mod_rewrite help sigh
I wrote an htaccess file to convert dynamically created url's, making them seo friendly, here is my htaccess file;
Code:
Options +FollowSymLinks
RewriteEngine On
##Content Application
RewriteRule (.+?)\.html index.php?app=$1
RewriteRule (.+?)/([\w]+)\.html index.php?app=$1&page=$2
The url I am trying to access is http://mydomain.com/content/javascript-security.html
Which is suppose to access index.php with the following variables, app=content&page=javascript-security, mod_rewrite is loaded in apache but it tries to access the file javascript-security.html whenever I access the link, any help would be appreciated.
__________________
virtueCart v1.0.5 developed by WebDevSA
|
|
|