6
我想在我的arch linux燈服務器中使用fuelcms。但我不能讓htaccess工作。我的主文件夾ytsejam/fuel_cms/..FUELCMS(codeigniter)htaccess:命令需要一個參數,'允許,拒絕','拒絕,允許',錯誤
這是我的.htaccess文件:
Options +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
<Files .*>
Order deny, allow
Deny From All
</Files>
# Allow asset folders through
RewriteRule ^(fuel/modules/(.+)?/assets/(.+)) - [L]
# Protect application and system files from being viewed
RewriteRule ^(fuel/install/.+|fuel/crons/.+|fuel/data_backup/.+|fuel/codeigniter/.+|fuel/modules/.+|fuel/application/.+|\.git.+) - [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php?/$0 [L]
</IfModule>
Options -Indexes
/無功/日誌/的httpd/error_logs表明
/home/ytsejam/public_html/fuel_cms/.htaccess: order takes one argument, 'allow,deny', 'deny,allow', or 'mutual-failure'
誰能幫助我?
感謝現在的工作。 – ytsejam 2012-07-27 07:15:07
謝謝!我浪費了30分鐘來判斷爲什麼它不起作用 – Riho 2015-05-28 12:24:49