I'm running Apache and PHP under Windows and was wondering if it's possible to set-up sub-domains on my Localhost (127.0.0.1) ?
If not.. is there a way (maybe using .htaccess) to force the server into thinking that a directory is the server root? By that I mean if I was developing a site at //127.0.0.1/newsite/ and used a url in either html or php that looked something like /style/fonts.css it would actually point towards //127.0.0.1/newsite/style/ and not //127.0.0.1/style/
Hope that makes sense
The reason I'm asking is that a lot of new sites I'm working on need to refer to the server root (ie //127.0.0.1/) and it's a real pain in the rear having to shift sites into the server root ever time I need to work on them.
Hope you guys can help me out with this one.
Thanks in advance.
Si //