企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
如果将规则直接放入 httpd.conf 则需要在前面加 / ,看来 Apache 也反人类: <IfModulemod\_rewrite.c>RewriteEngine on RewriteCond%{REQUEST\_FILENAME}!-d RewriteCond%{REQUEST\_FILENAME}!-f RewriteRule^/admin/(.\*)\\.htm(.\*)$/admin/index.php?$1.htm$2\[L\]RewriteRule^/(.\*)\\.htm(.\*)$/index.php?$1.htm$2\[L\] </IfModule> 更多细节参考:<http://bbs.xiuno.com/thread-2.htm>