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

From: Date: Thu, 16 Aug 2001 07:01:49 +0000
Subject: RE: [PHP] to set file tye at apache module using htaccess
Groups: php.general 
Request: Send a blank email to php-general+get-62980@lists.php.net to get a copy of this message
Yes, you can. Maxim Maletsky -----Original Message----- From: Jack [mailto:jacky@activelifestyle.com] Sent: Friday, August 17, 2001 3:33 AM Cc: php-general@lists.php.net 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 find the file https.conf? I am only able to log in to server viw ftp at this stage, so I am not sure if I will have access to that file yet. Alternatively, can I do the same to .htaccess? Jack jacky@activelifestyle.com "Love your enemies, it will drive them nuts" ----- Original Message ----- From: Rasmus Lerdorf <rasmus@php.net> To: Jack <jacky@activelifestyle.com> Cc: <php-general@lists.php.net> 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 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 (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

« previous php.general (#62980) next »