My htaccess RewriteRule works on localhost/mysite but not at mysite.com on a 1&1 shared host

前端 未结 3 1910
情深已故
情深已故 2021-01-19 09:55

Solved:

unfortunately, the solution is not a satisfying one. This morning, when trying @Wige\'s Suggestion, I found, to my suprise, that the Expected value

3条回答
  •  孤城傲影
    2021-01-19 10:41

    Seems to be connected to 1&1's hosting environment.

    See this question, in particular, this answer.

    Basically it appears that 1&1 enable "MultiViews". By adding

    Options -MultiViews
    

    You disable that setting for your website and according to various reports, this resolves the issue.

提交回复
热议问题