|
We have an Images directory on our IFS that contains scanned images of picking tickets etc. These images are normally viewable via our website but since Monday we can not see them, we get a 404 error. Having done some experimenting we have found that listening on port 83 rather than port 80 allows us to view the images. I can't understand this. We are using the Apache server, i have included the config files below and some info from the logs. Can anyone explain this or suggest what we can try to fix it ? Thanks Phil httpd.conf for the port 80 version that doesn't work .................. # Configuration originally created by Apache Setup Wizard Mon Sep 30 18:54:58 UTC 2002 LoadModule jk_module /QSYS.LIB/QHTTPSVR.LIB/QZTCJK.SRVPGM LoadModule ibm_app_server_http_module /QSYS.LIB/QEJBADV4.LIB/QSVTIHSAH.SRVPGM WebSpherePluginConfig /QIBM/UserData/WebASAdv4/default/config/plugin-cfg.xml Listen 172.101.105.10:80 DocumentRoot /www/nec/htdocs ServerRoot /www/nec Options -ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -IncludesNo Exec -Indexes -MultiViews HotBackup Off LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%{Cookie}n \"%r\" %t" cookie LogFormat "%{User-agent}i" agent LogFormat "%{Referer}i -> %U" referer LogFormat "%h %l %u %t \"%r\" %>s %b" common CustomLog logs/access_log combined SetEnvIf "User-Agent" "Mozilla/2" nokeepalive SetEnvIf "User-Agent" "JDK/1\.0" force-response-1.0 SetEnvIf "User-Agent" "Java/1\.0" force-response-1.0 SetEnvIf "User-Agent" "RealPlayer 4\.0" force-response-1.0 SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive SetEnvIf "User-Agent" "MSIE 4\.0b2;" force-response-1.0 JkWorkersFile /www/nec/conf/workers.properties JkLogFile /www/nec/logs/jk.log JkLogLevel Error JkMount /servlet/* inprocess JkMount /app1/* inprocess <Directory /> Order Deny,Allow Deny From all </Directory> <Directory /www/nec/htdocs> Order Allow,Deny Allow From all </Directory> # <Directory /QIBM/ProdData/WebASAdv4/WSsamples/> # Allow from all # Order allow,deny # Options None # </Directory> <Directory /www/nec/Applet> Order Allow,Deny Allow From all </Directory> <Directory /Images> Order Allow,Deny Allow From all </Directory> # Alias /WSsamples/ /QIBM/ProdData/WebASAdv4/WSsamples/ Alias /nec/applet /www/nec/Applet Alias /nec/images /Images httpd.conf for the port 83 version that _does_ work .................. # Configuration originally created by Apache Setup Wizard Mon Sep 30 18:54:58 UTC 2002 LoadModule jk_module /QSYS.LIB/QHTTPSVR.LIB/QZTCJK.SRVPGM LoadModule ibm_app_server_http_module /QSYS.LIB/QEJBADV4.LIB/QSVTIHSAH.SRVPGM WebSpherePluginConfig /QIBM/UserData/WebASAdv4/default/config/plugin-cfg.xml Listen 172.101.105.10:83 DocumentRoot /www/nec/htdocs ServerRoot /www/nec Options -ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -IncludesNo Exec -Indexes -MultiViews HotBackup Off LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%{Cookie}n \"%r\" %t" cookie LogFormat "%{User-agent}i" agent LogFormat "%{Referer}i -> %U" referer LogFormat "%h %l %u %t \"%r\" %>s %b" common CustomLog logs/access_log combined SetEnvIf "User-Agent" "Mozilla/2" nokeepalive SetEnvIf "User-Agent" "JDK/1\.0" force-response-1.0 SetEnvIf "User-Agent" "Java/1\.0" force-response-1.0 SetEnvIf "User-Agent" "RealPlayer 4\.0" force-response-1.0 SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive SetEnvIf "User-Agent" "MSIE 4\.0b2;" force-response-1.0 JkWorkersFile /www/nec/conf/workers.properties JkLogFile /www/nec/logs/jk.log JkLogLevel Error JkMount /servlet/* inprocess JkMount /app1/* inprocess <Directory /> Order Deny,Allow Deny From all </Directory> <Directory /www/nec/htdocs> Order Allow,Deny Allow From all </Directory> # <Directory /QIBM/ProdData/WebASAdv4/WSsamples/> # Allow from all # Order allow,deny # Options None # </Directory> <Directory /www/nec/Applet> Order Allow,Deny Allow From all </Directory> <Directory /Images> Order Allow,Deny Allow From all </Directory> # Alias /WSsamples/ /QIBM/ProdData/WebASAdv4/WSsamples/ Alias /nec/applet /www/nec/Applet Alias /nec/images /Images URLS ==== http://172.101.105.10:83/nec/images/PIN0004697.tif Works OK http://172.101.105.10:80/nec/images/PIN0004697.tif Get "This page cannot be found" HTTP 404 Location of Images ================== In windows explorer the directory location is \\Qnorpak\ROOT\Images Access Log for port 80 ====================== 172.101.105.65 - - [17/Sep/2003:09:57:09 +0000] "GET /nec/images/PIN0004457.tif HTTP/1.1" 404 467 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" 172.101.105.65 - - [17/Sep/2003:09:57:16 +0000] "GET /nec/images/PIN0003994.tif HTTP/1.1" 404 467 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" 172.101.105.65 - - [17/Sep/2003:09:57:22 +0000] "GET /nec/images/PIN0003997.tif HTTP/1.1" 404 467 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" 172.101.105.65 - - [17/Sep/2003:09:57:31 +0000] "GET /nec/images/PIN0003998.tif HTTP/1.1" 404 467 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" Error log for port 80 ===================== Nothing appears. Access Log for port 83 ====================== 172.101.105.65 - - [17/Sep/2003:09:51:22 +0000] "GET /nec/images/PIN0004457.tif HTTP/1.1" 404 223 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" 172.101.105.65 - - [17/Sep/2003:09:51:56 +0000] "GET /nec/images/PIN0003994.tif HTTP/1.1" 200 6202 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" 172.101.105.65 - - [17/Sep/2003:09:53:25 +0000] "GET /nec/images/PIN0003997.tif HTTP/1.1" 200 6174 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" 172.101.105.65 - - [17/Sep/2003:09:53:31 +0000] "GET /nec/images/PIN0003998.tif HTTP/1.1" 404 223 "-" "Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)" Note: Images PIN0004457.tif and PIN0003998.tif genuinely do not exist, the other two do exist. Error log for port 83 ===================== [Wed Sep 17 09:51:22 2003] [error] [client 172.101.105.65] ZSRV_MSG0018: File /Images/PIN0004457.tif does not exist [Wed Sep 17 09:53:32 2003] [error] [client 172.101.105.65] ZSRV_MSG0018: File /Images/PIN0003998.tif does not exist
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.