using localhost as preferred server -...

User 464893 Photo


Ambassador
1,611 posts

Nico Sorry it does not work for you. I do not have Xamp loaded so I cannot test. I did try once but Xamp conflicted with Wamp. There is probably a simple reason. Xamp would have to be active and typing localhost and URL should work also. If you get that far then the program OpenLocal should work.

Basically all it does is read the first line in page.txt and puts that address in a execute statement calling the default browser as localhost. The page you want to view has to be in the Hdocs area I believe in Xamp it is in the www area as Inger mentioned in Wamp
The Guy from OZ


User 474778 Photo


Registered User
215 posts

Gentlemen,

You've got my vote (for whatever that may be worth). Here is yet another request for the option to route HTML Editor previews through localhost.

BTW, having enjoyed good, useful results with both Wampserver and XAMPP, I offer a recommendation: Standardize on Wampserver if you intend to develop only on Windows, since it is simpler to set up and use. Standardize on XAMPP if you intend to develop on Linux, Mac OS and Windows, since it is more universal.

I have a dual-booting Win XP-Pro 64-bit / Ubuntu Linux 12.04 64-bit development PC. Since Linux is (1) able to mount Windows filesystems and (2) supports symbolic links, I've found that it's possible to install XAMPP on both operating systems and then (when in Linux) direct Apache and MySQL to the necessary files on the Windows filesystem. That way, I can flip back & forth from one OS to the other to see how my Web design looks with OS-specific default font sets on multiple browsers.

For convenience, I do the same trick with Mozilla Firefox browser and Thunderbird email client.

I haven't tried this with Windows installed in a virtual machine, but I imagine it would work.

Nor have I tried it with Mac OS, but I imagine that the Linux roots of Mac OS would allow it to work as well. Please let me know if you try it.
halfnium -AT- alum.mit.edu
Yes, I looked just like that in 1962.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.