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.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
mod_rewrite help please!
Old 12-28-2006, 10:28 AM mod_rewrite help please!
Skilled Talker

Posts: 50
Location: Finland
Trades: 0
I'm using this code to change my site.php page to site/

Code:
Options +FollowSymlinks
RewriteEngine on
RewriteRule ^site/(\.*)$ /site\.php [L]
And it works, but my stylesheet doesn't display. I store my images in the images folder and my style.css file in the public_html folder where all other files are.

So, when I go to mysite.com/site/ and try to view the images, I get this URL: mysite.com/site/images/image.jpg instead of mysite.com/images/image.jpg.

How can I fix this? Anyone? Please!
Catie is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Reply     « Reply to mod_rewrite help please!
 

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.10894 seconds with 12 queries