求助一个文件转换为 nginx

2016 年 12 月 13 日
 xiaoyu9527

Turn on URL rewriting

RewriteEngine On

Installation directory

RewriteBase /plugins/support

Protect hidden files from being viewed

<Files .*> Order Deny,Allow Deny From All </files>

Protect application and system files from being viewed

RewriteRule ^(?:application|modules|system)\b.* index.php/$0 [L]

Allow any files or directories that exist to be displayed directly

RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d

Rewrite all other URLs to index.php/URL

RewriteRule .* index.php/$0 [PT]

求助一下求助一下

1813 次点击
所在节点    问与答
6 条回复
xiaoyu9527
2016 年 12 月 13 日
htacess 转换为 nginx
xiaoyu9527
2016 年 12 月 13 日
这个好难
mN71eOOprFyMsnPx
2016 年 12 月 13 日
Zzzzzzzzz
2016 年 12 月 13 日
try_files 到 index.php 就好了, 不用 rewrite
em998
2016 年 12 月 13 日
antlr
xiaoyu9527
2016 年 12 月 13 日
@Zzzzzzzzz 我看不懂呀
@FifiLyu 在线转换不行
@wancaibida 我看不懂呀

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://v2ex.ih06.com/t/327265

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX