Jump to content
The Uniform Server Community

Recommended Posts

Posted

I open up start.bat or whatever it's called. Then the apanel comes up and I scroll down under tools and click on Admin Virtual Hosts and I get this error:

 

» Virtual Host

Error in path to your hosts-file!

 

How do I fix this? Thanks

Posted

nvm, I figured out that part, but here is the real problem!

 

You have 1 hosts in your httpd.conf file: 
localhost:80

Error in hosts file: localhost:80 does not exist

 

This is the pre-exisiting one, now why does localhost not exist when the server is started.

  • 5 years later...
Posted

nvm, I figured out that part, but here is the real problem!

 

You have 1 hosts in your httpd.conf file: 
localhost:80

Error in hosts file: localhost:80 does not exist

 

This is the pre-exisiting one, now why does localhost not exist when the server is started.

 

 

So what was the fix please.. been looking for 4 days now.

Thank you

Posted

Edit your “host” file!

For XP found in folder C:\WINDOWS\system32\drivers\etc

Add line:

127.0.0.1 localhost:80

 

Trying that.. It is a round robin, trying to find something that should be a simple fix. but finding the info is terrible..the errors are

[19-Feb-2011 23:09:52] PHP Notice:  Undefined index:  submit in G:\home\admin\www\mqsetup.php on line 43

[19-Feb-2011 23:09:52] PHP Notice:  Undefined variable: PHP_SELF in G:\home\admin\www\mqsetup.php on line 114

[20-Feb-2011 01:16:02] PHP Notice:  Undefined index:  windir in G:\home\admin\www\vhost.php on line 21

[20-Feb-2011 01:16:12] PHP Notice:  Undefined index:  submit in G:\home\admin\www\apsetup.php on line 24

[20-Feb-2011 01:16:12] PHP Notice:  Undefined variable: PHP_SELF in G:\home\admin\www\apsetup.php on line 64

[20-Feb-2011 01:16:27] PHP Notice:  Undefined index:  submit in G:\home\admin\www\psetup.php on line 24

[20-Feb-2011 01:16:27] PHP Notice:  Undefined variable: PHP_SELF in G:\home\admin\www\psetup.php on line 64

[21-Feb-2011 10:44:42] PHP Notice:  Undefined index:  submit in G:\home\admin\www\migrate.php on line 17

[21-Feb-2011 10:44:42] PHP Notice:  Undefined variable: PHP_SELF in G:\home\admin\www\migrate.php on line 73

[21-Feb-2011 10:44:42] PHP Notice:  Undefined variable: PHP_SELF in G:\home\admin\www\migrate.php on line 84

[21-Feb-2011 10:45:18] PHP Notice:  Undefined index:  windir in G:\home\admin\www\vhost.php on line 21

SO I gave up trying to use the admin panel to make VHost and made a VirtualHost manually in httpd.conf under and a funny thing I have never experenced before .. I get a 403 error saying i need to log in. and I remed out the htaccess in /www and put the virtualHost in a sub of /www/var.

 

It has to be a config thing that I can not find. ;)

Christine

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.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...