MyBB .htaccess Not working  [SOLVED]

Discussions about the usage of KeyHelp.
Post Reply
sanxh
Posts: 30
Joined: Tue 12. May 2020, 11:52

MyBB .htaccess Not working

Post by sanxh »

Dear KeyHelpians,
I cannot activate MyBB friendly URLs in KeyHelp by using .htaccess
Error 500 happens.
-------------

Code: Select all

/home/users/admin/www/afghan.pro/.htaccess: Option FollowSymlinks not allowed here
-------------

Code: Select all

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at ************* to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.
Please help. Thanks
User avatar
Jolinar
Community Moderator
Posts: 3609
Joined: Sat 30. Jan 2016, 07:11
Location: Weimar (Thüringen)
Contact:

Re: MyBB .htaccess Not working

Post by Jolinar »

Wenn jemand inkompetent ist, dann kann er nicht wissen, daß er inkompetent ist. (David Dunning)

Data Collector für Community Support
___
Ich verwende zwei verschiedene Schriftfarben in meinen Beiträgen /
I use two different font colors in my posts:
  • In dieser Farbe schreibe ich als Moderator und gebe moderative Hinweise oder begründe moderative Eingriffe /
    In this color, I write as a moderator and provide moderative guidance or justify moderative interventions
  • In dieser Farbe schreibe ich als Community Mitglied und teile meine private Meinung und persönlichen Ansichten mit /
    In this color, I write as a community member and share my personal opinions and views
User avatar
Alexander
Keyweb AG
Posts: 3842
Joined: Wed 20. Jan 2016, 02:23

Re: MyBB .htaccess Not working  [SOLVED]

Post by Alexander »

Just for convenience:

Instead of using "FollowSymlinks" in the .htaccess use "SymLinksIfOwnerMatch".

Read here to see the reason why:
https://www.keyhelp.de/en/news/keyhelp-22-1/ -> "Security relevant change of the “FollowSymLinks” directive"
Mit freundlichen Grüßen / Best regards
Alexander Mahr

**************************************************************
Keyweb AG - Die Hosting Marke
Neuwerkstr. 45/46, 99084 Erfurt / Germany
http://www.keyweb.de - http://www.keyhelp.de
**************************************************************
Post Reply