Re: to set file tye at apache module using htaccess

From: Date: Thu, 16 Aug 2001 18:14:58 +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-62970@lists.php.net to get a copy of this message
How do I check that out? and how do I turn it on? Jack jacky@activelifestyle.com "Love your enemies, it will drive them nuts" ----- Original Message ----- From: Jason Murray <Jason.Murray@melbourneit.com.au> To: 'Jack' <jacky@activelifestyle.com>; <php-general@lists.php.net> Sent: Thursday, August 16, 2001 1:19 AM Subject: RE: [PHP] to set 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 > > ********************** > > > > What is the correct way to do this? > > In order to have a .htaccess file work, you need to have AllowOverride > set appropriately in the configuration file - it may be off. > > Jason >

« previous php.general (#62970) next »