ID: 22791 User updated by: peter dot kling at veritas dot com Reported By: peter dot kling at veritas dot com Status: Bogus Bug Type: Apache related Operating System: solaris 8 PHP Version: 4.3.1 New Comment:
I guess you missed the Point, I indicated that this was working correctly, with Apache. Apache was parsing the html But After upgrading from PHP 4.2.2 to PHP 4.3.1 this function no longer works. So how could this be a configuration problem since we did not change the Apache or it's config. ONLY the PHP Version. Thanks Peter Previous Comments: ------------------------------------------------------------------------ [2003-03-19 15:42:06] [EMAIL PROTECTED] If your apache is not set to parse .html through PHP, of course it won't work. Not bug. ------------------------------------------------------------------------ [2003-03-19 15:02:30] peter dot kling at veritas dot com This function worked with Apache/1.3.26 and PHP Version 4.2.2 running on SunOS goldeneyes 5.8 Generic sun4u sparc SUNW,Ultra-4 Since we upgrade to PHP Version 4.3.1 this does not work. we have .htaccess files in directories that just have the following two lines: ----Start--- php_value auto_prepend_file "/vfr/htdocs/jscode/menuheader.html" php_value auto_append_file "/vfr/htdocs/jscode/reg_footer.html" ----End--- So then if you access a file like index.html or somename.html in that directory the page would load with the menuheader.html and the reg_footer.html force on that page. We use this to keep a constant look and feel on this site. Since we upgrade to PHP Version 4.3.1 this does not work. I've noted bugs reported for Apache 2.x but not 1.3x could you please look at the code and see if you can find this bug. The short fix is for us to rename every .html file to a .php file and it works, but renaming 1000s of files is a bit much. Thanks peter PS: note I have reproduced this bug on FreeBSD 4.x also. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=22791&edit=1