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=41744>.
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=41744

           Summary: SSI resolves includes but removes original HTML
           Product: Apache httpd-2
           Version: 2.2.3
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: major
          Priority: P2
         Component: mod_include
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


Context:
Using SSI on Windows XP Pro SP2. Example, in index.htm have 
<!--#include virtual="/one.shtm" -->

Have set in httpd.conf
    Options Includes
and
    AddType text/html .shtm
    AddOutputFilter INCLUDES .htm .shtm
for the specific directory holding index.htm and .shtm files.

Problem:
Include module is loaded, and includes get resolved but output lacks all the 
HTML from index.htm. No errors logged.

More info:
The content is being accessed and is configured under a virtual host. All set 
up on localhost for testing on localhost, with entries in HOSTS file to resolve 
names.

So in httpd.conf, in addition to mod_include being loaded, have
# Our CCA dev content folder
<Directory "K:/cca/develop">
    Options Includes
    AllowOverride None
    Order allow,deny
    Allow from all
    # Some commands to get the SSI working for us
    AddType text/html .shtm
    AddOutputFilter INCLUDES .htm .shtm
</Directory>

while in httpd-vhosts.conf, have
<VirtualHost *:80>
    DocumentRoot /www/webroot
    ServerName www.server.tom
    ServerAlias server.tom *.server.tom
    ErrorLog logs/server.tom-error_log
    CustomLog logs/server.tom-access_log common
</VirtualHost>

<VirtualHost *:80>
    DocumentRoot "K:/cca/develop"
    ServerName www.ccadev.tom
    ServerAlias ccadev.tom *.ccadev.tom
    ErrorLog logs/ccadev.tom-error_log
    CustomLog logs/ccadev.tom-access_log common
</VirtualHost>

-- 
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.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to