Re: .htaccess problem

From: Date: Fri, 01 Sep 2000 01:39:59 +0000
Subject: Re: .htaccess problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-14715@lists.php.net to get a copy of this message
On Thu, Aug 31, 2000 at 09:07:17PM -0400, Damien Mc Kenna wrote: > I'm trying to change the sendmail_path to something that works on my > domain (via PHPWebHosting), but this doesn't work: > > <Directory "~myaccount/www/"> > # set the sendmail location to the QMail binary > </Directory> > > I get this in the error.log: > > [Thu Aug 31 21:01:20 2000] [alert] [client 207.30.134.63] /home2/mckennacom/www/ > .htaccess: <Directory not allowed here You can't use <Directory> blocks in .htaccess (you already know what directory your in if that's where the file is, right?). Instead, just put the raw directives in the .htaccess file: # set the sendmail location to the QMail binary php_value sendmail_path "/var/qmail/bin/sendmail" -- Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology http://www.csh.rit.edu/~jon/ : Computer Science House Member

« previous php.general (#14715) next »