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 2010/11/17 07:43:29 UTC

DO NOT REPLY [Bug 50283] New: configtest doesnt report error when modules arent enabled

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

           Summary: configtest doesnt report error when modules arent
                    enabled
           Product: Apache httpd-2
           Version: 2.2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Build
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ram_chander250@yahoo.com


Situation:
Below is .htaccess

AuthUserFile .htpasswd
AuthName "Authorization Required"
AuthType Basic
require valid-user
ExpiresActive on
ExpiresDefault "access plus 2 hours"

But "expires" module isnt enabled in the host, and therefore results in "500
Internal Server error" when url is accessed via browser.

However configtest gives OK
# apache2ctl configtest
Syntax OK

This should fail and if possible throw out which module isnt enabled. In other
words, configtest should parse and check if modules are enabled and throw out
appropriate failure message.

# apache2 -v
Server version: Apache/2.2.8 (Ubuntu)
Server built:   Jun 18 2010 11:04:08

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


DO NOT REPLY [Bug 50283] configtest doesnt report error when modules arent enabled

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

Nick Kew <ni...@webthing.com> changed:

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

--- Comment #1 from Nick Kew <ni...@webthing.com> 2010-11-17 04:56:59 EST ---
The purpose of .htaccess is to enable some aspects of configuration to be
delegated to multiple users of a shared server.  It would be wrong to prevent
an entire server starting up because one user has an error.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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