Re: [us...@httpd] SSI - file not included
On 08.07.09 09:06, Marc Patermann wrote: > 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 > Is there any reason why do you include that as virtual, instead of including it as a file? -- Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/ Warning: I wish NOT to receive e-mail advertising to this address. Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu. The only substitute for good manners is fast reflexes. - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] SSI - file not included
> -Original Message- > From: Marc Patermann [mailto:hans.mo...@ofd-sth.niedersachsen.de] > Sent: Wednesday, July 08, 2009 10:47 AM > To: users@httpd.apache.org > Subject: Re: [us...@httpd] SSI - file not included > > Boyle Owen schrieb: > > >> 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. > I can't see any 401 errors in access or error log. > There are only "unable to include "./bar/footer.html" in parsed file > /opt/www/index-test.html" messages. Try removing the basic auth from bar - if it then "starts working", then that's the problem. BTW, if that *is* the problem, then there's no solution; you won't be able to include protected content. Rgds, Owen Boyle Disclaimer: Any disclaimer attached to this message may be ignored. > > > Marc > > - > The official User-To-User support forum of the Apache HTTP > Server Project. > See http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >" from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@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 http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
Re: [us...@httpd] SSI - file not included
Boyle Owen schrieb: 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. I can't see any 401 errors in access or error log. There are only "unable to include "./bar/footer.html" in parsed file /opt/www/index-test.html" messages. Marc - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
RE: [us...@httpd] SSI - file not included
> -Original Message- > From: Marc Patermann [mailto:hans.mo...@ofd-sth.niedersachsen.de] > Sent: Wednesday, July 08, 2009 9:07 AM > To: users@httpd.apache.org > Subject: [us...@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 > > > This works fine. > > Now I moved the footer.html to another directory. > > > This works fine, too. > > Now I moved the file again and it stops working. > > > 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 http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org >" from the digest: users-digest-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@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 http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[us...@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 This works fine. Now I moved the footer.html to another directory. This works fine, too. Now I moved the file again and it stops working. 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 or is there something else? Marc - The official User-To-User support forum of the Apache HTTP Server Project. See http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org " from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org