无法安装 FUELCMS 无法正确重定向到页面
Can't install FUELCMS not redirecting to page properly
我正在安装 fuelcms 我按照指南中的说明进行操作,但文件权限除外,因为我在 windows.
上使用 xampp
我在文件中正确更改了配置,但是当我使用此 link 导航时,我重定向到 xampp 索引页面。
http://localhost/fuelcms/fuel
不知道如何正确安装
我发现了同样的问题,并通过更改位于 fuel 文件夹根目录中的 .htaccess 来解决,就像它在安装页面中所要求的那样。在你的情况下,你必须确保你的 htaccess 是这样的:
Options +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /fuelcms
<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/.+) - [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/[=10=] [L]
# Prevents access to dot files (.git, .htaccess) - security.
RewriteCond %{SCRIPT_FILENAME} -d
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)\." - [F]
</IfModule>
Options -Indexes
我正在安装 fuelcms 我按照指南中的说明进行操作,但文件权限除外,因为我在 windows.
上使用 xampp我在文件中正确更改了配置,但是当我使用此 link 导航时,我重定向到 xampp 索引页面。
http://localhost/fuelcms/fuel
不知道如何正确安装
我发现了同样的问题,并通过更改位于 fuel 文件夹根目录中的 .htaccess 来解决,就像它在安装页面中所要求的那样。在你的情况下,你必须确保你的 htaccess 是这样的:
Options +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /fuelcms
<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/.+) - [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/[=10=] [L]
# Prevents access to dot files (.git, .htaccess) - security.
RewriteCond %{SCRIPT_FILENAME} -d
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)\." - [F]
</IfModule>
Options -Indexes