問題模擬:
有客戶想要在iSherlock 主機上開放 Port 80, 放 OpenWebMail, 在 Port 1025 放 iSherlock 的個人化程式, 該如何設定呢?
#vi /etc/httpd/conf/httpd.conf
在
Alias /icons/ "/home/httpd/icons/"
<Directory "/home/httpd/icons">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
下新增
Alias /user/ "/usr/local/iSherlock/user/"
<Directory "/usr/local/iSherlock/user/">
DirectoryIndex index.php
Options -Indexes FollowSymLinks MultiViews
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
不懂得 alias 是什麼?請參考文件…