Mengaktifkan Virtual Host di Lampp

Wednesday, June 27, 2012 , 0 Comments

Langsung aja daah !!
buka /opt/lampp/etc/httpd.conf
hilangkan tanda # pada baris
Include etc/extra/httpd-vhosts.conf
buka /opt/lampp/etc/extra/httpd_vhost.conf

    ServerAdmin admin@elearning.com
    DocumentRoot /opt/lampp/htdocs/moodle # ganti dengan tempat menyimpan file anda
    ServerName www.elearning.com
    ServerAlias elearning.com
    ErrorLog logs/elearning.com-error_log
    CustomLog logs/elearning.com-access_log common

ganti semua elearning.com dengan domain anda
dan restart lamppnya

dharmo

Some say he’s half man half fish, others say he’s more of a seventy/thirty split. Either way he’s a fishy bastard. Google

0 comments: