Web Programming

Treating a Subdirectory Like a Root Web Directory in XAMPP

Works in Windows 7

tambahkan line berikut di file host(c:\windows\system32\drivers\etc):
# 127.0.0.1 gpibimmanuelbpn.org

Kemudian tambahkan line berikut di file httpd-vhosts.conf (C:\XAMPPLITE\apache\conf\extra):

<VirtualHost *:80>
DocumentRoot “C:/xampplite/htdocs/gpibimmanuelbpn.org”
ServerName gpibimmanuelbpn.org
</VirtualHost>

Leave a Reply