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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at peope dot net
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Mar 29 14:01:28 2024 UTC