virtualHost problem
Posted by: dogrrific (---.hsd1.ct.comcast.net)
Date: November 19, 2009 07:15PM

In www I have a dir named example ( a full site with index etc...)
as is does not load correctly.
I followed your tutorial
uncommented v host in httpd.conf
and modified as follow httpd-vhosts.conf

NameVirtualHost *:80
<VirtualHost *:80>
ServerName example
DocumentRoot C:/wamp/www/example
#ErrorLog C:/wamp/www/example/logs/error.log
#CustomLog C:/wamp/www/example/logs/access.log common
</VirtualHost>

<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www
#ErrorLog C:/wamp/www/logs/error.log
#CustomLog C:/wamp/www/logs/access.log common
</VirtualHost>

that's the only content in httpd-vhosts, I commented the other dir because I need to make it working first.

the windows hosts files in also modified accordingly
httpd restarts fine
so, what do you thing is wrong in my setup?
Thanks
Regards

Options: ReplyQuote
Re: virtualHost problem
Posted by: dogrrific (---.hsd1.ct.comcast.net)
Date: November 20, 2009 03:24PM

Anyone?
Hate to bump myself to the top
but this needs to be resolved, I do not wish uninstalling it.
thanks

Options: ReplyQuote
Re: virtualHost problem
Posted by: stevenmartin99 (92.251.255.---)
Date: November 20, 2009 03:43PM

does the logs folder exist in both?

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: virtualHost problem
Posted by: dogrrific (---.hsd1.ct.comcast.net)
Date: November 20, 2009 03:55PM

No as I mentionned I was waiting to have it working first, shall I do it now?
thanks for your answer.

Options: ReplyQuote
Re: virtualHost problem
Posted by: stevenmartin99 (92.251.255.---)
Date: November 20, 2009 03:57PM

it might now work if they dont exist.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: virtualHost problem
Posted by: dogrrific (---.hsd1.ct.comcast.net)
Date: November 20, 2009 04:05PM

I am trying now to add the folders
but it did not work without then and the folders were commentd in conf

Options: ReplyQuote
Re: virtualHost problem
Posted by: dogrrific (---.hsd1.ct.comcast.net)
Date: November 20, 2009 04:13PM

Error logs
in a nut shell the problem lies in: virtual host is not properly set
reason: still looking for script and img in www
and not in www/mysite/whatever.....

Options: ReplyQuote
Re: virtualHost problem
Posted by: dogrrific (---.hsd1.ct.comcast.net)
Date: November 20, 2009 04:27PM

Guess I made it working
I was still calling it through localhost/mysite
instead of mysite directly
thanks for trying to help

Options: ReplyQuote
Re: virtualHost problem
Posted by: yfastud (Moderator)
Date: November 21, 2009 06:52PM


Options: ReplyQuote


Sorry, only registered users may post in this forum.