我在apache里绑定米后,为什么.htaccess就不能用了.?
这个是vBulletin论坛的伪html的插件,原来没有绑定域名的时候还可以使用的.
但是在加上
偶论坛的地址是:http://testbbs.ctrl.org.cn/newvbb , 麻烦各位看看~.小弟在这里先谢过啦~~呵呵.
<VirtualHost *:80>
ServerAdmin 71781@qq.com
DocumentRoot d:/web-server/bbs/newvbb
ServerName testbbs.ctrl.org.cn
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
就不能使用了,请问这是怎么回事啊?
自定义加的东西有..
<VirtualHost *:80>
ServerAdmin 71781@qq.com
DocumentRoot d:/web-server/bbs/newvbb
ServerName testbbs.ctrl.org.cn
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
# 支持PHP
ScriptAlias /php/ "E:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
# 绑定php4apache2.dll模块
# For PHP 4 do something like this:
LoadModule php4_module "E:/php/php4apache2.dll"
# Don't forget to copy the php4apache2.dll file from the sapi directory!
AddType application/x-httpd-php .php
# 伪静态
RewriteEngine on
RewriteRule ^(.*)-(.*)_(.*)-(.*)_(.*)-(.*)_(.*)-(.*)_(.*)-(.*)_(.*)-(.*)_(.*).cgi(.*)$ $1.php?#$2=$3&$4=$5&$6=$7&$8=$9&$10=$11&$12=$13$14
RewriteRule ^(.*)-(.*)_(.*)-(.*)_(.*)-(.*)_(.*)-(.*)_(.*)-(.*)_(.*).cgi(.*)$ $1.php?$2=$3&$4=$5&$6=$7&$8=$9&$10=$11$12
RewriteRule ^(.*)-(.*)_(.*)-(.*)_(.*)-(.*)_(.*)-(.*)_(.*).cgi(.*)$ $1.php?$2=$3&$4=$5&$6=$7&$8=$9$10
RewriteRule ^(.*)-(.*)_(.*)-(.*)_(.*)-(.*)_(.*).cgi(.*)$ $1.php?$2=$3&$4=$5&$6=$7$8
RewriteRule ^(.*)-(.*)_(.*)-(.*)_(.*).cgi(.*)$ $1.php?$2=$3&$4=$5$6
RewriteRule ^(.*)-(.*)_(.*).cgi(.*)$ $1.php?$2=$3$4
RewriteRule ^(.*).cgi$ $1.php








[求助]我在apache里绑定米后,为什么.htaccess就不能用了











平板模式