Re: [PHP] to set file tye at apache module using htaccess

2001-08-16 Thread Rasmus Lerdorf
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

Re: [PHP] to set file tye at apache module using htaccess

2001-08-16 Thread Jack
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

Re: [PHP] to set file tye at apache module using htaccess

2001-08-16 Thread Rasmus Lerdorf
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? Sure, in your httpd.conf file look for your VirtualHost block for the dmain and add: AddType application/x-httpd-php .html -Rasmus -- PHP General Mailing List

Re: [PHP] to set file tye at apache module using htaccess

2001-08-16 Thread Jack
, 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:34 AM Subject: Re: [PHP] to set file tye at apache module using htaccess In response to Rasmus, I need to make

Re: [PHP] to set file tye at apache module using htaccess

2001-08-16 Thread Jack
: Thursday, August 16, 2001 2:01 AM Subject: RE: [PHP] to set file tye at apache module using htaccess Yes, you can. Maxim Maletsky -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 3:33 AM Cc: [EMAIL PROTECTED] Subject: Re: [PHP] to set file

RE: [PHP] to set file tye at apache module using htaccess

2001-08-16 Thread Maxim Maletsky
Yes, you can. Maxim Maletsky -Original Message- From: Jack [mailto:[EMAIL PROTECTED]] Sent: Friday, August 17, 2001 3:33 AM Cc: [EMAIL PROTECTED] Subject: Re: [PHP] to set file tye at apache module using htaccess In response to Rasmus again, please bare with me a sec, where can I

RE: [PHP] to set file tye at apache module using htaccess

2001-08-15 Thread Jason Murray
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

Re: [PHP] to set file tye at apache module using htaccess

2001-08-15 Thread Jack
file tye at apache module using htaccess 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