• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

htaccess not working

Q

qxxx

Guest
Hello,

i have a server (suse 9) with plesk, i tried to uninstall it but i killed my server... after new install (again with plesk) i try to live with it :(


here is 1 of many problems i have:
if i put a .htaccess file the and visit then the site it shows a 500 error!.. internal server error, if i remove the file everything is ok.

i need the .htaccess file for symlinks. here is my htaccess..:


PHP:
RewriteEngine ON
RewriteBase /
RewriteRule ^a_([0-9]*).html$ test.php [L,NC]
RewriteRule fun-([^/]*)-([^/]*).html detail.php?id=$1 [L,NC]
RewriteRule b-([^/]*).html /themes/default/bewerten1.php?id=$1 [L,NC]
RewriteRule kategorie-([^/]*).html browse.php?cat=$1 [L,NC]
RewriteRule /(.*).html$   /$1 [L,R]
RewriteRule /images/(.*)$   /images/$1 [L,R]
please help. thank you.
 
Hi

If you are still gettin that 500 error it means that there is a problem with your Rewriterule. try knocking off and adding the rules one by one.
for eg:
the commented rule below works fine on my localhost but not the public server. the secon rule works fine on the server. and it used to give me a 500 error.

RewriteEngine On
RewriteBase /

#RewriteRule ^(.*?)\.html$ index.php?q=$1
RewriteRule ^(.*)\.html$ index.php?q=$1

Hope you get a little help by this

Thanks
Raj D'souza
 
Back
Top