File .htaccess Supaya Terbaca Oleh VirtualHost Centos


Ada yang pernah setting virtual host di centos dan mengalami pada masalah tidak bisa membaca .htaccess file, silahkan di ganti config virtualhostnya deganmenggunakan config di bawah ini :

<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot /var/www/html/webkms/
    <Directory /var/www/html/webkms/>
        AllowOverride All
        Order allow,deny
        allow from all
    </Directory>
    AccessFileName .htaccess
    ServerName www.kumisgroup.com
    ErrorLog logs/www.kumisgroup.com-error_log
    CustomLog logs/www.kumisgroup.com-access_log common
</VirtualHost>

Semoga bisa membantu kawan – kawan

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s