Re: How to set the default page
| From: | jeremy brand | Date: | Sun, 05 Nov 2000 20:16:26 +0000 |
| Subject: | Re: How to set the default page | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-23805@lists.php.net to get a copy of this message | ||
Chakravarthy,
Just a side note. I've also had error 403 when requesting a missing
document.
I also set
ErrorDocument 403 /index.html
---
in addition to
ErrorDocument 404 /index.html
:)
Enjoy,
-jeremy brand
_______________________________________________________________________
GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9
_ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html
for more __
On Sun, 5 Nov 2000, jeremy brand wrote:
> Date: Sun, 5 Nov 2000 12:11:34 -0800 (PST)
> From: jeremy brand <jeremy@nirvani.net>
> To: sannec27@eng.uab.edu
> Cc: php-general@lists.php.net
> Subject: Re: [PHP] How to set the default page
>
> Chakravarthy,
>
> In you httpd.conf, set your error handeling document. That would be
> the 404 document.
>
> Your apache config will look something like this:
>
> ErrorDocument 404 /index.html
>
> Make index.html be whatever you want the page to be when someone types
> in a URL that does not exist.
>
> Hope this helps.
> -jeremy brand
> _______________________________________________________________________
> GnuPG Fingerprint: 9F5E 95E0 1CC2 E054 84EA 6099 8ACD 9DBA D2C0 5EA9
> _ http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for
> more __
>
> On Sun, 5 Nov 2000 sannec27@eng.uab.edu wrote:
>
> > Date: Sun, 5 Nov 2000 14:00:04 -0600
> > From: sannec27@eng.uab.edu
> > To: php-general@lists.php.net
> > Subject: [PHP] How to set the default page
> >
> > Hello all,
> >
> > I want to create a default 'Page Not Found' page for my site as
> > phpbuilder.com is having. So if someone hits enter without typing completely
> > like www.phpbuilder.net/mai for www.phpbuilder.net/mail, this default page
> > will be displayed on their screen. Do i need to manipulate the Apache server
> > configuration, for this?
> > I am using Apache 1.3.12 and PHP 4.0 on a Redhat 6.2 machine.
> >
> > Lots of thanks in advance
> > Chakravarthy K Sannedhi
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-general-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
> >
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>