yts*_*jam 7 php .htaccess codeigniter
我试图在我的arch linux灯服务器中使用fuelcms.但我不能让htaccess工作.我的主文件夹是ytsejam/fuel_cms/..
这是我的.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
Run Code Online (Sandbox Code Playgroud)
/ var/log/httpd/error_logs显示了这一点
/home/ytsejam/public_html/fuel_cms/.htaccess: order takes one argument, 'allow,deny', 'deny,allow', or 'mutual-failure'
Run Code Online (Sandbox Code Playgroud)
谁能帮我 ?
| 归档时间: |
|
| 查看次数: |
5614 次 |
| 最近记录: |