[EMAIL PROTECTED] mod_rewrite - query string appended to URL?

2008-07-18 Thread Philip Pemberton
Hi, I'm trying to track down an issue with a set of rewrite rules that I'm using to convert links from www.mysite.com/dir/page (and /dir/page/) format into a query-string for a script. To give a better example: www.example.com/projects/foo= /index.php?projects/foo

[EMAIL PROTECTED] SetEnvIf question

2008-07-18 Thread Lars
Hello! I want to combine some settings in my httpd.conf and .htaccess file. Example; In my httpd.conf I have: Directory /www/html/secure Order deny,allow deny from all /Directory And I want to be able to allow some users, and I want do define them in the .htaccess file.. I also want that _if_

Re: [EMAIL PROTECTED] Setting cookies from proxied backend

2008-07-18 Thread solprovider
Thank you for clarifying. - I forgot to mention the Set-Cookie domain must match the suffix of the originating host. - Neither of us mentioned that IP Addresses are exempt from partial domain matching. IP Addresses are allowed as the Cookie domain for exact matches. - We had difficulty receiving

Re: [EMAIL PROTECTED] Send a request to another apache server

2008-07-18 Thread Chris Arnold
I have searched around and there are many helps on the internet but none seem to address my issue. They have a some-domain.tld site on the apache server (where i am making the changes to vhost.conf) and i want the requests that come to that apache server to (based on a dns address,

Re: [EMAIL PROTECTED] 403 Errors and Virtual Hosts

2008-07-18 Thread solprovider
On 7/17/08, Rob [EMAIL PROTECTED] wrote: Just wondering if some one could give me a hand with my Virtual Host # mysite VirtualHost 0.0.0.0:80 ServerName mysite.co.nz RewriteEngine on RewriteCond %{HTTP_HOST} !^$ RewriteRule ^/(.*) http://www.mysite.co.nz/$1 [NE,R] /VirtualHost

Re: [EMAIL PROTECTED] Send a request to another apache server

2008-07-18 Thread Dragon
Chris Arnold wrote: I have searched around and there are many helps on the internet but none seem to address my issue. They have a some-domain.tld site on the apache server (where i am making the changes to vhost.conf) and i want the requests that come to that apache server to (based on a dns

Re: [EMAIL PROTECTED] question on port number from client to host

2008-07-18 Thread Mike Friedman
That's how it works. Outgoing HTTP requests bind to a random unused, unprivileged port on the client machine and connect to port 80 on your server. A different outgoing port will be used on subsequent requests. Mike On Thu, Jul 17, 2008 at 9:24 PM, RCKV [EMAIL PROTECTED] wrote: hello I am

Re: [EMAIL PROTECTED] Send a request to another apache server

2008-07-18 Thread Dimitri Yioulos
On Friday 18 July 2008 11:40 am, Dragon wrote: Chris Arnold wrote: I have searched around and there are many helps on the internet but none seem to address my issue. They have a some-domain.tld site on the apache server (where i am making the changes to vhost.conf) and i want the requests

Re: [EMAIL PROTECTED] Send a request to another apache server

2008-07-18 Thread Chris Arnold
Does the webmail application reside on a physically different machine with a different IP address? Yes. ?If so, the easiest (and best) way to do that is via proper DNS and routing to the right machine for each application. Why would you want to have Apache do what your router should be doing?

[EMAIL PROTECTED] mod_jk

2008-07-18 Thread Mohit Anchlia
I have a mod_jk configured on box A to load balance to box B (jboss) and C (jboss) . I am getting following error while connecting [Fri Jul 18 09:17:25 2008] [1418:] [info] ajp_connect_to_endpoint::jk_ajp_common.c (935): Failed opening socket to ( 172.18.42.3:8009) with (errno=115) Could

[EMAIL PROTECTED] SSL tunneling on Apache

2008-07-18 Thread Alan Honczar
Hi all, My system is frontended by Apache, that handles the SSL requests. I am now facing the need to handle non-http requests (ISO-8583). We have internal reasons to not change the incoming environment. My question is: Is possible to configure Apache as one ssl tunnel for non-http messages?

Re: [EMAIL PROTECTED] Send a request to another apache server

2008-07-18 Thread Dragon
Chris Arnold wrote: Does the webmail application reside on a physically different machine with a different IP address? Yes. ?If so, the easiest (and best) way to do that is via proper DNS and routing to the right machine for each application. Why would you want to have Apache do what your

Re: [EMAIL PROTECTED] Send a request to another apache server

2008-07-18 Thread Chris Arnold
OK, if I understand you correctly... I see you having two options. You can configure your router/fire wall to route the traffic to the individual servers behind the fire wall, (if this is possible, it is the BEST way to do it IMO). This means that port 80 traffic for webmail.example.com

Re: [EMAIL PROTECTED] Send a request to another apache server

2008-07-18 Thread Dragon
Chris Arnold wrote: OK, if I understand you correctly... I see you having two options. You can configure your router/fire wall to route the traffic to the individual servers behind the fire wall, (if this is possible, it is the BEST way to do it IMO). This means that port 80 traffic for

[EMAIL PROTECTED] How to prevent apache proxy abuse?

2008-07-18 Thread Ali Nebi
Hi, i would like to ak how can i block these attempts? fcmat_ex.nw1.fcmat.org - - [18/Jul/2008:09:51:30 -0500] POST http://lti-mail01.ltinetworks.com:25/ HTTP/1.0 302 313 - - fcmat_ex.nw1.fcmat.org - - [18/Jul/2008:09:51:30 -0500] GET http://www.microsoft.com/ HTTP/1.0 302 304 - Mozilla/4.0

RE: [EMAIL PROTECTED] mod_jk

2008-07-18 Thread Jorge Medina
Perhaps the port (8009) is already in use by another process. From: Mohit Anchlia [mailto:[EMAIL PROTECTED] Sent: Friday, July 18, 2008 12:22 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] mod_jk I have a mod_jk configured on box A to load

Re: [EMAIL PROTECTED] How to prevent apache proxy abuse?

2008-07-18 Thread Rich Schumacher
If you are seeing nothing but abuse from these hosts your best bet would be to block these at the router/firewall level. If you don't have access to that, use iptables on the web server to silenty drop any connections from them. On Fri, Jul 18, 2008 at 12:08 PM, Ali Nebi [EMAIL PROTECTED] wrote:

Re: [EMAIL PROTECTED] How to prevent apache proxy abuse?

2008-07-18 Thread Ali Nebi
Thanks for the reply. I use shorewall firewall. I will try to configure it to drop these hosts. Is there some way to deny these accesses with rewriterule? If yes how it should looks like? Quoting Rich Schumacher [EMAIL PROTECTED]: If you are seeing nothing but abuse from these hosts your

[EMAIL PROTECTED] Configuration Errors on SSL+Apache 2.2 +mod_jk +Tomcat 5.5

2008-07-18 Thread kohanm
Hi, I'am having probem to configure the SSL with the Apache 2.2 +mod_jk +Tomcat 5.5. Without *SSL *implementation the *Tomcat 5.5 +Apache2.2 + mod_k* works fine. For implementing the SSL first I take it out the # from Include ssl: *Include conf/extra/httpd-ssl.conf *and also in the

Re: [EMAIL PROTECTED] How to prevent apache proxy abuse?

2008-07-18 Thread Rich Schumacher
You could use mod_rewrite/.htaccess to block these hosts. If you have access, however, I'd suggest adding them to the DocumentRoot in your httpd.conf. This is especially helpful if you are serving multiple sites from a single server using vhosts. Adding them to the httpd.conf will allow you to

Re: [EMAIL PROTECTED] How to prevent apache proxy abuse?

2008-07-18 Thread Jacqui Caren
Ali Nebi wrote: Thanks for the reply. I use shorewall firewall. I will try to configure it to drop these hosts. Off topic now (nd assuming this is a non commercial web service) Add the ip addresses to /etc/shorewall/blacklists and ensure blacklists is added to the correct line in the

RE: [EMAIL PROTECTED] Configuration Errors on SSL+Apache 2.2 +mod_jk +Tomcat 5.5

2008-07-18 Thread Jorge Medina
Did you enable (LoadModule) the ssl module ? How did you get your certificate and key? Is your public key protected by a password ? If not, you don't need to include the SSLPassPhraseDialog directive. From: kohanm [mailto:[EMAIL PROTECTED] Sent:

[EMAIL PROTECTED] apache load balance very uneven

2008-07-18 Thread fernando castano
Hi all, I'm new to apache. I am experiencing a problem with apache load balancer. I configured the load balancer across 10 app servers (glassfish domains), but when I see the way the cookies (and load) are distributed I see a very uneven distribution. Here is my proxy configuration: