LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   permissions on public_html affecting http/https differently? (https://www.linuxquestions.org/questions/linux-server-73/permissions-on-public_html-affecting-http-https-differently-4175419783/)

linuxf44 08-01-2012 11:42 AM

permissions on public_html affecting http/https differently?
 
I was attempting to allow several users to share a common code base in /home/mainuser/public_html. I created a group and added the needed users, then changed the above public_html so its entire contents were owned by mainuser:mynewgroup, and privs 755 for folders, 644 for files.

After I made this change my website stopped working over https (http worked fine). I attempted to revert the permissions changes but apparently failed... now the site works only on https and not http.

When I say "stopped working" I mean the page reports a 500 internal server error.

Does anyone know which permissions might cause a server error over https and not over http (or vice-versa)?

Thanks in advance!!

Kustom42 08-01-2012 12:57 PM

Well there are two separate virtual host records, one for http and one for https, both should be owned/grouped by the user that Apache is running under. The best thing to check would be the apache error logs if you are getting 500 errors, this would confirm any suspicions you have about the perms being incorrect and give you the exact errr that Apache is hitting.


All times are GMT -5. The time now is 11:39 AM.