Bug #11864: php_value in .htaccess-files makes ordinary .html-files be parsed through php.
| From: | php at peope dot net | Date: | Tue, 03 Jul 2001 22:07:25 +0000 |
| Subject: | Bug #11864: php_value in .htaccess-files makes ordinary .html-files be parsed through php. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-58833@lists.php.net to get a copy of this message | ||
From: php@peope.net
Operating system: Linux tall 2.4.2 #4 Wed Feb 28 17:19:58 CET 2001 i686 unknown
PHP version: 4.0.5
PHP Bug Type: Apache related
Bug description: php_value in .htaccess-files makes ordinary .html-files be parsed through php.
I added this in a .htaccess-file.
php_value include_path .:/home/sites/www.senab.com/web/include
When looking at a .html-file it produces a php-error.
Parse error: parse error in /home/sites/senab/web/kunder/6210nokia4/produkter/k1g43p43.html on line
62
When I removed the line the file was treated as any other .html-file. No errors.
'./configure' '--prefix=/usr/local/php'
'--with-pgsql=/usr/local/pgsql' '--enable-trans-sid'
'--with-mm=/usr/local/mm' '--with-sockets' '--with-ftp'
'--enable-calendar' '--with-apxs=/usr/local/bin/apxs'
'--with-imap=/usr/local/c-client'
Best regards
Per-Olof Pettersson
--
Edit Bug report at: http://bugs.php.net/?id=11864&edit=1