![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Nginx
Purgatory001
php是世界上最好的语言
展开
-
PHP 隐藏入口文件Apache
<IfModule mod_rewrite.c>Options +FollowSymlinks -MultiviewsRewriteEngine onRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]</IfModule>原文链接https://blog.csdn.net/wanganj...转载 2021-09-08 11:31:07 · 123 阅读 · 0 评论 -
phpstudy 伪静态
我也不知道为什么要叫伪静态,领悟不够深刻。作用是 访问时url可以少写个 index.php。弊端也存在,入口不是唯一的话,比如是index2.php 此时你要是还想隐藏index2.php的话实现方案:1.在index.php中这个唯一入口检索index2.php,从而 匹配到时 进行再一步隐藏,有种自欺欺人的感觉2.在index.php入口中检索所有功能,不存在则跳转 第二入口 再进行url隐藏Nginx1.15.11location / { if (!-e $r...原创 2021-02-23 14:29:53 · 2355 阅读 · 0 评论