Cara membuat alias direktory di Apache


1.edit aja scrip di directori apachenya

2. lalu copikan script berikut

Alias /data “/home/arif/data”
<Directory /home/arif/data>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
AddType text/plain gz
AddEncoding x-gzip gz
</Directory>

nb : direktori yang pengen di aliaskan adalah terletak di /home/arif/data

sedangkan alias ayang ingin di buat /data sehingga nantinya alamatnya adalah http://127.0.0.1/data

Uncategorized

One thought on “Cara membuat alias direktory di Apache

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