Preserved Topic: mod_rewrite problem |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: A graveyard of dreams |
posted 12-12-2003 22:19
Been trying to get mod_rewrite to work on my new page. Got most of it working as I want it to, urls like www.golden-ratio.net/vim gets rewritten to www.golden-ratio.net/index.php?vim as I want it to. But when I try to rewrite www.golden-ratio.net/vim/ to the same adress as previously the page loads, but the style sheet is not loaded. When I add the [R] thing to the end of the RewriteRule to see what the difference in the url is, both of them end up working. Which is kind of nice, except that I want the pages to be "redirected" without the user noticing it... code: RewriteRule vim/?$ /index.php\?vim [R]
|
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 12-12-2003 23:19
Veneficuz: Yep I had this problem before and the answer is to make your links absolute to the root so: |
Paranoid (IV) Inmate From: A graveyard of dreams |
posted 12-12-2003 23:56
That fixed it! Thanks a lot |