httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manupriya <manupriya.si...@gmail.com>
Subject Re: [users@httpd] Re: How to use self signed Jar file on Apache HTTP Server
Date Thu, 12 Feb 2009 13:46:23 GMT

Thanks Dan,

We are now able to install the certificate. But still we are not able to
access the js file inside the signed jar.

We are using PHP 5.0, Apache Web Server and Java Script.

Please find the details below - 
1. We have made a signed jar of all the js files that our application is
using.
2. Then we have put this jar file in the same directory as js files.
Our application structure is as follows - 
http://www.nabble.com/file/p21976382/dir-structure.jpg 
3. Now we are using the following code in our php file - 

<script type="text/javascript"
src="jar:http://localhost/clients/js/signedJar.jar!/editGrid.js"></script>
var ClipboardText=getClipboard(); 

getClipboard() is a method in editGrid.js

But it gives me following error - 

That getClipboard() method is not defined.

http://www.nabble.com/file/p21976382/jar-error.jpg 

I think I am missing out on some important configuration. Please help.

Thanks,
Manu

Dan Poirier wrote:
> 
> Manupriya <manupriya.sinha@gmail.com> writes:
> 
>> 2. Deployment time - Self Signed web pages - We followed the link -
>> http://straxus.javadevelopersjournal.com/creating_a_mozillafirefox_drag_and_drop_file_upload_script_p_1.htm
>>
>> 1. What do I do with x509.raw and x509.cacert ? Where do I copy these
>> files
>> on the Apache Server?
>> 2. Where do I copy the jar file on the server that I am able to refer it
>> on
>> my web pages? I am NOT table to access it from my web pages using - 
>> jar:http://www.mozilla.org/projects/tempapp.jar!/temptable.js
>> 3. Will I have to enable SSL on the apache server.
> 
> 1. From the web page referenced: "The easiest way to do this is to add a
> link to your page somewhere which links to the certificate file (The one
> named x509.cacert which we created earlier – you will want to save it as
> x509.crt so that the browser and web server handle it correctly) and ask
> the user to click on it before they access the website."  
> 
> So put the cert file somewhere that Apache can serve it up via a link
> from your page.
> 
> 2. Similarly, the instructions say the jar should accessible via some
> URL, so put it wherever you'd put any other file you wanted accessible
> via a particular URL.
> 
> 3. Not unless you want to.
> 
> 
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/How-to-use-self-signed-Jar-file-on-Apache-HTTP-Server-tp21975677p21976382.html
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message