Hi All,
We recently setup TS 7.2.1 in RHEL 5.9 platform with IBM HTTP 7.0.0.25 - custom webserver. But the files are unable to preview from Teamsite. We did the following configurations in the IHS & Teamsite end.
IHS - httpd.conf
-----------------
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
Alias /iw-mount/ /iwmnt/
Entries in iw.cfg
-----------------
[iwwebd]
http_port=80
https_port=443
[iwproxy]
customer_webserver_host=
iwproxy_host=
iwproxy_port=1080
customer_webserver_port=4001
Issue :
-------
While previewing
1. image file (jpeg/jpg/gif/png) - "X" mark is displayed.
2. html/text file - blank screen
3. xml file - parsing error if it contains more than 2 child nodes (the same XML can be previewed from local desktop in IE)
Inference (So far) :
--------------------
1. Webserver able to read the file and returns status 200 code in the IHS access log.
2. Started iwproxy in debug mode and verified the header for request & response. (sample response given below)
[Response sent back to client:]
HTTP/1.0 200 OK
Accept-Ranges: bytes
Cache-Control: public, max-age=86400
Connection: close
Content-Length: 8610
Content-Type: image/jpeg
Date: Fri, 07 Mar 2014 10:11:30 GMT
Expires: Sat, 08 Mar 2014 10:11:30 GMT
Server: IBM_HTTP_Server
Set-Cookie: IWPROXY_PATHTRACK=.jpg; path=/
Vary: Accept-Encoding,User-Agent
x-teamsite-url-rewrite: true
3. Created a text file via Teamsite File -> New File with 2-3 lines, which can be previewed. If the number of lines exceeds 3, screen goes blank.
4. In each preview screen, able to see the Visual Edit Toolbar.
5. Checked the mime types and it looks fine. Able to preview files from webserver using the IHS direct URL -
http://localhost:4001//6. Tried to preview HPs default shipped dot pages. Only content is getting displayed with "X" instead of images.
Any one faced such kind of issues and any help in nail down the issue would be much appreciated !!!!
Regards,
Thiru