LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2008, 06:27 AM   #1
RMLinux
Member
 
Registered: Jul 2006
Posts: 260

Rep: Reputation: 37
ownership of .htaccess in apache for every user


Hi keen duds,

what should be the ownership and permission of .htaccess in every user/public_html?

foo:foo
755 chmod

what?

thanks
 
Old 12-02-2008, 06:51 AM   #2
dxangel
Member
 
Registered: Nov 2008
Location: London, UK
Distribution: CentOS, RedHat, Ubuntu
Posts: 79

Rep: Reputation: 18
Code:
chown root:root .htaccess
chmod 600 .htaccess

Last edited by dxangel; 12-02-2008 at 06:52 AM.
 
  


Reply


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
apache FollowSymLinks not working unless ownership is same mvidberg Linux - Server 1 05-16-2008 06:46 PM
apache doc root ownership lt_wentoncha Linux - Software 3 06-30-2006 05:54 PM
Apache 2.0.52 and .htaccess ZC1 Linux - General 3 05-20-2006 11:38 AM
Apache File Ownership wenberg Linux - Software 2 04-02-2004 10:39 PM
.htaccess in apache 2 im1crazyassmofo Linux - Software 1 04-04-2003 02:50 AM


All times are GMT -5. The time now is 05:50 PM.

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