Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Execute servlet through apache web server. |
|
Author |
|
ashwani_ap
Joined: 29 Aug 2007 Posts: 47 Location: Bangalore
|
Posted: Sat 01 Sep '07 15:15 Post subject: Execute servlet through apache web server. |
|
|
Hi Folks,
I want to write to a file the hostname and the port no through which the client connects to the server in to another jnlp file. Is it possible to do this by writing a servlet program and then deploying it at the Apache server cgi-bin or somwhere.
So whenever the request comes from the browser this servlet por some script (not sure) executes and writes into that file, the hostname and portno.
Please help. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Mon 03 Sep '07 17:17 Post subject: |
|
|
Does access.log not show that info? Cause there is only port 80 for http or 443 for SSL (which can have a different log file). Of cause you can configure the output of the logs and may create a custom one. |
|
Back to top |
|
|
|
|
|
|