[英]Can't install FUELCMS not redirecting to page properly
我正在安裝我按照指南中的說明進行操作的fuelcms,但文件許可權除外,因為我在Windows上使用xampp。
我在文件中正確更改了配置,但是當我使用此鏈接導航時,我重定向到了xampp索引頁面。
http://localhost/fuelcms/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/$0 [L]
# Prevents access to dot files (.git, .htaccess) - security.
RewriteCond %{SCRIPT_FILENAME} -d
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)\." - [F]
</IfModule>
Options -Indexes
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.