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

前端 未结 3 1878
情深已故
情深已故 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:42

    I struggled with RewriteRule issues on a 1&1 / 1and1 / IONOS shared server for WEEKS and eventually I found the perfect setup for a 1 and 1 shared server, start your .htaccess file like this

    Options -MultiViews
    Options +FollowSymlinks
    RewriteEngine On
    RewriteBase /
    

    I hope this helps someone as 1&1 are useless when it comes to htaccess support

提交回复
热议问题