Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
Old 12-01-2010, 07:25 AM Lighttpd Rewrite
miki86's Avatar
Extreme Talker

Posts: 185
Location: print_r($serbia);
Trades: 0
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?
miki86 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to Lighttpd Rewrite
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.80157 seconds with 12 queries