You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2013/02/01 04:45:50 UTC

[Bug 54515] New: httpd 2.4 .htaccess and auto_prepend_file

https://issues.apache.org/bugzilla/show_bug.cgi?id=54515

            Bug ID: 54515
           Summary: httpd 2.4 .htaccess and auto_prepend_file
           Product: Apache httpd-2
           Version: 2.4.3
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Other Modules
          Assignee: bugs@httpd.apache.org
          Reporter: mleonard@bookeseminars.com
    Classification: Unclassified

When running 2.4.3, .htaccess files containing an auto_prepend_file for PHP
don't seem to cause anything to be prepended.

It works on 2.2.23 with both PHP 5.3 and 5.4.
It does not work at all with 2.4.3 with either PHP 5.3 or 5.4.

I don't think it's a PHP issue because the version of PHP doesn't make a
difference.  Only the change from 2.2.23 to 2.4.3 makes a difference.

The entire content of the .htaccess file is similar to this:
php_value auto_prepend_file C:/apache2/html/special/canaccess.php

I've tried everything I can think of to make it work.  As a test, I introduced
a  deliberate parse error in canaccess.php (error*space*_reporting(6143);) and
nothing happened with 2.4.3.  With 2.2.23, it generated an error.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54515] httpd 2.4 .htaccess and auto_prepend_file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54515

--- Comment #2 from Mike <ml...@bookeseminars.com> ---
Internal server error.

[Sun Feb 03 14:24:22.901161 2013] [core:alert] [pid 5316:tid 1148] [client
173.55.237.165:55501] C:/apache24/html/special/.htaccess: Invalid command
'asdfsdfdas', perhaps misspelled or defined by a module not included in the
server configuration

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54515] httpd 2.4 .htaccess and auto_prepend_file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54515

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID
                 OS|                            |All

--- Comment #3 from Eric Covener <co...@gmail.com> ---
Maybe there some Windows-specific incompatibiltiy between your PHP and Apache
builds? Did you acquire them together?  That's the only way I can see
reconciling your results.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54515] httpd 2.4 .htaccess and auto_prepend_file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54515

Mike <ml...@bookeseminars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|All                         |Windows Server 2008

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54515] httpd 2.4 .htaccess and auto_prepend_file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54515

Mike <ml...@bookeseminars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


[Bug 54515] httpd 2.4 .htaccess and auto_prepend_file

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54515

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO
                 OS|                            |All

--- Comment #1 from Eric Covener <co...@gmail.com> ---
Do you have Apache configured to use htaccess files in the given directory? 
What happens if you put "ffsdfsdf" in the htaccess file?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org