摘要:
假设httpd.conf里的 DocumentRoot 为 DocumentRoot "D:/Apache3W"使用<Directory>指令设置url重写,在httpd.conf写如下内容<Directory "D:/Apache3W"> RewriteEngine on RewriteRule ^([^\.]+)$ $1.php Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all</Directory>&l 阅读全文