Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 08-01-2012, 11:42 AM   #1
LQ Newbie
Registered: Aug 2012
Posts: 1

Rep: Reputation: Disabled
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!!
Old 08-01-2012, 12:57 PM   #2
Senior Member
Registered: Mar 2012
Distribution: Red Hat
Posts: 1,604

Rep: Reputation: 415Reputation: 415Reputation: 415Reputation: 415Reputation: 415
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
chmod: changing permissions of `public_html': Operation not permitted painterj Linux - Newbie 11 04-09-2010 09:40 PM
http sever will not allowe me to set up my webpages in /home/dan/public_html jennylschofield Linux - Newbie 1 04-27-2007 06:21 AM
useradd etc/skel public_html permissions problem bnorton787 Linux - Newbie 4 02-20-2004 06:01 PM
HTTP to HTTPS shegde Linux - Software 8 01-31-2003 04:29 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:52 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration