Hello,
I have recently been trying to use the built in module mod_rewrite with no luck. I have been attempting to figure out the issue for some time now, reading over forums etc .. I have tried everything I can think of, I have recently upgraded to the new version apache thinking that may fix it, I have 2 boxes both with DA installed and working, On 1 of the boxes the rewrite rule works fine, on the other I get nothing from it. Some info on what I am trying to accomplish.
Website url: http://sub.domain.net/index.php?pg=home
Rewrite to: http://sub.domain.net/home.php
Using rewrite rule via .htaccess in subdomain root:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)\.html$ index.php?pg=$1
No errors via logs, the url simply does not rewrite, site still functions …
I have recently been trying to use the built in module mod_rewrite with no luck. I have been attempting to figure out the issue for some time now, reading over forums etc .. I have tried everything I can think of, I have recently upgraded to the new version apache thinking that may fix it, I have 2 boxes both with DA installed and working, On 1 of the boxes the rewrite rule works fine, on the other I get nothing from it. Some info on what I am trying to accomplish.
Website url: http://sub.domain.net/index.php?pg=home
Rewrite to: http://sub.domain.net/home.php
Using rewrite rule via .htaccess in subdomain root:
Options +FollowSymLinks
RewriteEngine on
RewriteRule ^(.*)\.html$ index.php?pg=$1
No errors via logs, the url simply does not rewrite, site still functions …