RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
RewriteRule ^([a-zA-Z0-9]+)$ photo?p=$1
RewriteRule ^page/([a-zA-Z0-9]+)$ index?page=$1 // up to this point included works fine
RewriteRule ^waitingroom/page/([a-zA-Z0-9]+)$ waitingroom?page=$1 //doesnt work, 500 error
photo, index 和 waitingroom 其实都是 php 文件,比如 photo.php,index.php,waitingroom.php
它在与之前的相同的最后一个重写规则旁边工作 :( 在我切换到 hostgator 之前它工作正常
我的语法有什么问题?