Re: General .htaccess question
| From: | Jon Kriek | Date: | Mon, 29 Sep 2003 01:01:10 +0000 |
| Subject: | Re: General .htaccess question | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-164184@lists.php.net to get a copy of this message | ||
*nods at Justin*
Utterly nothing to do with php.general at all.
--
Jon Kriek
http://phpfreaks.com
"Justin French" <justin@indent.com.au> wrote in message
news:997157C6-F217-11D7-9643-000A9579CE3A@indent.com.au...
> This is the perfect candidate for a question on an apache list, don't
> you think?
>
> Justin
>
>
> On Monday, September 29, 2003, at 10:53 AM, Mike Brum wrote:
>
> > I think I know the answer to this, but want some confirmation from
> > someone a
> > bit more knowledgable about Apache and .htaccess files.
> >
> > My webhost has the default 404 page set to 404.html. For the sake of
> > consistancy on a number of levels, I prefer a PHP file for this
> > (404.php).
> > So to do this, I created a basic .htaccess file for this very purpose
> > and it
> > sits in the root dir.
> >
> > Now, does this .htaccess file get read for EVERY resource request on
> > my site
> > - even when the page is found?
> >
> > Aside from a META redirect from 404.html to 404.php, is there a less
> > server-intensive way to set my 404 in Apache when I don't have root
> > access?
> >
> > Thanks
> >
> > -M
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> > ---
> > [This E-mail scanned for viruses]
> >
> >