Can't Restart Apache After Changing "Include" Option For Vhosts
Posted by: rainmaker002 (---.vc.shawcable.net)
Date: January 02, 2008 08:16PM

When I remove # in front of
#Include conf/extra/httpd-vhosts.conf

Apache refuses to restart. Nothing in the error log to indicate why that might be occuring. The httpd-vhosts.conf is still the default file with no alterations so I can't imagine that there is a syntax error in there either.

Any thoughts?

Options: ReplyQuote
Re: Can't Restart Apache After Changing "Include" Option For Vhosts
Posted by: yfastud (Moderator)
Date: January 02, 2008 08:25PM

You must replace those 2 dummy vh w/ your real vh and already has all folders in place that associate w/ your vh

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Can't Restart Apache After Changing "Include" Option For Vhosts
Posted by: rainmaker002 (---.vc.shawcable.net)
Date: January 02, 2008 10:34PM

This is what I've tried:

# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
DocumentRoot "C:\internet\wamp\www\gallery2"
ServerName gallery.domain.net
ErrorLog "logs/gallery.localhost-error_log"
CustomLog "logs/gallery.localhost-access_log common"
</VirtualHost>

And still no dice.. Not sure what I'm missing.

Options: ReplyQuote
Re: Can't Restart Apache After Changing "Include" Option For Vhosts
Posted by: yfastud (Moderator)
Date: January 02, 2008 10:39PM

Quote

When I remove # in front of
#Include conf/extra/httpd-vhosts.conf

Apache refuses to restart.
make sure there is no space in front of that line and restart wamp to take effect

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: Can't Restart Apache After Changing "Include" Option For Vhosts
Posted by: rainmaker002 (---.vc.shawcable.net)
Date: January 02, 2008 10:41PM

No luck. I change:

# Virtual hosts
#Include conf/extra/httpd-vhosts.conf

To be

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

and it won't restart. I even tried removing the first line....

Options: ReplyQuote


Sorry, only registered users may post in this forum.