Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

3 Answers 3

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
</IfModule>

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

 
discard

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.