In response to Rasmus, I need to make this for all html files under a
domain, not just one file. Is there anyway to do this?
Jack
[EMAIL PROTECTED]
"Love your enemies, it will drive them nuts"
----- Original Message -----
From: Rasmus Lerdorf <[EMAIL PROTECTED]>
To: Jack <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, August 16, 2001 1:27 AM
Subject: Re: [PHP] to set file tye at apache module using htaccess


> If you just want to set this for a single file, just use a
>
> <Location /path/filename>
> ForceType application/x-httpd-php
> </Location>
>
> in your httpd.conf file.  .htaccess files are generally evil and should be
> avoided if you have control over your httpd.conf file.
>
> Note that the mime-type.  There is no '4' on the end of it.
>
> -Rasmus
>
> On Thu, 16 Aug 2001, Jack wrote:
>
> > Hi people
> > this may be off this list a bit, But I want to make the apache webserver
believe that a "html" file is my server is actually a "php4" file.
> > I used the syntax below to set Apache module in file .htaccess and did
not work still, as I wrote some php script to print text in an html file and
did not do anything yet.
> >
> > **********************
> > AddType application/x-httpd-php4 .html
> > **********************
> >
> > What is the correct way to do this?
> > Jack
> > [EMAIL PROTECTED]
> > "Love your enemies, it will drive them nuts"
> >
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to