Understood. But I do not want to use Tomcat proxying services. I just want 
to host 8080 locally and let my ipfilter firewall block and proxy for me.

Roberto



Hassan Schroeder <[EMAIL PROTECTED]> 
08/15/2005 08:41 AM
Please respond to
"Tomcat Users List" <tomcat-user@jakarta.apache.org>


To
Tomcat Users List <tomcat-user@jakarta.apache.org>
cc

Subject
Re: Security Questions Regarding Tomcat






Robert V. Coward/CTR/OSAGWI wrote:
> Hmmm. Well take a look at this entry from the server.xml file:
> 
>     <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
>     <!-- See proxy documentation for more information about using this. 
> -->
>     <!--
>     <Connector port="8082"
>                maxThreads="150" minSpareThreads="25" 
maxSpareThreads="75"
>                enableLookups="false" acceptCount="100" 
> connectionTimeout="20000"
>                proxyPort="80" disableUploadTimeout="true" />
>     -->
> 
> I did not add this and from what I can tell this comes with the default 
> config. Any info?

About what? This is in the Fine Manual -- see the Connector
documentation under tomcat-docs/config/:
-------------------------------------------------------------------
Proxy Support

     The proxyName and proxyPort attributes can be used when Tomcat is 
run behind a proxy server. These attributes modify the values returned 
to web applications that call the request.getServerName() and 
request.getServerPort() methods, which are often used to construct 
absolute URLs for redirects. Without configuring these attributes, the 
values returned would reflect the server name and port on which the 
connection from the proxy server was received, rather than the server 
name and port to whom the client directed the original request.

     For more information, see the Proxy Support HOW-TO.
-------------------------------------------------------------------

Though this isn't particularly relevant to your situation, since as
are many of the *examples* in the default server.xml, this entry is
*commented out*.

HTH!
-- 
Hassan Schroeder ----------------------------- [EMAIL PROTECTED]
Webtuitive Design ===  (+1) 408-938-0567   === http://webtuitive.com

                           dream.  code.



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


Reply via email to