2009/7/9 ಸುಧೀಂದ್ರ <[email protected]>

> Hi all,
>
> I have been using Apache in Debian and Ubuntu on my laptop.
> Is there any way to set custom message to display when browser request a
> file which is is not present in document root of Apache?
>
>
>
> Thanks in advance,
> sudhi
> <http://sampada.net/quote/22064>
> >
>
this is what i got

1)

In the *srm.conf* file* *you will find a line that looks like this:

 *#ErrorDocument 404 /missing.html*

To specify a special web page, simply remove the # mark and create a
document called *missing.html* in your main HTML directory.

*ErrorDocument 404 /missing.html*

or this can be added to *.htaccess*
Source:
http://bignosebird.com/apache/a7.shtml

-- 
Regards
Sumit Sati
COT Pantnagar
www.twitter.com/sumitsati
http://www.facebook.com/sumit.sati
http://www.linkedin.com/in/sumitsati

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
-~----------~----~----~----~------~----~------~--~---

Reply via email to