博学而笃志 切问而近思 仁在其中
详情
APMServ的rewrite方法
作者:Aliot     发布时间:2017-07-02     评论:0     阅读:0

APMServ的rewrite方法

时间:2010-01-20 张宴

在httpd.conf中手工设置。

示例:将http://127.0.0.1/跳转到http://127.0.0.1/phpinfo.php

#APMServ默认虚拟主机
NameVirtualHost *:80

ServerName *
DocumentRoot "D:/APMServ5.2.6/www/htdocs"
RewriteEngine On
RewriteRule ^/$ /phpinfo.php [R=301]

Options FollowSymLinks IncludesNOEXEC Indexes
DirectoryIndex index.html index.htm default.htm index.php default.php index.cgi default.cgi index.pl default.pl index.shtml
AllowOverride None
Order Deny,Allow
Allow from all


下一篇:测试
相关文章
loading......
最新动态
所有评论

loading......

网站声明:
本站部分内容来自网络,如您发现本站内容
侵害到您的利益,请联系本站管理员处理。
联系站长
373515719@qq.com
关于本站:
编程参考手册