isohuntto / openbay

Other
3.52k stars 902 forks source link

500 Internal Server Error #146

Open mywish1 opened 9 years ago

mywish1 commented 9 years ago

hi guys i upload all fies in www folder in my root and there is only 2 folder 1 is www and 2nd is protected so when i run my domain its giving 500 Internal Server Error what is wrong what i m missing please help me thanks

ghost commented 9 years ago

you need to provide more info. what os, what webserver, what setup u used (local or hosted db and sphinx)...

Lacedaemon commented 9 years ago

You need to correctly set the ownership permissions for the tpb folder. Try the following:

sudo chown -R www-data:www-data /var/www/tpb

^ That's assuming your OpenBay is at that location. Change /var/www to wherever your tpb folder is located. If all else fails:

sudo chmod -R 777 /var/www/tpb

^ The above allows everyone to read and write, which should allow you to at least get your OpenBay up and running. However, it is a security risk, so I recommend getting the ownership permissions right the first time.

tehp commented 9 years ago

My friend is getting the same error.

How would he do the above on OSX for his GoDaddy server? @Lacedaemon

Lacedaemon commented 9 years ago

@dtoast Does the server have SSH access? The OS of his computer doesn't matter because when you SSH into a target machine, your Terminal inherits, or emulates, the target OS, which is most likely Linux.

Tell him to open Terminal (in /Applications/Utilities), then type the following:

ssh username@ip.address.of.server

Replace username with your server username, and ip.address.of.server with the server IP. Unless you're using certificates as your default authentication method, it should prompt you for your password, and upon successful entry, should greet you with a new Terminal shell. From there, you can run the commands I posted, relative to the actual path of your OpenBay installation.

wacgyver commented 9 years ago

@mywish1 You have to enable rewrite in Apache (if it is apache)

$ a2enmod rewrite $ service apache2 restart

TheChiefCoC commented 9 years ago

@mywish1 please provide you Apache Configuration File which is at /etc/apache2/sites-available/

mywish1 commented 9 years ago

Thank you guys now i have fix that issue but now how i can setup sphinx i already installed sphinx but my website is not working in sphinx giving 404 not found error what i do i setup all correct but i don't know where is i m missing any body help me via skype or gmail