× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Probably already been answered, but you specify:

src="TheFlashFile.swf....

That means it's going to use the current directory in the
path.  And I'm betting that the page this is displayed with
is a cgi program with /cgi-bin or something in the URL. 

I always (well, 99% of the time) use qualified paths in
images, source, css, SSI, etc...

Brad


On Thu, 25 May 2006 18:17:14 -0500
 "Shannon ODonnell" <sodonnell@xxxxxxxxxxxxxxxxx> wrote:
> Hi,
> 
>  
> 
> I have an Apache config issue that has got me baffled.
> 
>  
> 
> Here's the problem.
> 
>  
> 
> I have a web page that has an embedded <OBJECT> tag in
> it, which points to a
> Flash file (*.swf).  The link looks like this:
> 
>  
> 
> <OBJECT
> classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
> WIDTH="843"
> HEIGHT="526" id="FCColumn0" ALIGN="left">
> 
> <PARAM NAME=movie
>
VALUE="TheFlashFile.swf?dataurl=/graphs/graphsC51/InputXMLFile.xml">
> 
> <PARAM NAME=quality VALUE=high>
> 
> <PARAM NAME=bgcolor VALUE=#FFFFFF>
> 
> <EMBED
>
src="TheFlashFile.swf?dataurl=/graphs/graphsC51/ArbalsInputXMLFile.xml"
> quality=high bgcolor=#FFFFFF WIDTH="50%" HEIGHT="100%"
> NAME="FCColumn"
> ALIGN="top" TYPE="application/x-shockwave-flash">
> 
> </EMBED>
> 
> </OBJECT>
> 
>  
> 
> The actual flash file is in a directory structure like
> this:
> /c52cgi/GRAPHS/GRAPHSC51/ .  
> 
>  
> 
> So, on an Original HTTP Server, this path works fine.  On
> my new Apache
> configuration, I get an error back in the log that says: 
> 
>  
> 
> /qsys.lib/programs.lib/TheFlashFile.swf.pgm is not a cgi
> program:
> /qsys.lib/programs.lib/TheFlashFile.swf.pgm  
> 
>  
> 
> Which to me means that somehow Apache thinks that that
> link is supposed to
> be a CGI program, when in fact, all it is in a link to
> the flash file.
> 
>  
> 
> All I can think is that my ScriptAlias directive is
> somehow translating that
> link into a request for a CGI program.  Everything else
> on this server works
> the way it should except for this <OBJECT> tag.
> 
>  
> 
> Here is the appropriate sections of the config file that
> I think probably
> apply here:
> 
>
================================================================
> 
>  
> 
> ScriptAliasMatch ^/cgi-bin/(.*)
> /qsys.lib/c52cgi.lib/$1.pgm
> 
>  
> 
> <VirtualHost 111.111.111.111:443>
> 
>  
> 
>    DocumentRoot /c52cgi
> 
>    SSLEngine On
> 
>     SSLAppName QIBM_HTTP_SERVER_CERTIFICATE
> 
>  
> 
>   <Directory /QSYS.LIB/C52CGI.LIB/>
> 
>      Options +ExecCGI
> 
>      SetHandler cgi-script  
> 
>      Order allow,deny
> 
>      Allow from all 
> 
>   </Directory>
> 
>  
> 
> <Directory /c52cgi/GRAPHS>
> 
>    Order Allow,Deny
> 
>    Allow From all
> 
> </Directory>
> 
>  
> 
> </VirtualHost>
> 
> 
>
===========================================================
> 
>  
> 
> Anyone have an idea of why that link would be getting
> translated as a
> request for a CGI program?  Perhaps I need another
> ScriptAlias directive
> there that points to my /c52cgi/graphs/ directory?
> 
>  
> 
> Maybe it's a MIME type directive I'm missing?
> 
>  
> 
> Thanks!
> 
>  
> 
> Shannon O'Donnell
> 
>  
> 
>  
> 
> -- 
> This is the Web Enabling the AS400 / iSeries (WEB400)
> mailing list
> To post a message email: WEB400@xxxxxxxxxxxx
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/mailman/listinfo/web400
> or email: WEB400-request@xxxxxxxxxxxx
> Before posting, please take a moment to review the
> archives
> at http://archive.midrange.com/web400.
> 

Bradley V. Stone
BVS.Tools
www.bvstools.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.