Skip to content
This repository was archived by the owner on Mar 31, 2020. It is now read-only.

Dodavanje vhosta

almirsarajcic edited this page Dec 7, 2012 · 1 revision

Otvoriti C:/Windows/System32/drivers/etc i dodati
127.0.0.1 dotaba
Zatim otvoriti C:/xampp/apache/conf/extra/httpd-vhosts.conf i dodati:

<VirtualHost *:80>
    DocumentRoot "C:/xampp/htdocs"
    ServerName localhost
    <Directory "C:/xampp/htdocs">
        AllowOverride All
        Order Allow,Deny
        Allow from all
        Require all granted
    </Directory>
</VirtualHost>
<VirtualHost *:80>
    DocumentRoot "C:/xampp/htdocs/dotaba"
    ServerName dotaba
    <Directory "C:/xampp/htdocs/dotaba">
        AllowOverride All
        Order Allow,Deny
        Allow from all
        Require all granted
    </Directory>
</VirtualHost>

Nakon toga restartovati server.

Clone this wiki locally