Jump to content

[SOLVED] Change away from localhost? (XAMPP)


Voldemort

Recommended Posts

I installed XAMPP on my 4 GB flash drive, and I was wondering if there was a way to make it so I don't have to use localhost to access the files. My school blocks localhost under it's filter, and I'd rather not use my proxy every time I want to test a PHP file. It's installed in F:\Server

 

So basically, can a change a setting so I can use F:\Server\file.php instead of http://localhost/file.php?

 

Oh, and I can't use 127.0.0.1 - it blocks all IPs.

Link to comment
Share on other sites

You can set up a V-host file and use that name.

 

See my post about xampp v-host config at http://www.phpfreaks.com/forums/index.php/topic,136463.0.html

 

 

*edit*

 

I just realized that you would have to edit the host file to respond to that name... have you tried simply typing 127.0.0.1 in the address bar? Does it block that to?

Voldemort said 127.0.0.1 didn't work:

Oh, and I can't use 127.0.0.1 - it blocks all IPs.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.