[問題] apache directory設定
目前作業系統為ubuntu
目標要完成的事:讓www/html/test/index.php成功在瀏覽器上出現
目前的設定為:
apach2.conf
<Directory /var/www/html/test>
Options FollowSymLinks
AllowOverride All
Order deny,allow
Allow from All
</Directory>
000-default.conf
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/test
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
test資料夾無腦設定為777
現在網頁上出現的是Internal Server Error
error.log的錯誤訊息為
/var/www/.htaccess: <IfModule not allowed here
為什麼會噴錯誤在不是我目標的資料夾啊...
希望有大大可以救救我QAQ
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 36.228.143.93
※ 文章網址: https://www.ptt.cc/bbs/Web_Design/M.1483769362.A.702.html
※ 編輯: frank60116 (36.228.143.93), 01/07/2017 14:11:38
推
01/08 00:02, , 1F
01/08 00:02, 1F
→
01/08 00:03, , 2F
01/08 00:03, 2F
Web_Design 近期熱門文章
PTT數位生活區 即時熱門文章