httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <Owen.Bo...@six-group.com>
Subject RE: [users@httpd] SSI - file not included
Date Wed, 08 Jul 2009 07:33:06 GMT
> -----Original Message-----
> From: Marc Patermann [mailto:hans.moser@ofd-sth.niedersachsen.de] 
> Sent: Wednesday, July 08, 2009 9:07 AM
> To: users@httpd.apache.org
> Subject: [users@httpd] SSI - file not included
> 
> Hi,
> 
> I tried a simple "include" with SSI.
> 
> In the root directory I added a .htaccess file with
> AddType text/html .shtml
> AddOutputFilter INCLUDES .html
> 
> In index-test.html i added
> <!--#include virtual="./footer.html" -->
> 
> This works fine.
> 
> Now I moved the footer.html to another directory.
> <!--#include virtual="./foo/footer.html" -->
> 
> This works fine, too.
> 
> Now I moved the file again and it stops working.
> <!--#include virtual="./bar/footer.html" -->
> 
> foo/ and bar/ are both "DAV on".
> foo/ is accessable without authencitation.
> bar/ is "basic auth" protected (file and ldap).
> 
> Can the included file not be placed in an authentictaion protected 
> directory ?

Apparently not... Otherwise, it would be a way to circumvent
authentication.

Check what it says in the error_log; that should tell you more than
"..stops working.."
If there is a 401 Unauthorized then that's the problem.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 



or is there something else?
> 
> 
> Marc
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP 
> Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
 
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. If you receive this message in error, please notify the
sender urgently and then immediately delete the message and any copies of it from your system.
Please also immediately destroy any hardcopies of the message. 
The sender's company reserves the right to monitor all e-mail communications through their
networks.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message