Answer the question
In order to leave comments, you need to log in
How to setup virtual hosts on local server (ubuntu, xampp)?
Hello everyone, for half a day I can’t figure out what’s going on
with httpd-vhosts.conf:
<VirtualHost *:80>
DocumentRoot "/opt/lampp/htdocs"
ServerName localhost
<Directory "/opt/lampp/htdocs>
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/opt/lampp/htdocs/testsite"
ServerName testsite
LogLevel debug
<Directory "/opt/lampp/htdocs/testsite>
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question