Re: Apache 2 setup question

From: Leila Lappin (damovand_at_yahoo.com)
Date: 02/02/05

  • Next message: Leila Lappin: "[thank you]Re: Apache 2 setup question"
    Date: Wed, 2 Feb 2005 11:55:59 -0800 (PST)
    To: General Red Hat Linux discussion list <redhat-list@redhat.com>
    
    

    --- Steve Phillips <steve@focb.co.nz> wrote:

    >
    > Check the error log (usually
    > /var/log/httpd/error_log unless you have
    > changed it or have a non-redhat installation of
    > apache) for clues.
    >
    > Generally this means that you dont have Indexes as
    > an option or an
    > index.html file in place (you can check this by
    > adding an index.html file
    > to the directory) or the permissions on the
    > directory are such that the
    > user apache is running as cant access that
    > directories content. (astute
    > use of the ls -ld command can help you here)
    >
    > HTH,
    >
    > --
    > Steve.
    >
    > On Wed, 2 Feb 2005, Leila Lappin wrote:
    >
    > > Hello all,
    > >
    > > I have apache 2 installed with root password under
    > > /etc/httpd. How can I configure this to have
    > setup
    > > under /home/user/public_html? So far I have
    > modified
    > > the values of <DocumentRoot> and and <Document>
    > in
    > > httpd.conf to point to the desired user directory.
    > > But I cannot access the directory, I get 403 error
    > the
    > > message reads “You don’t have permission to access
    > /
    > > on this server”
    > >
    > > --
    > > redhat-list mailing list
    > > unsubscribe
    >
    mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > >
    > https://www.redhat.com/mailman/listinfo/redhat-list
    > >> --
    > redhat-list mailing list
    > unsubscribe
    >
    mailto:redhat-list-request@redhat.com?subject=unsubscribe
    > https://www.redhat.com/mailman/listinfo/redhat-list

    Hi Steve,
    Thank you for your advice I hope you can help me a
    little more. I know as a regular user (not root) I
    don't have access privilege to /etc/httpd/logs. But I
    don't understand why because logs directory seems to
    have been setup to give all access level to public, as
    I gather from the following:

    lrwxrwxrwx 1 root root 19 Nov 15
    2003 logs -> ../../var/log/httpd

    And also, I am hesitant to change the ownership of
    this directory to that of the user because then the
    root will not be able to use it. How can I set this
    up so that as a user I can use it? Please let me
    stress that when I have <Directory "/var/www/html/">
    and "DocumentRoot "/var/www/html/" in httpd.conf
    everything is cool.

    I really thank you for any other advice. I am hoping
    to install "mambo" content manager under my user
    account but I need to understand what type of
    privileges I have as a user.

    Thanks

    As a user I don't have access to logs directory under
    httpd. I know I can change the ownership of that
    directory to the user but I have feeling that is not
    the right thing to do. Also, that directory has been
    configured to give all levels of access
    (read/write/execute) to all. What is the best thing
    to do, should I change the ownership of logs
    directory?

    -- 
    redhat-list mailing list
    unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe
    https://www.redhat.com/mailman/listinfo/redhat-list
    

  • Next message: Leila Lappin: "[thank you]Re: Apache 2 setup question"

    Relevant Pages

    • Re: [Full-disclosure] iiscan results
      ... POST data is not included in apache logs perdefault, ... m> I would have though that all data in the POST request would be recorded in the Apache logs. ... m> Thierry Zoller wrote: ... m> Although the actual results of the scan were displayed in English in the online html report, ...
      (Full-Disclosure)
    • Re: Vsftpd rotate logs with newsyslog...
      ... restart cause i dont think the apache will be getting too many connections ... apache finishes and probably will xip logs that are still being access by ... you can compress the logs at a later time once the files ... B indicates that the log file is a binary file, ...
      (freebsd-questions)
    • Re: Apache, Possible DoS/Overflow attack ?
      ... >>I was presented with a set of apache logs which were showing some out of ... Clip from Apache Manual: ... Note that when you specify an ErrorDocument that points to a remote URL (ie. ... most important being that the client will not receive the original error status ...
      (comp.os.linux.security)
    • Re: Vsftpd rotate logs with newsyslog...
      ... from your mail is that as apache takes some time to let his children ... But if you go this route, you might loose some logs from ... you can compress the logs at a later time once the files ... B indicates that the log file is a binary file, ...
      (freebsd-questions)
    • Re: the google keywords for debug...
      ... After I added the pint or warn message, I didn't restart Apache. ... I can not find this message in the project private logs. ... I receive a project in perl. ...
      (perl.beginners)