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@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list