in reply to Re: Changing web link output
in thread Changing web link output

No, actually I just want to change the message that comes on the browser when the link is clicked to say "You do not have permissions to view this document". I thought there might be some sort of output manipulation that perl would have to do this with an output message.

Replies are listed 'Best First'.
Re: Re: Re: Changing web link output
by Anonymous Monk on Nov 23, 2002 at 01:26 UTC
    Here's how I read your question:

    You've got files in a directory protected by .htaccess

    You can access them 'cause you know the username/password

    Others who don't know the username/password can't

    If the above is true, that's 401 error, I believe.
    If I'm correct, then you can add a line to your .htaccess file:

    ErrorDocument 401 /401.html

    and place a file named 401.html in that directory that
    includes the message you'd like your not-allowed person
    to see.

    CH from NE PA