0

我已经下载了燃料解压缩并将其放置在虚拟主机(虚拟主机X)中,它以fuel.site的形式出现,但不是欢迎页面,它只是出现了一个目录列表

changelog.md
docs(folder)
oil

如果我尝试手动转到公用文件夹,我会收到 403 错误,我需要配置什么才能让它运行?

我什至尝试了一个.htaccess文件

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /fuel/public
    RewriteRule ^(.*)$ /fuel/public/public/index.php/$1 [L]
</IfModule>

按照其他网站的建议在其中

4

2 回答 2

0

抱歉,我在使用 mamp 的 apache 设置中遇到了一些错误,现在工作正常,感谢您的帮助

于 2012-02-14T01:54:50.990 回答
0

如果您在这里找不到答案:http: //docs.fuelphp.com/installation/instructions.html#manual

你能告诉我目录/文件结构吗?公众/公众似乎有点偏离。并且重写基础应该只是/。像这样:

<IfModule mod_rewrite.c>
    RewriteEngine on
    RewriteBase /
    RewriteRule ^(.*)$ /fuel/public/index.php/$1 [L]
    # Sometimes it's: RewriteRule ^(.*)$ /fuel/public/index.php?/$1 [L]
</IfModule>
于 2012-01-18T20:48:41.187 回答