php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #11864 php_value in .htaccess-files makes ordinary .html-files be parsed through php.
Submitted: 2001-07-03 18:07 UTC Modified: 2001-11-11 06:12 UTC
From: php at peope dot net Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.5 OS: Linux tall 2.4.2 #4 Wed Feb 28 1
Private report: No CVE-ID: None
 [2001-07-03 18:07 UTC] php at peope dot net
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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-10-21 00:11 UTC] sniper@php.net
I can not reproduce this with PHP 4.1.0RC1. 
Does this happen with PHP 4.0.6 ?
Or latest snapshot from http://snaps.php.net/ ?


--Jani

 [2001-11-11 06:12 UTC] sander@php.net
No feedback. Closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 18:01:29 2024 UTC