HELP ! Simple guide to file and directory permissions
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > HELP ! Simple guide to file and directory permissions




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    HELP ! Simple guide to file and directory permissions  
Phil


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-21-04 01:34 PM

Hi all,

I am new to web services and Linux but would like to learn...

Is there a site that explains, in simple terms the correct method to secure
a web site. I have a basic site running, however I get in a real mess when
trying to install additional folders or services. Invariably I get an error
indicating that access is denied for a particular directory.

My basic configuration is this:

Document root on a separate volume /www
Apache running as user and group 'apache', I set my directories below www to
2664, with ownership of apache.webuser. The user who is ftp'ing files is a
member of the group webuser.

Can someone please offer guidance as to the correct for my site. I have
tried to install phpbb and mambo dynamic php based directories, but get the
404 error when trying to connect. I know its permissions related, but get
stuck trying to implement them correctly.

Thanks in advance,

Phil








[ Post a follow-up to this message ]



    Re: HELP ! Simple guide to file and directory permissions  
Davide Bianchi


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-21-04 01:34 PM

Phil <phil.g4iio@ntlworld.com> wrote:
> Apache running as user and group 'apache', I set my directories below www 
to
> 2664, with ownership of apache.webuser.

Directories must be 755 (read and execute by everyone).
Files must be 644 (read by everyone)

Davide

--
| Reality is bad enough, why should I tell the truth?
|
|
|





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:47 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register