Re: [us...@httpd] Question for using mod_rewrite to do proxying

2009-02-23 Thread Krist van Besien
On Mon, Feb 23, 2009 at 5:20 PM, Michael Roberts wrote: > Is there a major flaw in my rules that's preventing me from doing this proxy > of all requests from http://www.example.com/blog to http://blog.example.com/ There might indeed be a flaw. The best way to find out is to enable rewrite rule l

Re: [us...@httpd] Question for using mod_rewrite to do proxying

2009-02-23 Thread Brian Mearns
On Mon, Feb 23, 2009 at 11:20 AM, Michael Roberts wrote: > Hi everyone, > > I have the following rules with mod_rewrite: > > RewriteEngine on > RewriteCond %{HTTP_HOST} ^www\.example\.com$ > RewriteRule ^blog/(.*?)$ http://blog.example.com/$1 [P] > > > RewriteCond %{HTTP_HOST} ^example.com$ > > Re

Re: [us...@httpd] Require dbd-group not accepting users belonging to multiple groups

2009-02-23 Thread paredes
Sorry about that. I just noticed that this has already been posted as bug# 46421. The posted fix solves the issue. Regards, -bill paredes wrote: Greetings! In testing mod_authz_dbd it seems that the if a user is a member of a *single* group the following Authz directives work properly: Req

[us...@httpd] struct iovec on sparc-solaris2.10

2009-02-23 Thread Chen, Peter
Hi, I have been encountering a problem with the re-definition of struct iovec in file apache2/include/apr_want.h when trying to compile subversion for a sparc-solaris2.10 machine. I noticed there was a post about this issue on Linux machines, but there's no mention of it on sparc2.10. I have b

RE: [us...@httpd] How To Configure.htpasswd For Web Authentication

2009-02-23 Thread Anthony J. Biacco
First you'll have to do one of the following. 1. Change the documentroot so your apache site can see the 'int' directory. Your current documentroot is too specify as is to encompass both. or 2. Create a new virtualhost with a documentroot of /var/www/html/int/. If your original vhost is ext.domai

[us...@httpd] How To Configure.htpasswd For Web Authentication

2009-02-23 Thread Carlos Williams
I have Apache2 up and running on my web server. My main goal is to have a link on my index.html that links to my company Intranet. Obviously I don't want everyone to be able to publicly browse my Intranet so I am looking for a authentication method. I was advised to use .htpasswd on Apache however

[us...@httpd] Question for using mod_rewrite to do proxying

2009-02-23 Thread Michael Roberts
Hi everyone, I have the following rules with mod_rewrite: RewriteEngine on RewriteCond %{HTTP_HOST} ^www\.example\.com$ RewriteRule ^blog/(.*?)$ http://blog.example.com/$1 [P] RewriteCond %{HTTP_HOST} ^example.com$ RewriteRule ^(.*)?$ http://www.example.com/$1 [L,R=301] What I'm trying to achie

Re: [us...@httpd] SSL configuration read, but not used?

2009-02-23 Thread François Beausoleil
Le 2009-02-22 à 08:14, Eric Covener a écrit : On Sun, Feb 22, 2009 at 7:18 AM, François Beausoleil wrote: Thanks for replying Eric. I knew I forgot something. apache2ctl - S doesn't even see anything on 443. $ /usr/sbin/apache2ctl -S port 80 namevhost xlsuite.com (/var/www/xlsuite/

[us...@httpd] Re: questions on TCP connections and Sessions

2009-02-23 Thread Nicholas Sherlock
Qingshan Xie wrote: Hello, I am pretty confused about the TCP connections and sessions in the case of proxy server in the middle. Here is the case, Browser -> SSL-Proxy Server -> SSL WebServer there are two parts in this SSL communication, 1. Browser -> SSL-Proxy Server

[us...@httpd] bandwidth control for separate clients

2009-02-23 Thread Andre Hübner
Hello, we use mod_cband for controling bandwidth for single clients. We have grouped some crawler-IPs to slow them down to keep serverload and bandwidth safe for other users. Sometimes we have a problem with mod_cband, may be a kind of bug. in this case all IPs are slow, not only IPs ind our b

AW: AW: [us...@httpd] block ip address for certain (server) context

2009-02-23 Thread Reis Markus
No it isn't - sorry - should have been: cheers, Markus -Ursprüngliche Nachricht- Von: Peter Schober [mailto:peter.scho...@univie.ac.at] Gesendet: Montag, 23. Februar 2009 09:14 An: users@httpd.apache.org Betreff: Re: AW: [us...@httpd] block ip address for certain (server) context * Re

Re: AW: [us...@httpd] block ip address for certain (server) context

2009-02-23 Thread Peter Schober
* Reis Markus [2009-02-23 09:09]: > Could you explain to me why this Location-Directive does NOT work: > not having read the rest of the thread, but is the trailing " intentional? cheers, -peter - The official User-To-User sup

AW: AW: [us...@httpd] block ip address for certain (server) context

2009-02-23 Thread Reis Markus
We've tried Location-Directives before, but without any success ... ... Following your advice I tried it again and found this one: Order Deny,Allow Deny from all Allow from 10.1.13.25 This Location-Directive based on a regular expression works! Could you explain to me why this Location-D