6
Tôi đang cố gắng sử dụng fuelcms trong máy chủ đèn linux của tôi. Nhưng tôi không thể làm htaccess để làm việc. thư mục nhà của tôi là ytsejam/fuel_cms/..FUELCMS (codeigniter) htaccess: thứ tự nhận một đối số, 'cho phép, từ chối', 'từ chối, cho phép', lỗi
này được tập tin .htaccess của tôi:
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
/var/log/httpd/error_logs thấy
/home/ytsejam/public_html/fuel_cms/.htaccess: order takes one argument, 'allow,deny', 'deny,allow', or 'mutual-failure'
bất cứ ai có thể giúp tôi?
Nhờ nó hoạt động ngay bây giờ. – ytsejam
Cảm ơn! Tôi lãng phí 30 phút để tìm ra lý do tại sao nó không hoạt động – Riho