Read/Write Access on Apache

This is a discussion on Read/Write Access on Apache within the Tech Board forums, part of the Community Boards category; Just to make sure I'm doing this right since I'm still a little shaky on setting up file permissions on ...

  1. #1
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,670

    Read/Write Access on Apache

    Just to make sure I'm doing this right since I'm still a little shaky on setting up file permissions on an Apache webserver,

    I have a file LocalSettings.php, part of the MediaWiki distribution that needs to be set on the Apache webserver so that other users cannot read/write to it. This is important sice this file contains database access data. As such, I changed this file permission to only accept read/write access from the owner (600). This should be enough, correct?
    From now on a large part of your life will be spent finding and correcting your own mistakes.
    And if you are lucky and land yourself a good job, a whole lot more time will be spent finding and correcting other people's mistakes.
    That has to be good, no?

    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  2. #2
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    Owner must be apache, of course.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  3. #3
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Portugal
    Posts
    7,670
    And it is. Thanks.
    From now on a large part of your life will be spent finding and correcting your own mistakes.
    And if you are lucky and land yourself a good job, a whole lot more time will be spent finding and correcting other people's mistakes.
    That has to be good, no?

    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Boost Read/Write Mutexes
    By Zafrir Patt in forum C++ Programming
    Replies: 1
    Last Post: 06-11-2009, 10:32 AM
  2. Apache config
    By lruc in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 01-23-2009, 04:41 PM
  3. Replies: 3
    Last Post: 09-22-2003, 10:48 PM
  4. Direct disk access in DOS
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 02-26-2002, 02:52 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21