Virtual hosts in Apache 2.4.9
Posted by: caydee (---.dip0.t-ipconnect.de)
Date: December 04, 2014 06:44PM

Hi Riggsfolly,

I changed my system and therefore also my wampserver to the latest 32bit version. It installed and worked correctly along with the setting :

# Virtual hosts
# Include conf/extra/httpd-vhosts.conf
Include conf/extra/httpd-vhosts.conf
 #(uncommented it)

As soon as I configured a virtual host site in Dreamweaver CC, by entering my previous Virtualhost sites into httpd-vhosts, apache service refused to load.

Checking the syntax as showed in your instructions, it found now 2 syntax errors:

1. Error in the httpd.conf
2. Error in the httpd-vhosts.conf which it said was not a closed virtual host (though it was correctly closed..)

On uncommenting the string in the httpd.conf file, both syntax errors went away and the icon once again turned green.

When I now load the site, Google Chrome Browser gives an error:

Not Found
The requested URL /block_tabs.html was not found on this server.
________________________________________
Apache/2.4.9 (Win32) PHP/5.5.12 Server at vw-scss.dev Port 80


My Virtual host sites are configured the way you showed me and that seems in order with your new instructions:

#
<VirtualHost *:80>

ServerAdmin webmaster[at]v-w.c
DocumentRoot "C:/Mysites/vw-scss"
serverName vw-scss.dev
ServerAlias www.vw-scss.dev
Options Indexes FollowSymLinks

<Directory "C:/websites/vw-scss">
AllowOverride All
#Require all granted
Require local
</Directory>

</VirtualHost>
#


Can you please suggest why it is asking for the commented Virtual Host or where am I goofing it up?

Warm regards and thanks,

Caydee

Caydee

IN ALL THINGS BE MEN
Windows 10 x64 | WAMP 3.3.2 - x64 | Apache 2.4.58 | MySQL 8.2.0 | PHP 8.2.13 | PHPMyAdmin 5.2.0

Options: ReplyQuote
Re: Virtual hosts in Apache 2.4.9
Posted by: caydee (---.dip0.t-ipconnect.de)
Date: December 04, 2014 07:26PM

Hi Riggsfolly,

All is well at the waterfront!

There actually was an error in the httpd-hosts.

Have a nice evening,

Caydee

Options: ReplyQuote
Re: Virtual hosts in Apache 2.4.9
Posted by: RiggsFolly (---.as43234.net)
Date: December 04, 2014 08:06PM

Hi Caydee.

Well that was eady to fix.

More like that please.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.