Re: [us...@httpd] protecting directories

2009-12-21 Thread André Warnier
Zachary Uram wrote: I am running Apache 2 in Linux and have several websites. Say site A is in /var/www/a and there is a directory /var/www/a/foo/ and foo/ has 3 .html files but I only wish to serve index.html so how do I protect the other files so that people can't fish for the name to find the

Re: [us...@httpd] reverse proxy with apache 1.3 and apache 2.2

2009-12-21 Thread Jérémie G
Hello, Unfortunately, there is no restriction of any sort on intra-8.lan. I can access the website with links2 on the proxy server and remember that when someone is browsing this proxy from Internet without a proxy, it's working. To clarify : This is working with apache 2.2 and apache 1.3 : Custo

[us...@httpd] mod_ssl: SSL handshake is done on every request

2009-12-21 Thread Paul Jacques
Dear, I am running Apache 2.2.14. I also applied the patch to enforce SSL renegotiation from server only. Testing the proposed solution in SSL mutual authentication context, the full renegotiation is done once but I noticed that the handshake is done for every request. The test web page is ma

[us...@httpd] In-maintenance rewrite rules

2009-12-21 Thread Willem Bos
Hi all, We have a rewrite rule that we use whenever we want to put a site in maintenance (included below). It has served us well for a few years but as we are using more and more Java web-apps we would like to be able to extend our script with the ability to put a just a part of a website in maint

[us...@httpd] Alias for htaccess

2009-12-21 Thread Jaap A. Haitsma
Hi, I know you cannot use the Alias directive in htaccess but I was wondering if I can achieve something similar to that. I have the following problem. With my hosting provider I can add more domains to my main domain with which I registered. However they have to be in subdirectories To be more

[us...@httpd] Stability problems with Apache on OS X 10.6 Server

2009-12-21 Thread Thomas Schneider
Hi, I'm having stability problems with apache on OS X 10.6.2 Server. I would like to know if anybody else is having the same experience. And if there is a workaround. The apache server is Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8k DAV/2 with mod_ldap build in. The server is build again

Re: [us...@httpd] Request Counting algorithm

2009-12-21 Thread Jim Jagielski
There is an experimental/example RR LB provider module in httpd-trunk that I wrote that works. On Dec 18, 2009, at 4:01 PM, ricardo figueiredo wrote: > Is there RR implemented in mod_proxy ??? > Independently of the lbfactor. > > I need too much !!! > > Thank you > Ricardo > > On Tue, Dec 15,

Re: [us...@httpd] Request Counting algorithm

2009-12-21 Thread ricardo figueiredo
Where Can I get this algorithm ??? Which URL ??? Ricardo On Mon, Dec 21, 2009 at 11:55 AM, Jim Jagielski wrote: > There is an experimental/example RR LB provider module in httpd-trunk > that I wrote that works. > > On Dec 18, 2009, at 4:01 PM, ricardo figueiredo wrote: > > > Is there RR impleme

Re: [us...@httpd] Alias for htaccess

2009-12-21 Thread Eric Covener
On Mon, Dec 21, 2009 at 7:12 AM, Jaap A. Haitsma wrote: > Hi, > > I know you cannot use the Alias directive in htaccess but I was > wondering if I can achieve something similar to that. > > I have the following problem. With my hosting provider I can add more > domains to my main domain with which

Re: [us...@httpd] Alias for htaccess

2009-12-21 Thread André Warnier
Eric Covener wrote: On Mon, Dec 21, 2009 at 7:12 AM, Jaap A. Haitsma wrote: Hi, I know you cannot use the Alias directive in htaccess but I was wondering if I can achieve something similar to that. I have the following problem. With my hosting provider I can add more domains to my main domain

Re: [us...@httpd] Alias for htaccess

2009-12-21 Thread Eric Covener
On Mon, Dec 21, 2009 at 9:56 AM, André Warnier wrote: >> RewriteCond %{HTTP_HOST} ^(www\.)maindomain.com$ > > or rather : > RewriteCond %{HTTP_HOST} ^(www\.)?maindomain.com$ yep -- Eric Covener cove...@gmail.com - The officia

Re: [us...@httpd] Request Counting algorithm

2009-12-21 Thread ricardo figueiredo
I found this link: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_lbmethod_rr.c?view=markup&pathrev=594659 Is This code RR right ??? Ricardo On Mon, Dec 21, 2009 at 12:04 PM, ricardo figueiredo < ricardoogra...@gmail.com> wrote: > Where Can I get this algorithm ??? Which URL ?

Re: [us...@httpd] reverse proxy with apache 1.3 and apache 2.2

2009-12-21 Thread Jérémie G
After several tests, I have isolated the error and it's related to mod_ssl : take the exact same configuration, the exact same customer proxy server and remove any reverse proxy mechanism and ... with debian sarge, apache-ssl 1.3.33-6sarge3, this is working : Customer => Customer proxy => *Interne

[us...@httpd] Re: Stability problems with Apache on OS X 10.6 Server

2009-12-21 Thread Michael A. Pasek
In users Digest Issue 3741 (21 Dec 2009 15:54:32 -), Thomas Scheider wrote: > [problems with LDAP authentication on 10.6.2] > After 5000+ SSL requests, users begin to be denied log-in to the web > site. In the Apache error_log the following is written: > > [Mon Dec 21 09:14:23 2009] [info] Ini

Re: [us...@httpd] Request Counting algorithm

2009-12-21 Thread Jim Jagielski
Yep On Dec 21, 2009, at 10:54 AM, ricardo figueiredo wrote: > I found this link: > http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/proxy/mod_lbmethod_rr.c?view=markup&pathrev=594659 > > Is This code RR right ??? > > Ricardo > > On Mon, Dec 21, 2009 at 12:04 PM, ricardo figueiredo > wr

Re: [us...@httpd] Code coverage while running web server

2009-12-21 Thread William A. Rowe Jr.
Krist van Besien wrote: > On Sat, Dec 19, 2009 at 1:30 AM, Guruprasad JG > wrote: >> I am referring to the Apache code written in C. I would like to see if all >> the paths are exercised for - request processing, resource management, >> connection pooling, and configuration directives of the apac

Re: [us...@httpd] Module to accept and parse POST in JSON

2009-12-21 Thread Kevac Marko
Ruby on Rails application (Active Resource as far as i remember) sends request arguments via POST and PUT in JSON format (application/json). I needed the way to parse these arguments and put them in apr_table_t structure. Anyway, I have already made such module. Called it mod_args. Module parse no

[us...@httpd] Apache and Cold Fusion Help

2009-12-21 Thread Slack-Moehrle
Hello All, I am setting up CF 8 on a new server, CentOS 5.4. I install like normal I make sure httpd-devel is installed I run the following: /opt/coldfusion8/runtime/bin/wsconfig -server coldfusion -ws Apache -bin /usr/sbin/httpd \ -script /etc/init.d/httpd -dir /etc/httpd/conf -coldfusion -v

Re: [us...@httpd] Code coverage while running web server

2009-12-21 Thread Guruprasad Jakka
This was exactly what I was looking for. Thanks ! On Mon, Dec 21, 2009 at 1:44 PM, William A. Rowe Jr. wrote: > Krist van Besien wrote: > > On Sat, Dec 19, 2009 at 1:30 AM, Guruprasad JG > wrote: > >> I am referring to the Apache code written in C. I would like to see if > all > >> the paths ar