Re: include file using .htaccess
| From: | Keyur Kalaria | Date: | Mon, 23 Apr 2001 14:48:06 +0000 |
| Subject: | Re: include file using .htaccess | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-49858@lists.php.net to get a copy of this message | ||
thanks for that , it is working fine.
keyur
----- Original Message -----
From: "Rasmus Lerdorf" <rasmus@php.net>
To: "Keyur Kalaria" <keyur@hyper-net.net>
Cc: "php" <php-general@lists.php.net>
Sent: Saturday, April 21, 2001 9:18 PM
Subject: Re: [PHP] include file using .htaccess
> Make sure AllowOverride includes Options and put these lines in your
> .htaccess:
>
> php_value auto_prepend_file header.html
> php_value auto_append_file footer.html
>
> -Rasmus
>
> On Sat, 21 Apr 2001, Keyur Kalaria wrote:
>
> > Hello,
> >
> > How can I include any html or php file via .htaccess ?
> >
> > I want to include an html file in a site contaning around 1000 pages. I
want
> > to add header & footer dynamically on these pages .
> > Is there any way to include header & footer on these pages using
.htaccess
> > file.
> >
> >
> > thanks in advance
> >
> > keyur
> > $$$$$$$
> >
> >
> >
> >
> > --
> > 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
>
>