JoeGandy / ShareX-Custom-Upload

A little PHP script created for uploading custom sharex files to your own webserver
MIT License
165 stars 50 forks source link

500 Error on V.2.1.1 #149

Closed Slddev closed 3 years ago

Slddev commented 3 years ago

Uploaded everything normally, did change config.php. Then this error keeps popping up in the apache error log:

[core:alert] /var/www/vhosts/(root folder)/(sitename)/.htaccess: Option FollowSymLinks not allowed here

theaquarium commented 3 years ago

This might be due to the fact that FollowSymLinks is disabled in your Apache server configuration. You can fix this by changing the Options +FollowSymLinks line to say Options +SymLinksIfOwnerMatch in the .htaccess file at the root of the site, since some systems disable the FollowSymLinks option for security reasons.

Another solution is to make sure that FollowSymLinks is in the list of allowed options in the AllowOverride directive in your server config. However, the first solution will probably be better.