[Orca-users] URL problems with certain graphs?

David Michaels dragon at raytheon.com
Mon Aug 9 10:16:30 PDT 2004


I think it doesn't like those files because of the %[number] 
combinations, actually.  I believe %## is interpreted on the web server 
side as a special character.  For instance, oftentimes you'll see %20 in 
the URL where a space is in the desired filename.

To try and reproduce your error, I renamed one of my test html files to 
match your original filename, which I figure to be something like this:

o_prd20_gauge_volatile_disk_runp_((?_c\d+t\d+d\d+)|(?_c\d+d\d+)|(?_[ms]d\d+)|(?_c\d+t([A-Z0-9]{32})d\d+))-daily.html

(replaced the png extension with html), and was able to load it up in 
Mozilla 1.7, IE 6.0, and FireFox 0.9.  To access the file, since it had 
such a long name, I browsed to the parent directory (browse-contents 
turned on at the Apache server level), then clicked on the link for the 
file, and it worked like a charm in all 3 cases, but only because the 
web browser translated the \'s, |'s, ?'s, and []'s into % replacements.  
However, when I tried to be more explicit about the URL by cut&pasting 
the /actual/ filename into the URL field (after the parent URL, of 
cuorse), it failed with a

404:  "The requested URL 
/~dmichael/citrix/o_prd20_gauge_volatile_disk_runp_(( was not found on 
this server."

Note the lack of any characters in the filename past the ?.  That's 
because the ? is a special character, used with CGI scripts and the like.

Here's how the webserver translated your filename so it would be browsable:

o_prd20_gauge_volatile_disk_runp_((%3f_c%5cd+t%5cd+d%5cd+)%7c(%3f_c%5cd+d%5cd+)%7c(%3f_%5bms%5dd%5cd+)%7c(%3f_c%5cd+t(%5bA-Z0-9%5d%7b32%7d)d%5cd+))-daily.html

This should pretty much match what you had in your URL.  All 3 of my 
browsers were able to browse the above filename, using Apache on the 
server end.

Many of my files have this syntax in them (with ?'s and \'s and the 
like), and I have no problem browsing to any of them.  What error do you 
get when you try to browse to that URL?

--Dragon



Joel D. Cohen wrote:

>Hi all,
>
>I've got a problem with IE and Firefox not being able to show some graph images because the URL for them has weird characters in it. Here is an example of one graph that is not showing up:
>
>http://webapp2.dpw.com/orcallator/prd20/o_prd20_gauge_volatile_disk_runp_((%3f_c%5cd+t%5cd+d%5cd+)%7c(%3f_c%5cd+d%5cd+)%7c(%3f_%5bms%5dd%5cd+)%7c(%3f_c%5cd+t(%5bA-Z0-9%5d%7b32%7d)d%5cd+))-daily.png
>
>
>My guess is that it's because of the \ characters. Anyone else run into this and know how to fix it?
>
>I'm running Orca 0.28 dev 380 on Solaris 8.
>
>Joel Cohen
>System Administrator
>Davis, Polk & Wardwell
>
>_______________________________________________
>Orca-users mailing list
>Orca-users at orcaware.com
>http://www.orcaware.com/mailman/listinfo/orca-users
>  
>

-- 

	Raytheon 	

	*David P. Michaels*
Senior Multi-Disciplined Engineer II W.H.
NPOESS IS
Platform OS Unix
303.344.6840
720.858.5952 fax
720.521.0561 pager
dragon at raytheon.com <mailto:dragon at raytheon.com> 	*aka "Dragon"*

"I wonder what news is doing..."

 news at newshost <29> ps -fu news      
 news 18624 12367 2 0:00 makehistory 

"News is making history."
      

-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/orca-users/attachments/20040809/d56a491d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Raytheon.gif
Type: image/gif
Size: 481 bytes
Desc: not available
URL: </pipermail/orca-users/attachments/20040809/d56a491d/attachment.gif>


More information about the Orca-users mailing list