Re: to set file tye at apache module using htaccess

From: Date: Thu, 16 Aug 2001 19:20:16 +0000
Subject: Re: to set file tye at apache module using htaccess
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-62983@lists.php.net to get a copy of this message
In response to Maxim and Rasmus, I got it work out now. Many thanks for this open source code community :-) Jack jacky@activelifestyle.com "Love your enemies, it will drive them nuts" ----- Original Message ----- From: Maxim Maletsky <maxim@japaninc.com> To: 'Jack' <jacky@activelifestyle.com> Cc: <php-general@lists.php.net> Sent: 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: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 > > -- > 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 (#62983) next »