simardbrad Posted December 31, 2005 Report Share Posted December 31, 2005 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 Quote Link to comment Share on other sites More sharing options...
simardbrad Posted December 31, 2005 Author Report Share Posted December 31, 2005 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. Quote Link to comment Share on other sites More sharing options...
olajideolaolorun Posted December 31, 2005 Report Share Posted December 31, 2005 Because localhost is not real? Its not a real host. Quote Best Regards Olajide Olaolorun The Uniform Server Development Team Link to comment Share on other sites More sharing options...
meows Posted February 20, 2011 Report Share Posted February 20, 2011 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 Quote Link to comment Share on other sites More sharing options...
Coral Posted February 20, 2011 Report Share Posted February 20, 2011 Edit your “host” file!For XP found in folder C:\WINDOWS\system32\drivers\etcAdd line:127.0.0.1 localhost:80 Quote Link to comment Share on other sites More sharing options...
meows Posted February 21, 2011 Report Share Posted February 21, 2011 Edit your “host” file!For XP found in folder C:\WINDOWS\system32\drivers\etcAdd 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 21SO 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.