i have my admin/index.php file showing links as -
HTML Code:
<a href="event.php?id=123"> View Birthday </a>
but i'm using .HTACCESS to make url something like-
HTML Code:
http://www.mysite.com/admin/event/123
and i've edited htaccess to -
Code:
RewriteEngine on
RewriteRule ^([^/\.]+)/?$ /event.php?id=(.*) [L]
but it still showing url as usual.
and i've apache with mod_rewrite.so loaded.
and one more thing, in other directory i've used htaccess as -
Code:
AddType application/x-httpd-php .html
to execute php code from html file. and it works just fine.
i'm using Apache on Windows.
any guess?
Last edited by phazorRise; 07-13-2011 at 10:22 AM..
|