• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

.htaccess gives 500 Internal Error

J

J-v-N

Guest
Hello,

I have a very weird problem everything was working fine until a few days ago mysql gave mysql_too_many_connections error so I've rebooted the server after that I started to get 500 Internal Errors

after some digging around I found out that its the .htaccess file if I remove the file it works fine

I've started to check the file if the hole file is remarked "#" it works fine if I get one line out of remark it gives 500 Error

heres the file

Code:
RewriteEngine off
##point to installation directory
##if it is the root dir,enter /
##else /otherdir
RewriteBase  /

RewriteCond %{QUERY_STRING} ^d=([a-zA-Z0-9]{8})$
RewriteRule ^$ download.php?id=%1

RewriteCond %{QUERY_STRING} ^d=([a-zA-Z0-9]{12})$
RewriteRule ^$ delete.php?id=%1

RewriteRule   ^file/([0-9]+)/(.*)$ download.php?id=$1&type=2 [L]

RewriteRule   ^top/([0-9]+)\.html$ top.php?s=$1&type=1 [L]

I checked /var/log/apache2/error_log and nothing was there

edit:

Issue solved mod_rewrite wasn't enabled it took me quite some time to figure it that I have to load it from /etc/sysconfig/apache2 but it works now
 
Back
Top