Wie Setup VirtualHost für neue Domain-Namen auf Linux? Genau wie,SetUp Apache VirtualHost (CentOs)
zu /opt/lampp/htdocs/weblog.localhost/mvc_htdocs lenken Und ich dies in hinzugefügt/opt/lampp/etc/extra/httpd-vhosts.conf
> NameVirtualHost *:80
>
> <VirtualHost *:80>
> DocumentRoot "/opt/lampp/htdocs"
> ServerName localhost
> </VirtualHost>
>
> <VirtualHost *:80>
> DocumentRoot "/opt/lampp/htdocs/weblog.localhost/mvc_htdocs"
> ServerName weblog.localhost
> DirectoryIndex index.php index.html
> </VirtualHost>
I # entfernt vor Fügen etc/extra/httpd-vhosts.conf in /opt/lampp/etc/httpd.conf
Aber eine leere Webseite erscheint, wenn ich meine neue Domain eingeben.
Bitte geben Sie mir eine Hilfe. Danke :)