Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 805
  • Last Modified:

run jnlp file default in apache


hello thee,

i would like to run the jnlp file by default in my apache.what do i need to do.so that when i run localhost,the jnlp file should start running instead of showing the directory structure and then clciking on the jnlp file.

cheers
Zolf
0
zolf
Asked:
zolf
  • 2
  • 2
  • 2
2 Solutions
 
objectsCommented:
define a redirect in your apache config

0
 
CEHJCommented:
Access it by the full address of the jnlp file rather than that of the parent directory
0
 
zolfAuthor Commented:

can you please give me an example.i did not understand what you meant.
in IIS you can mention to run jnlp file as default.is there something like this in apache

my server root is in C:web_root folder.apache open the web root folder in the browser.but i want it to run the jnlp appplication directly when i enter the ip address o fthe server
0
Granular recovery for Microsoft Exchange

With Veeam Explorer for Microsoft Exchange you can choose the Exchange Servers and restore points you’re interested in, and Veeam Explorer will present the contents of those mailbox stores for browsing, searching and exporting.

 
CEHJCommented:
>>in IIS you can mention to run jnlp file as default.is there something like this in apache

Yes but you would normally want to do this with index.html. You could do it by specifying your jnlp file in

http://httpd.apache.org/docs/2.2/mod/mod_dir.html#directoryindex
0
 
objectsCommented:
yes as I mentioned earier you configure a redirect :)
you can either use DirectoryIndex:


   DirectoryIndex my.jnlp


or you may need to use RewriteRule


0
 
zolfAuthor Commented:

thanks for the e.g.
0

Featured Post

Restore individual SQL databases with ease

Veeam Explorer for Microsoft SQL Server delivers an easy-to-use, wizard-driven interface for restoring your databases from a backup. No expert SQL background required. Web interface provides a complete view of all available SQL databases to simplify the recovery of lost database

  • 2
  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now