Quickie - SSI permissions

davef8

Verified User
Joined
Feb 20, 2004
Messages
48
Location
Los Angeles
I'm having a little bit of difficulty getting SSI working properly. I have XBitHack on which I setup in the main httpd.conf file.

My question is regarding permissions. How should I setup owner, group and file permission settings.

Here is what I have so far under the the directory /user/domains/

drwx--x--x user user domain.com

Under directory /user/domains/domain.com

drwxr-xr-x user apache public_html

All the files and directories under public_html are set to 755

The files containing the SSI are under public_html and they are including files that are located in /public_html/ssi/

When I run SSI comands in files located under /public_html/ it works fine. However when I'm in public_html and I try to include a file that is located is /public_html/ssi/ I get this error message

[an error occurred while processing this directive]

When I set everything under /public_html to 744 which I read about in this forum and online I get an Apache error saying "Forbidden I don't have permission to access ......."
 
Problem solved. I haven't pointed the domain over and I didn't inlcude the ~username in my file path. Everything works now. Should I keep all the permissions set to 755 under public_html?
 
Back
Top