Because using the <base> tag is giving me some problems lately, I'm curious about what the best solution is to use together with mod rewrite.

I use mod rewrite a lot, and the <base> tag helps me to keep the links to my css files, for example, working. I link to those css files in a way of ../, and if I rewrite my url using mod_rewrite, ../ would point to the wrong directory.

So my question would be: How can I point to my css files correctly when using mod_rewrite, without using the <base> tag (in PHP)?

6 Years
Discussion Span
Last Post by minitauros
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.