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 derfloh 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.

Insyder

Technical User
Joined
Feb 8, 2002
Messages
1
Location
US
I am using Apache server on a Linux box and am able to parse pages in the web folder. (ie.- but the directives are simply ignored on user pages (ie.- Has anyone experienced this problem or have a solution? Thanks in advance for your time.

-Darin
 
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