htaccess url重定向问题

I have an htaccess (apache) file that has the following rules :

RewriteEngine on
RewriteRule questionnaire/login questionnaire/login.php
RewriteRule questionnaire/logout questionnaire/logout.php
RewriteRule questionnaire/account questionnaire/account.php
RewriteRule questionnaire/reopen/id/[(^/]+)$ questionnaire/reopen_questionnaire.php?id=$1 [L]
RewriteRule questionnaire/register questionnaire/register.php
RewriteRule questionnaire/registration questionnaire/registration.php

When I run my site it gives me the following error : The server encountered an internal error or misconfiguration and was unable to complete your request.

When I remove this line : RewriteRule questionnaire/reopen/id/[(^/]+)$ questionnaire/reopen_questionnaire.php?id=$1 [L] it works fine, can someone tell me why please?

查看全部
dongnianchou7047
dongnianchou7047
2014/10/15 19:12
  • apache
  • php
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

2个回复