Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

mod_proxy port-based passthru

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


marcosrmendez at gmail

Nov 3, 2009, 9:32 AM

Post #1 of 2 (110 views)
Permalink
mod_proxy port-based passthru

Hi,

Is there an easy way to configure mod_proxy to let certain ports
passthru? I've got a couple of rewrite rules on port 80, but don't
know how to do that for SSL/443 for example so that the proxy does not
get involved.

Regards,

Marcos

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


aw at ice-sa

Nov 3, 2009, 10:42 AM

Post #2 of 2 (98 views)
Permalink
Re: mod_proxy port-based passthru [In reply to]

Marcos Mendez wrote:
> Hi,
>
> Is there an easy way to configure mod_proxy to let certain ports
> passthru? I've got a couple of rewrite rules on port 80, but don't
> know how to do that for SSL/443 for example so that the proxy does not
> get involved.
>
For a simple answer, without digging into what you are really up to, see
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond
e.g.

RewriteCond %{HTTPS} !"^on$"

before your RewriteRule(s)

Now, I do not really understand how all requests to your server, both to
HTTP (port 80) and to HTTPS (port 443), would end up going through the
same RewriteRule(s), rather than being separated in more distinct area
of your configuration.
So if you have further questions, I would suggest to provide a bit more
information about your configuration and what you are trying to achieve.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.