Re: Custom Error Pages for Apache

From: Pete Nesbitt (pete_at_linux1.ca)
Date: 02/25/04

  • Next message: Ryan Golhar: "Custom Installation for multiple machines"
    To: redhat-list@redhat.com
    Date: Tue, 24 Feb 2004 19:16:33 -0800
    
    

    On February 24, 2004 09:10 am, Srinivas Koppisetti wrote:
    > Hi All,
    >
    > We want to display custom error pages based on the user directory. This
    > page will only disply when they dont have access to see that page.
    > Obviously we are using htaccess directory access file. I was wondering how
    > we can do it in apache? Also I want to develop an interface that validates
    > a user to this htaccess encripted password.
    >
    > How do we approach these issues?
    >
    > Thanks in Adv for you help.
    >
    > Srinivas'

    Hi,
    Have a look at the apache site (httpd.apache.org). There is a directive you
    can add to each directory stanza (or global) that defines what error page to
    display. Check their docs, but I think it is something like:
    ErrorDocument 404 /path_to/file

    You may also want to use the config file directory stanzas to do your access
    control instead of leaving the htaccess file in the document area.

    If by "develop an interface" you mean the pop-up login box, sorry, I can't
    help.

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

  • Next message: Ryan Golhar: "Custom Installation for multiple machines"

    Relevant Pages

    • Re: Custom Error Pages for Apache
      ... >>We want to display custom error pages based on the user directory. ... >>Obviously we are using htaccess directory access file. ... >can add to each directory stanza that defines what error page to ...
      (RedHat)
    • Custom Error Pages for Apache
      ... We want to display custom error pages based on the user directory. ... are using htaccess directory access file. ... This electronic transmission contains confidential information intended only ...
      (RedHat)