conf/httpd.include ?
你的 apache 是什麼版本?OS?我用過 apache 1.3 apache 2.2 都沒這個檔?
要寫在 conf/httpd.conf。 apache 2.2 若寫在其他檔案,必須在 httpd.conf 設定 Include,如:
代碼:
# Virtual hosts
Include conf/extra/httpd-vhosts.conf
出現 Internal Server Error,那 error.log 記錄什麼?假如是這種錯誤:
代碼:
Request exceeded the limit of 10 internal redirects due to probable configuration error.
那你把語法改成這個試試看:
代碼:
AliasMatch ^/$ /var/www/vhosts/xxoo.com/httpdocs/catalog/index.php
這邊有說明:
http://httpd.apache.org/docs/2.2/mod/mod_alias.html