Install Issues on Shared Hosting (hostgator)

593 views
Skip to first unread message

smarak

unread,
May 26, 2016, 2:22:51 PM5/26/16
to Orangescrum Community Support
I have installed Orangescrum on a shared server, The htaccess is giving me issues.  With it I get a 500 internal server error, without it it displays a page that shows 4 Simple steps to get started with Orangescrum.  Any insight?


Sectorlink

unread,
May 26, 2016, 4:41:48 PM5/26/16
to Orangescrum Community Support
smarak,

Check your error apache web logs to see what the actual 500 error is.  If you are not sure what the error is referring to, paste it in a reply so that the community can take look.  Most likely you have some bad syntax in your .htaccess file.  ** Cough ** If worst comes to worse Hostgator support should be able to give you a hand.  ** Cough ** ;)

Jason

smarak

unread,
May 27, 2016, 2:34:42 PM5/27/16
to Orangescrum Community Support
Hi Jason,

Thank you for the reply.  Nothing is coming up in the error logs.  I have done a bunch of debugging and I can't seem to get the following code to work in the .htaccess which seems to be essential.

RewriteRule    (.*) app/webroot/$1 [L]

This tends to create the 500 error for me.  The app is installed in a subdirectory, not sure if this is the issue but it shouldn't be.

Sectorlink

unread,
May 31, 2016, 5:26:15 PM5/31/16
to Orangescrum Community Support
So your .htaccess file looks like this?

<IfModule mod_rewrite.c>
   RewriteEngine on
   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]
</IfModule>

You also have the correct info set up in your app/Config/constants.php for the subdirectory?  Should be   nameofdolder/   with the tailing slash.

The error logs for the .htaccess are going to be in the general error log location for the server.  Depending on the flavor of linux /var/log/httpd/error_log .

If you are still having an issue your host should be able to give you the error that is being written to that log.  You will not have access to it.

Jason

smarak

unread,
Jun 1, 2016, 9:55:13 AM6/1/16
to Orangescrum Community Support
Hi Jason,

I appreciate the help.  I was able to solve it by moving folders into my root directory.  I followed the information from this site if anyone has the same issues.
Reply all
Reply to author
Forward
0 new messages