1

我正在安装fuelcms,除了文件权限外,我按照指南中的说明进行操作,因为我在Windows上使用xampp。

我在文件中正确更改了配置,但是当我使用此链接导航时,我重定向到 xampp 索引页面。

http://localhost/fuelcms/fuel

我不知道如何正确安装它。

4

1 回答 1

1

我发现了同样的问题,并通过更改位于燃料文件夹根目录中的 .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/$0 [L]

# Prevents access to dot files (.git, .htaccess) - security.
RewriteCond %{SCRIPT_FILENAME} -d
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)\." - [F]

</IfModule>
Options -Indexes
于 2015-07-20T22:31:18.593 回答