Hello
I try to create dynamic sub-domain (ex.: q1.world.com, w4.world.com, and ect) in new wamp 3.0.6, but get error:
The path c:/wamp64/www/%1/ for DocumentRoot does not exist (File c:/wamp64/bin/apache/apache2.4.23/conf/extra/httpd-vhosts.conf)
The path c:/wamp64/www/%1/ for <Directory ... does not exist (File c:/wamp64/bin/apache/apache2.4.23/conf/extra/httpd-vhosts.conf)
Duplicate ServerName world.com into c:/wamp64/bin/apache/apache2.4.23/conf/extra/httpd-vhosts.conf
This is my code in httpd-vhosts.conf:
<VirtualHost *:80>
ServerName world.com
ServerAlias *.world.com
DocumentRoot c:/wamp64/www/%1/
<Directory c:/wamp64/www/%1/>
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from all
</Directory>
</VirtualHost>
In previous version, it was work! Please help me!
I try to create dynamic sub-domain (ex.: q1.world.com, w4.world.com, and ect) in new wamp 3.0.6, but get error:
The path c:/wamp64/www/%1/ for DocumentRoot does not exist (File c:/wamp64/bin/apache/apache2.4.23/conf/extra/httpd-vhosts.conf)
The path c:/wamp64/www/%1/ for <Directory ... does not exist (File c:/wamp64/bin/apache/apache2.4.23/conf/extra/httpd-vhosts.conf)
Duplicate ServerName world.com into c:/wamp64/bin/apache/apache2.4.23/conf/extra/httpd-vhosts.conf
This is my code in httpd-vhosts.conf:
<VirtualHost *:80>
ServerName world.com
ServerAlias *.world.com
DocumentRoot c:/wamp64/www/%1/
<Directory c:/wamp64/www/%1/>
Options Indexes FollowSymLinks
AllowOverride all
Order Deny,Allow
Deny from all
Allow from all
</Directory>
</VirtualHost>
In previous version, it was work! Please help me!