Posts: 185
Location: print_r($serbia);
|
Im trying to rewrite this link
Code:
http://www.example.com/status.php?action=contact
Into this:
Code:
http://www.example.com/act/contact
Using this statement:
Code:
url.rewrite-once = ( "^/act/([a-z]+)$" => "status.php?action=$1" )
Problem is, when this link is rewrited document root changes to example.com/act/ and my images and css can't load because the server is looking for them in example.com/act/images/.
How can i avoid this?
|