Apache configuration in Redhat

From: Lil' Abner (blvstk_at_dogpatch.com)
Date: 04/24/04

  • Next message: Travis Perkins: "Building emacs for RedHat 9.0"
    Date: Sat, 24 Apr 2004 03:22:07 -0500
    
    

    This is a cut and pasted post of one I just made in
    alt.apache.configuration. It may be off topic in this group but then
    again, maybe someone can help. Be forewarned I'm pretty much of a Newbie
    where Linux is concerned, But for security purposes I'd like to switch
    all my web services over to the Redhat macine. Presently I'm running it
    all under Windows 98 (Apache there too).
    -------
    I asked almost this same question a week or so ago and was referred to
    documentation on websites. Which I followed up on and still can't come up
    with an answer.
    I'm running Redhat 9.0 with Apache 1.3.29. My user directories are in
    /home/*/web and calls to a user's pages are going there. Without execute
    permissions on the "web" directory, I get "access denied". If I give the
    directory execute permissions, then I get "Unable to display the page"
    Nothing shows in the error log. I put an .htaccess file in that directory
    and munged it on purpose (allow all instead of allow from all). Then I'd
    get a different error when trying to access it. "Internal Server Error"
    Then I looked in the error log and it pointed out my mistake in
    .htaccess. So it IS reading the directory. The directory contains a
    valid index.html and DirectoryIndex is set to index.html index.htm.
    I don't believe the directory really needs an .htaccess file, but it is

    ----
    order allow,deny
    allow from all
    ----
    I get the same symptoms with or without it.
    Address on the Redhat machine is www.mewnlite.com:8080/~ted
    What you're *supposed* to see is at www.mewnlite.com/~ted
    That's my Windows 98 machine which has been humming along fine for
    two years. With Apache 1.3.12.
    Identical index.html
    I might point out that I'm not Ted. He is a good friend of mine who is a 
    Linux fanatic. He has root priviledges and has been working on it himself 
    for a week too, and can't figure it out.
    Can anyone help?
    -- 
          I child-proofed my house but they are still getting in.
    

  • Next message: Travis Perkins: "Building emacs for RedHat 9.0"

    Relevant Pages

    • Re: apache problem
      ... I'm unable to reproduce this on my 1.3.26 ... > Subject: Re: apache problem ... > This causes the cpu to reach 100% and the httpd process consumes all ... >> Few minutes before in error log: ...
      (Incidents)
    • Re: newsyslog and apache
      ... detected in the parent process ... the new error log shows, ... overwritten -- Unclean shutdown of previous Apache run? ... uname -a gives ...
      (freebsd-questions)
    • Re: validate .htaccess?
      ... > Is there such a thing as an .htaccess validator? ... > My error log shows a problem in my .htaccess file, ... Upon becoming aware that a line is not functioning as intended? ...
      (alt.html)
    • Re: apache22: "Cant access startfile"
      ... Take a look at the error log for apache, ... a jail, "aristotle.thought.org", so my guess is that things were ... meanwhile, if anybody else has some clues re wha' happened, Pulleze clue ...
      (freebsd-questions)
    • Re: Apache
      ... I think you have file permisson problem please check error log for more ... Subject: Apache ... To unsubscribe, ...
      (freebsd-questions)