Erwin LEUBAZ wrote:
> This solution doesn't work for me.
>
> But if I open the attachment directly by the url that works for all
> documents.
...
> That the solution for attachments with pages but not for articles, topics
Page attachments are potentially handled differently from other
attachments.
If you have a page http://www.server.com/some/page, which has an
attachment
image.gif, http://www.server.com/some/page/image.gif will be served out
without php ever being active. It's being handled as a 'normal' apache
file
serve. Other attachments must be handled by PHP code. Page blobs can, of
course, also be served out this way.
What you'll need to do is see what is actually being sent out. Usually
I'd
ask you to do
$ telnet www.company.com 80
GET /attachment/id HTTP/1.1<return>
Host: www.company.com<return>
<return>
<return>
and see what is returned. If you can, please do. But since
you're using https, you'd need to install something like
sslwrap (http://www.rickk.com/sslwrap/) to be able to test this.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]