On Mon, Dec 01, 2008 at 09:16:42AM +1100, Gary Browne wrote:
> The other consideration relates to the port 8080 part of your URL. If
> you want to get rid of this then you need to have your Apache HTTPD
> server use something like mod_proxy_ajp to redirect (configurably) port
> 80 requests to port 8080

The O.P didn't say whether the site is running Tomcat behind HTTPD.
If not, then changing the port would require reconfiguring the
affected Connector element in Tomcat's server.xml, changing the
'port="8080" to 'port="80"' (and 'redirectPort="8443"' to
'redirectPort="443"').  If SSL is to be used, another Connector will
need 'port="8443"' changed to 'port="443"'.

On a Unix system, these changes would require that Tomcat be started
as a privileged user in order to have access to those low-numbered
ports.  I don't know how the O.P.'s Windows server environment affects
that.

On Unix there is a 'jsvc' wrapper which can be used to invoke Tomcat's
startup methods as root (which will open the listening sockets), get
control back, change UID to something less privileged, and invoke
Tomcat's main loop, so that the service actually runs with less
privilege but still can open listening sockets on privileged ports.
If there is a need to do this on Windows, there is probably a way to
do it, but again I don't run Tomcat on Windows and can't give specific
advice there.

-- 
Mark H. Wood, Lead System Programmer   [EMAIL PROTECTED]
Friends don't let friends publish revisable-form documents.

Attachment: pgpUZfsJnWCNN.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to