TeamSite 6.5 sp1, Windows 2003
I am trying to view the pdf file directly from the browser like
http://TSServer/iw-bin/test/a.pdfI am getting this error:
1. Browser Error
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.....
Apache/1.3.31 Server at TSServer Port 80
2. Log file
[error] [client IPAddr] d:/iw-home/httpd/iw-bin/test/a.pdf is not executable; ensure interpreted scripts have "#!" first line
[error] [client IPAddr] couldn't spawn child process: d:/iw-home/httpd/iw-bin/test/a.pdf
From Devnet, I tried the following.. but no change in error.
1. Commenting out the following two lines in iw-webd/rewrite.conf.template and then running "iwreset -ui":
RewriteCond %{HTTP_COOKIE} iw_user=([^\ ;]+)
RewriteRule . - [E=IWUSER:%1]
2. IW.CFG
[iwproxy_smartcontextedit_allowed]
_default=yes
_regex=.*\.(doc|pdf|xls)$=no
Please advice me, thanks alot.
I can able to view PDF file from IIS port 81 like(a.pdf is in wwwroot)
http://TSServer:81/a.pdf