Installation complete, but '500' error

Installation has gone through ok, but I'm getting a 500 Internal server error when I try and access the admin.


I checked the Alias settings in httpd.conf - trailing slash on last line ok, and paths looked right.

Then removed the alias setting and tried using symbolic links, no luck. Mod_rewrite is on, but still get the 500 error.



Am using Alias within a <VirtualHost> - will this make a difference?

No. Could you check your Apache error_log file to see what error is being thrown? Any 500 error should report to the log file. I find that its usually a permissions issue after installation.

Nothing obvious - can you point me in the right direction re. permissions… Changing the owner of the data and cache folders to the user that is running apache solved an earlier problem; do I need to change ownership of other folders as well as the permissions?

It should be chmod -R 777 data/, as all of its subdirectories need write access also.

I wouldnt give public write access to the directories. Only the user the web server is running at needs access to those directories.

Are you using the Apache alias method or the symlink method of accessing matrix? Do you get a Matrix error message when you try accessing the root of the domain or a 500 error?

I've tried both, but am going with the Alias method. I get a 500 error when accessing the root of the domain. The permissions had been set at 777 on /data.

Could you paste the exact alias setting you've got? 500 errors normally come back to some sort of apache configuration error.

Also, if you can check /var/log/httpd/error_log and paste the errors that appear in there, that would be useful too.

In the end it was simple - I had tried an install using symlinks, which created .htaccess files. As I didn't have the relevant modules loaded in Apache, it of course threw the 500 error.
htaccess files removed, and all working just fine.



Thanks for your help folks…:slight_smile: