Re: how to preload a dll and loading a .js into a .cgi in cgi-bin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for replying noodl.   

I have tried the LoadFile directive but Apache would not start.   That's
why I was asking if there was a way to do it in the startup.pl file.
The commands that I tried follow and were placed at the end of the HTTPD
file.

LoadFile "C:/usr/www/steepusa/cgi-bin/perlchartdir5005.dll"
LoadFile "C:/usr/www/steepusa/cgi-bin/perlchartdir5004.dll"
LoadFile "C:/usr/www/steepusa/cgi-bin/perlchartdir58mt.dll"
LoadFile "C:/usr/www/steepusa/cgi-bin/perlchartdir58.dll"
LoadFile "C:/usr/www/steepusa/cgi-bin/perlchartdir56mt.dll"
LoadFile "C:/usr/www/steepusa/cgi-bin/perlchartdir56.dll"

I have been trying to load a .JS file in a script tag in my cgi script's
html.   I have tried loading from directories above and below the cgi-bin
directory and can't seem to get it to work.   Do I need to adjust the 
HTTPD somehow?

Thanks,
craigt




noodl wrote:
> 
> On 24 Nov 2007, at 11:26, CraigT wrote:
>> 1) How can I preload a dll.   I preload language modules (Perl) in a  
>> startup
>> file executed in the HTTPD file.
>> I think this is the place, but I don't know how to do code it.
> 
> I'm not exactly sure what you're asking here, but you might need the  
> LoadFile directive.
> 
>> 2) How can I load a Javascript file into a .CGI file residing in the  
>> cgi-bin
>> directory.   I can't load .JS files from anyplace into a .CGI file  
>> in this
>> directory.   I can load .JS files into .HTML files in the root  
>> however.
>> I'm thinking that an adjustment in the HTTPD file is necessary, but  
>> I need
>> some guidance.
> 
> Again, this doesn't make much sense. What does it mean to load a  
> javascript file in to a cgi script?
> 
> Perhaps you're using a script tag in your cgi script's html that  
> expects to be able to request a javascript file that's in the cgi-bin  
> directory? That typically won't work, as traditionally the name cgi- 
> bin refers to directories that contain only executable cgi scripts.
> 
> -- 
> noodl
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/how-to-preload-a-dll-and-loading-a-.js-into-a-.cgi-in-cgi-bin-tf4865564.html#a13935584
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux