You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Dan Poirier <po...@pobox.com> on 2009/02/12 14:19:07 UTC
[users@httpd] Re: How to use self signed Jar file on Apache HTTP Server
Manupriya <ma...@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
Re: [users@httpd] Re: How to use self signed Jar file on Apache HTTP
Server
Posted by Eric Covener <co...@gmail.com>.
On Thu, Feb 12, 2009 at 12:48 PM, Manupriya <ma...@gmail.com> wrote:
>
> Thanks Dan,
>
> But what we actually understand is, if there is any specific location that
> we should put the jar file on the Apace HTTP Server? We have tried many
> probable locations, but from no where are we able access the jar/js file
> inside the Jar.
I'm assuming this is an applet. You're requesting the jar somehow, and
you should be able to see the URL in your access log.
If the status code is 404 instead of 200, either the jar or the HTML
is in the wrong place. See DocumentRoot and Alias in your config file
to understand how the filesystem relates to URLs.
If the jar is served successfully with a 200, you really have a java
applet question.
--
Eric Covener
covener@gmail.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
Re: [users@httpd] Re: How to use self signed Jar file on Apache
HTTP Server
Posted by Manupriya <ma...@gmail.com>.
Thanks Dan,
But what we actually understand is, if there is any specific location that
we should put the jar file on the Apace HTTP Server? We have tried many
probable locations, but from no where are we able access the jar/js file
inside the Jar.
Any insight or direction would be helpful.
Thanks,
Manu
Dan Poirier wrote:
>
> None of that has to do with the web server. You'll need to find help
> for it elsewhere.
>
>
> ---------------------------------------------------------------------
> 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-tp21975677p21981172.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
[users@httpd] Re: How to use self signed Jar file on Apache HTTP Server
Posted by Dan Poirier <po...@pobox.com>.
None of that has to do with the web server. You'll need to find help
for it elsewhere.
---------------------------------------------------------------------
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
Re: [users@httpd] Re: How to use self signed Jar file on Apache
HTTP Server
Posted by Manupriya <ma...@gmail.com>.
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 <ma...@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