Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Problem in dynamic sub-domain in new wamp (1 reply)

$
0
0
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!

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>