看板 Web_Design 關於我們 聯絡資訊
目前作業系統為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
newversion: 搬到 /var/www/html/test/.htaccess ? 01/08 00:02
newversion: 另法 <Directory /var/www> AllowOverride All 01/08 00:03