httpd-cli-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33582] New: - Adding an HttpModule in an application throw an exception.
Date Tue, 15 Feb 2005 09:16:28 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33582>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33582

           Summary: Adding an HttpModule in an application throw an
                    exception.
           Product: Apache mod_aspdotnet
           Version: 2.0.0
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Apache.Web
        AssignedTo: cli-dev@httpd.apache.org
        ReportedBy: olivier.bossaer@gmail.com


Bug seen when adding HttpCompressionModule from
(http://www.blowery.org/code/HttpCompressionModule.html)
I've installed the sample application in root directory and everything goes well.
   httpd.conf:
   ===========

   DocumentRoot "c:/gzip"
   AspNetMount  / "c:/gzip"
   <Directory "c:/gzip">
     Options FollowSymlinks ExecCGI
     Order allow, deny
     Allow from all
     DirectoryIndex default.aspx
   </Directory>


But when I've moved this application into a virtual directory like /Gzip and
restart Apache service and then goes to the new URL (http://localhost/Gzip) I've
got an exception: Configuration Error : "The module 'CompressionModule' is
already in the application and cannot be added again."
But I didn't add CompressionModule before and if I remove my web.config
configuration everything goes ok but without the module effect (no compression).

   httpd.conf:
   ===========

   DocumentRoot "c:/StaticHtml"
   <Directory "c:/StaticHtml">
     Options FollowSymlinks
     Order allow, deny
     Allow from all
     DirectoryIndex index.html
   </Directory>

   AspNetMount  /Gzip "c:/gzip"
   Alias  /Gzip "c:/gzip"
   <Directory "c:/gzip">
     Options FollowSymlinks ExecCGI
     Order allow, deny
     Allow from all
     DirectoryIndex default.aspx
   </Directory>

You can try this issue with his sample application project
http://www.blowery.org/code/httpcompress_6_binary.zip

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Mime
View raw message