So, I want to have FB enabled on localhost/somesite, but disabled on
localhost/anothersite for example, is there any way of achieving this?
| SitePoint Sponsor |
So, I want to have FB enabled on localhost/somesite, but disabled on
localhost/anothersite for example, is there any way of achieving this?

Not unless you wrote an add-on for the firebug framework to achieve this directly. Though I have absolutely no idea why you would ever want to disable firebug in preference to just turning it on and off as you need it.![]()
Why not use different domains for each one of your projects/sites? Developing everything from a single point (localhost domain) IMO, is going about it the wrong way. I have a central site for testing snipplets of code at sandbox.loc, other sites and projects are given there own domain with a suffix .loc. Isolation/Seperation of sites.
localhost/somesite == Bad setup, IMHO.
Hmm, never thought of that... The current solution has worked perfectly fine so far though.
But I must agree it's not the most ideal method (localhost/sitename). Let me do some Googling, I'd like to figure out how to setup localhost, on apache and IIS, the way you just explained.
Cheers
Bookmarks