odd Error 500 problem with Images

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
pickupman
-


Joined: 21 Jun 2004
Posts: 4
Location: Ohio

PostPosted: Wed Apr 13, 2005 11:29 pm    Post subject: odd Error 500 problem with Images Reply with quote

I have two xp machines (work&home) running abyss v2.0 with php 4.x. Work computer is fine, but home computer has started a interesting behavior. PHP runs fine in other programs (ie Dreamweaver) & run scripts fine until recently. It will do
Code:
<?php echo "hello world!"; ?>

Now when I try to load a page, Windows tries to load whatever program associated to it. ie. IrfanView is launched when a *.jpg is on the page.
Images are showing up as error 500, but it's shown in the directory listing if I use http://localhost/phenix/images/.
I am baffled by this behavior.

Here is my cgi.log
Code:
CGI: ["C:\Program Files\pictures\I_view32.exe" phenix_r1_c1.jpg ]   URI: /phenix/images/phenix_r1_c1.jpg   Broken pipe
CGI: ["C:\Program Files\pictures\I_view32.exe" "Sand Dollar 006.jpg" ]   URI: /phenix/Sand%20Dollar%20006.jpg   Broken pipe
CGI: ["C:\Program Files\pictures\I_view32.exe" "Sand Dollar 004.jpg" ]   URI: /phenix/Sand%20Dollar%20004.jpg   Broken pipe
CGI: [C:\PROGRA~1\MOZILL~1\FIREFOX.EXE -url index.html ]   URI: /index.html   Broken pipe
CGI: ["C:\Program Files\Macromedia\Fireworks MX 2004\Fireworks.exe" pwrabyss.png ]   URI: /pwrabyss.png   Broken pipe
CGI: [CSSfile stylesheet.css ]   URI: /phenix/stylesheet.css   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r1_c1.gif ]   URI: /phenix/images/navbar_r1_c1.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c1.gif ]   URI: /phenix/images/navbar_r3_c1.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c2.gif ]   URI: /phenix/images/navbar_r3_c2.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c3.gif ]   URI: /phenix/images/navbar_r3_c3.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c4.gif ]   URI: /phenix/images/navbar_r3_c4.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c5.gif ]   URI: /phenix/images/navbar_r3_c5.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c6.gif ]   URI: /phenix/images/navbar_r3_c6.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c7.gif ]   URI: /phenix/images/navbar_r3_c7.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c8.gif ]   URI: /phenix/images/navbar_r3_c8.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c9.gif ]   URI: /phenix/images/navbar_r3_c9.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r4_c1.gif ]   URI: /phenix/images/navbar_r4_c1.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c3_f2.gif ]   URI: /phenix/images/navbar_r3_c3_f2.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c3.gif ]   URI: /phenix/images/navbar_r3_c3.gif   Bad executable
CGI: [CSSfile stylesheet.css ]   URI: /phenix/stylesheet.css   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r1_c1.gif ]   URI: /phenix/images/navbar_r1_c1.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c1.gif ]   URI: /phenix/images/navbar_r3_c1.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c2.gif ]   URI: /phenix/images/navbar_r3_c2.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c3.gif ]   URI: /phenix/images/navbar_r3_c3.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c4.gif ]   URI: /phenix/images/navbar_r3_c4.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c5.gif ]   URI: /phenix/images/navbar_r3_c5.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c6.gif ]   URI: /phenix/images/navbar_r3_c6.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c7.gif ]   URI: /phenix/images/navbar_r3_c7.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c8.gif ]   URI: /phenix/images/navbar_r3_c8.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r3_c9.gif ]   URI: /phenix/images/navbar_r3_c9.gif   Bad executable
CGI: [rundll32.exe C:\WINDOWS\system32\SHIMGVW.DLL,ImageView_Fullscreen navbar_r4_c1.gif ]   URI: /phenix/images/navbar_r4_c1.gif   Bad executable
CGI: ["C:\Program Files\pictures\I_view32.exe" phenix_r1_c1.jpg ]   URI: /phenix/images/phenix_r1_c1.jpg   Broken pipe

Here is my access.log
Code:
127.0.0.1 - - [13/Apr/2005:18:15:59 -0400] "GET / HTTP/1.1" 200 123
127.0.0.1 - - [13/Apr/2005:18:15:59 -0400] "GET /pwrabyss.png HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:23 -0400] "GET /favicon.ico HTTP/1.1" 404 234
127.0.0.1 - - [13/Apr/2005:18:16:49 -0400] "GET /phenix/index.php HTTP/1.1" 200 10508
127.0.0.1 - - [13/Apr/2005:18:16:49 -0400] "GET /phenix/stylesheet.css HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:49 -0400] "GET /phenix/images/navbar_r1_c1.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:49 -0400] "GET /phenix/images/navbar_r3_c1.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:49 -0400] "GET /phenix/images/navbar_r3_c2.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:50 -0400] "GET /phenix/images/navbar_r3_c3.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:50 -0400] "GET /phenix/images/navbar_r3_c4.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:50 -0400] "GET /phenix/images/navbar_r3_c5.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:50 -0400] "GET /phenix/images/navbar_r3_c6.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:50 -0400] "GET /phenix/images/navbar_r3_c7.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:50 -0400] "GET /phenix/images/navbar_r3_c8.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:50 -0400] "GET /phenix/images/navbar_r3_c9.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:50 -0400] "GET /phenix/images/navbar_r4_c1.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:55 -0400] "GET /phenix/images/navbar_r3_c3_f2.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:55 -0400] "GET /phenix/images/navbar_r3_c3.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:57 -0400] "GET /phenix/index.php HTTP/1.1" 200 10508
127.0.0.1 - - [13/Apr/2005:18:16:58 -0400] "GET /phenix/stylesheet.css HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:58 -0400] "GET /phenix/images/navbar_r1_c1.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:58 -0400] "GET /phenix/images/navbar_r3_c1.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:58 -0400] "GET /phenix/images/navbar_r3_c2.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:58 -0400] "GET /phenix/images/navbar_r3_c3.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:58 -0400] "GET /phenix/images/navbar_r3_c4.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:58 -0400] "GET /phenix/images/navbar_r3_c5.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:58 -0400] "GET /phenix/images/navbar_r3_c6.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:58 -0400] "GET /phenix/images/navbar_r3_c7.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:58 -0400] "GET /phenix/images/navbar_r3_c8.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:58 -0400] "GET /phenix/images/navbar_r3_c9.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:58 -0400] "GET /phenix/images/navbar_r4_c1.gif HTTP/1.1" 500 246
127.0.0.1 - - [13/Apr/2005:18:16:49 -0400] "GET /phenix/images/phenix_r1_c1.jpg HTTP/1.1" 500 0
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Apr 14, 2005 12:07 pm    Post subject: Re: odd Error 500 problem with Images Reply with quote

pickupman,

Obviously, your "Scripting Parameters" are set wrongly and are instructing Abyss Web Server that JPG files are CGI applications/scripts that should be executed instead of being downloaded.

This situation usually happens when you have / as one of the "Script Paths" in "Scripting Parameters". Try removing it.

But for a complete solution of the problem, we recommend that you send to support@aprelium.com your abyss.conf file (do not forget to add a reference to this forum message in the email). Our technical support will give you the instructions to know how to fix your configuration.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
pickupman
-


Joined: 21 Jun 2004
Posts: 4
Location: Ohio

PostPosted: Thu Apr 14, 2005 12:22 pm    Post subject: Reply with quote

In Scripting Parameters there was a / in the Script Paths. I deleted it, and now it loads perfectly. Interesting behavior....Thanks for the tip.
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu Apr 14, 2005 12:34 pm    Post subject: Reply with quote

pickupman wrote:
In Scripting Parameters there was a / in the Script Paths. I deleted it, and now it loads perfectly. Interesting behavior....Thanks for the tip.

Abyss Web Server relies on the paths in "Script Paths" to know if the a file is a CGI app/script or not. The rule is simple: any file which is inside one of the "Script Paths" or which matches with one of the patterns in "Script Paths" is considered as a CGI app/script.
So if you include / there, you simply tell the server to consider every file as a CGi app/script since all the files in the web site are in the virtual path /.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group