localhost

How to set the DOCUMENT_ROOT and site root in my local PHP dev setup?

I'm doing a job for a guy with a site online. It's an alien site to me, and I'm slowly working through the strange code. I have MAMP locally and my http://localhost/ has many client folders coming off from that. Inside this code there is a lot of $_SERVER['document_root'] commands and references like which are just getting lost on my lo...

Basic apache server, mapping 127.0.0.1, to 10.0.0.7:8000

I'm working on this project where the client has a virtual server setup. I installed apache and such and got everything working fine on localhost. But in order for it to show up on the internets, the people that run this virtual server needs me to: "If you try and reach 10.0.0.7:8000 you do not come to the index page but if you do loca...

http://localhost/ not working on Windows 7. What's the problem?

I have a big problem opening http://localhost/ on Windows 7 (beta). I installed this os and everything went great; when I installed Wamp I saw that localhost is not working at all. I just see this error: Failed to Connect Firefox can't establish a connection to the server at localhost. in Mozilla and Explorer. I removed Wamp ...

Localhost not working on XAMPP - both service apache & mysql are fine

My xampp installation 1.7.1 does not seem to work. http://localhost returns not found error. Xampp Control panel shows both mysql & apache service running fine. I'am on windows vista. Frustrated since past 2 weeks to find a solution to this. Any pointers and support will be appreciated! Thanks a ton folks. ...

apache localhost sites opening in Firefox, but not IE or Safari?

I'm running WAMP on Vista and have Apache virtual hosts and my hosts file all set up to allow me to test sites locally using an address like this: http://testsitex.localhost:8080 Only problem is, it only works in Firefox. IE and Safari (currently the only other browsers I've tried, and the two I'm most concerned about) display an an er...

How to display localhost traffic in Fiddler while debugging an ASP.NET application?

How do I display localhost traffic in Fiddler while debugging an ASP.NET application? ...

Is it possible to simulate subdomain on a development machine?

I am trying to set up a subdomain on my website but i am having a hard time getting it to work. Especially since the only way i can test it is by sending all the files needed from my development machine to the hosting server (and sometimes breaking the website). i am using asp.net on an IIS7 servers Is there an easy way to do the settin...

Can't access localhost/iis after installing Oracle and loopback adaptor

Recently I installed Oracle and the required Microsoft Loopback Adaptor, which worked fine. However, this seems to have screwed up IIS (or at least its interaction with Visual Studio) somehow. I can't connect to localhost or 127.0.0.1 anymore, and I can't even open a web project in Visual Studio 2008 (which used to work fine), getting th...

How to access site running apache server over lan without internet connection.

I am running a server on Windows XP SP2 computer using EasyPhp. Lets call it computer_1. The ip address of computer is 192.168.1.2 Now I have another computer ( computer_2) on the lan with ip address 192.168.1.3 I want to access the site on computer_1 from computer_2. comupter_2 can ping computer_1 (ping 192.168.1.2 works) But when I...

getting "authentication required" whith domain added to host file

In order to debug my website subdomain i added an entry in the host file located at system32/drivers/etc/ but although i don't run into any problem on a vista machine, on an xp one, the browser is popping out a login message box and asks for authentication information. How can i fix this and make it work just like it does on a vista mach...

how to access a URI of a DTD file on my local machine?

Hi Everyoone, i have a DTD file which i used to accessed through this link: http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd Now i want that i should be able to access this file on my local machine without any web access.I was using WebRequest to access this URI. Can any of you tell me how to access it using Dictionary or any other Cl...

FF3 redirects from remote IP to localhost after form submission

I'm accessing another computer on the network, using the local ip (eg. 10.1.1.59:8080). Login page loads nicely but after form submission firefox (3) redirects to localhost instead of remote IP. IE6/7/8 give no problems so it seems to be a firefox problem. Any ideas? ...

Redirect localhost through proxy?

I have a HTTP proxy running at localhost:1234. The proxy works fine for all web requests I make. I have a server running at localhost:4567 . I want HTTP requests to my server to go through my proxy. Should be simple, right? Is there a way to make IE or any other browser do this? ...

Localhost subdomain on XP Pro IIS?

Is there a way to setup subdomains udner Xp Pro IIS for something like test.localhost Can it be done via IIS or the hosts file? Need to do a tets on a site that uses pathign back to the root so having the site ina virtual directory like localhost/test causes issues. ...

Unable to contact IP driver, error code 5 ... vista

When I try to do on my Vista Laptop with wireless network adapter the C:\Users\Guest>ping 127.0.0.1 I get: Unable to contact IP driver, error code 5, any ideas ? ...

What do you prefer for showing your local rails projects to friends?

I develop my rails applications at my local machine. How can I easily show friends of mine the current state of the project? I have heard of tunnlr, but I am a poor student that looks for a free solution:-) Best regards ...

Firefox 3: Enable AJAX to localhost from outside domain

Hello, I am running a HTTP server on my development machine. I have a website, on some web server on the Internet. How can I get Firefox to allow communication from this website to localhost temporarily while I develop? Thanks, Isaac Waller ...

localhost doesnot connect in offline mode?

have not tested on windows. but in ubuntu when u disconnect from the network, start ur Apache, and enter localhost in any browser, it does not shows ur localhost page, it is suppose to show. ...

Fiddler - letting localhost pass through (not debugging localhost) how?

I need to use fiddler to block traffic to a site using autoresponder when working with localhost (as localhost). My question is how to make fiddler transparent to localhost traffic. I don't necessarily need the localhost traffic to go through fiddler, I just don't want fiddler to block it. I did it in the past after some research but un...

Version Control for Local Website (XAMPP)

Hello I am working on a shopping cart which is installed locally via xampp. The files are stored in: D:/xampp/htdocs/cart Now I would like to start making coding changes and design changes, but I need to keep a track of what changes i make so that I can go back and forth. I would like to mention that I am the only developer working ...