Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SSI directives will no parse on user pages

Status
Not open for further replies.
I am trying to decypher your question...

if you are having problems accessing html pages in teh users public_html directory, you must make sure that the user the apache server is running as can read from that directory.

Most linux installs now make users home directories unreadable by anyone but the user (chmod 700). What you need to do is make the directory readable by eitehr everyone or just the apache process...

1) Just the apache process... (assumes apache runs as user apache)
cd /home
chgrp apache <userdirectory>
chmod 750 <userdirectory>
cd <userdirectory>
chgrp -R apache public_html
chmod 750 public_html

2) cd /home
chmod 755 <userdirectory>
cd <userdirectory>
chmod 755 public_html

I suggest #1 as it is a bit more secure :)

---
John Hoke<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top