Posted by:
flutschit
(---.ftth.telfortglasvezel.nl)
1 - Windows version used (Specify version number AND whether 32 or 64 bit) - Window 7 64 bit
2 - Version WampServer (Specify version number AND whether 32 or 64 bit) – Wamp 3 64 bit
3 - Apache Version – 2,4.17
4 - PHP Version – 5.6.16 ( I see in Wampserver also that I can use 7.0.0??)
5 - MySQL Version – 5.7.9
6 - What color is the WampServer icon (in the notification area of the taskbar) - Green
My I just aks 1 question, becaus i had excatly the same error
1) what, if we want a pc from outside my local network??
I found this sample on [
httpd.apache.org]
-> Listen 80
Listen 8080
<VirtualHost 172.20.30.40:80>
ServerName www.example.com
DocumentRoot "/www/domain-80"
</VirtualHost>
<VirtualHost 172.20.30.40:8080>
ServerName www.example.com
DocumentRoot "/www/domain-8080"
</VirtualHost>
<VirtualHost 172.20.30.40:80>
ServerName www.example.org
DocumentRoot "/www/otherdomain-80"
</VirtualHost>
<VirtualHost 172.20.30.40:8080>
ServerName www.example.org
DocumentRoot "/www/otherdomain-8080"
</VirtualHost>
My httpd-vhost file was:
# wamp64
<VirtualHost *:8080>
DocumentRoot "C:/wamp64/www"
ServerName localhost
ServerAlias localhost.com www.localhost.com
<Directory "C:/wamp64/www/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require local
# Require all granted
</Directory>
</VirtualHost>
# cm2rc.local
<VirtualHost *:8080>
# *:8080>
DocumentRoot "g:/sitefolder/cm2rc"
ServerName www.cm2rc.local
<Directory "/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
# Require local
# Order allow,deny
# Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:8081>
DocumentRoot "g:/sitefolder/cm2rc"
ServerName www.cm2rc.local2
<Directory "/">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Require all granted
# Require local
# Order allow,deny
# Allow from all
</Directory>
</VirtualHost>
Please, I'm greener than green
Edited 1 time(s). Last edit at 04/04/2016 06:38PM by Otomatic.