Subdomain Problem

Using sitecake-2.2.10. Works great in primary domain. But will not work in a subdomain. Get this error when executing sitecake.php to do initial login. I require the use of subdomains

"Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

Would appreciate advice on how to configure for a subdomain.

It should work in a subdomain. Sitecake has nothing to the fact it’s running in a subdomain. It seems that the problem is related to the web hosting environment configuration. Check if PHP is enabled for the subdomain web hosting.

Thanks,
Nikola

Thank you for your reply. PHP is at 5.4 for subdomains. This is from Error Log:

[Wed Oct 14 09:53:48 2015] [error] [client 184.53.49.239] File does not exist: /home/aboutmyfamilyhis/public_html/example2/favicon.ico, referer: http://www.example2.aboutmyfamilyhistory.com/sitecake.php
[Wed Oct 14 09:53:46 2015] [error] [client 184.53.49.239] File does not exist: /home/aboutmyfamilyhis/public_html/example2/500.shtml
[Wed Oct 14 09:53:46 2015] [error] [client 184.53.49.239] SoftException in Application.cpp:631: Directory “/home/aboutmyfamilyhis/public_html/example2” is writeable by group

The directory is at permissions: 0755. Could this be the problem?
Thanks Alvin

n order to run correctly, Sitecake has to have permissions to write to the directory where it is installed (the site’s root folder). It needs to be able to write (modify/delete) html files in the site root folder. By default Sitecake tries to write to the root folder as the PHP user/process. If the PHP process does not have proper permissions, it is possible to use FTP protocol for modifying files in the site root folder. For this, please consult the config.php file (sitecake//server/config.php).

Thank you for the information. The problem was resolved by resetting the folder permissions again to 0755. Some things are just quirky.

Thanks again. Alvin