+1 !! I liked the idea. I note it for future needs.

Antonio Fiol

Roman Fail wrote:

There's also an iptables workaround for port 80 on Linux that I am using in production and found very useful:

http://www-106.ibm.com/developerworks/linux/library/l-secjav.html

Roman

-----Original Message----- From: Yoav Shapira [mailto:[EMAIL PROTECTED] Sent: Wed 6/18/2003 4:16 PM To: Tomcat Users List; [EMAIL PROTECTED] Cc: Subject: Re: Tomcat Standalone and Virtual Hosting


        Howdy,
        This partially depends on your OS.  If you're on windows, you can just run
        tomcat on port 80.  If you're on unix, port 80 is privileged and you need to:
        - Work around that, e.g. by using sudo or commons-launcher
        - Put an Apache front-end to serve static content on port 80, and connect it to
        tomcat for dynamic content.
        
        Either tomcat or apache by themselves support virtual hosting.  For tomcat, you
        simply add more <Host> elements in server.xml.  See the <Host> configuration
        reference in the tomcat docs.
        
        Yoav Shapira
        
        --- Latesha Williams <[EMAIL PROTECTED]> wrote:
        > I have a web application deployed under Tomcat v4.1.18 (port 8080).  Is it
        > also possible to configure the Tomcat Standalone Service to support virtual
        > hosting, but on port 80?  If so, how is this accomplished?  What is the
        > "best practices" method for storing static web content in this situation?
        > Should the web content be placed in the Tomcat directory, or someplace else?
        > Any guidance you can provide is appreciated.
        >
        > Latesha Williams
        > Applications Support, Information Technology
        > American Museum of Natural History
        > [EMAIL PROTECTED]
        > (W) 212.769.5947
        > (C) 917.837.2460
        >
        >
        >
        > ---------------------------------------------------------------------
        > To unsubscribe, e-mail: [EMAIL PROTECTED]
        > For additional commands, e-mail: [EMAIL PROTECTED]
        >
        
        
        =====
        Yoav Shapira
        [EMAIL PROTECTED]
        
        __________________________________
        Do you Yahoo!?
        SBC Yahoo! DSL - Now only $29.95 per month!
        http://sbc.yahoo.com
        






--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to