Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I recently dragged a website I built with joomla out of a subdirectory and now the whole website just shows a 500 internal error, can't even log into the backend. I've already tried changing the log and tmp path variables in the configuration.php file with no luck. any help as to what could be causing this?

share|improve this question

You haven't specified a Joomla! version but this is our current check list for migrating a Joomla! 2.5.x websites to a live location:

  1. fix the configuration.php file settings for tmp & log directories.
  2. Clean out the cache directories
  3. check the permissions on:
    1. .htaccess
    2. index.php and /administrator/index.php
    3. make sure folders are 755 and files 644 or lower

We do these steps on any move not just ones where we end up with a server error.

If those steps don't rectify (usually do for 99% of 500 errors) check the Apache error log to see if there are any clues to the root cause of the problem.

If you find something in the log you're not clear on add it to your question so people can provide further help.

share|improve this answer

I also have the same issue on my site backend. Finally I solved it. Add these lines to /etc/httpd/conf.d/mod_secuirity.conf

<IfModule mod_security2.c>
SecRuleEngine Off

Save it and restart apache. It works fine for me.

Adding these lines disable mod_secuirity engine off. I don't know if it causes secuirity problems in future.

share|improve this answer

When you do a backup of the site while it's in the old place and unpack with the script in the new place, the userrights are good to go.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.