I am trying to build an application with prettier urls (no query strings). So far I've had no problems because I've always just used a full url to my stylesheets. Well... I would like to be able to use a relative path and not have to define a wwwroot variable in my config.
So my html would look like this:
well I thought about the base tag as well, but that is sort of just going around the problem. I thought there was a way to do what I want without the base tag.
EDIT: I remember reading somewhere on this forum that when using pretty urls, you have to use absolute paths anyway, so this is what I'm doing until I can find something better (if it even exists)
if you don't mind the index.php in there i've done it w/o mod_rewrite. it was the biggest conversion that i've had to do to my system to date. didn't kill me but dammit man, it wasn't terribly fun lmao
My older solution was to rewrite everything EXCEPT .css .jpg .gif .png .js etc. etc etc... that way the requests still go through, but you can still access the images/css/js via relative urls...
I also don't see the base tag as being a work-around, as it is part of the language for purposes such as this...