Re: [us...@httpd] .htaccess redirect issue

2010-05-26 Thread J. Bakshi
On 05/27/2010 12:16 PM, J. Bakshi wrote: > Hello list, > > I am trying to achieve a very particular .htaccess redirect arrangement. > I have made it worked but halfway :-( > > I have written a redirect rule as > > ` > RewriteCond %{HTTP_HOST} ^testyou.mydomain.com > RewriteRule ^(.*

[us...@httpd] .htaccess redirect issue

2010-05-26 Thread J. Bakshi
Hello list, I am trying to achieve a very particular .htaccess redirect arrangement. I have made it worked but halfway :-( I have written a redirect rule as ` RewriteCond %{HTTP_HOST} ^testyou.mydomain.com RewriteRule ^(.*)$ http://www.mydomain.com\?domain=testyou.mydomain.com [R

[us...@httpd] Apache MPM

2010-05-26 Thread Nasir Zia
Hi, how can i decide to use prefork or worker MPM. Can anyone describe in detail and how can i make a server which can handle 2000 users per second. How can I optimize the server response. i am using Apache 2.2.15. Regards Nasir

Re: [us...@httpd] Stealthing a vhost

2010-05-26 Thread Igor Cicimov
Ok for the first problem, apache responding to the OPTIONS request...What about Limit and LimitExcept commands? Limiting the OPTIONS to the local network or blocking them totally maybe? Cheers On Thu, May 27, 2010 at 2:10 PM, J. Greenlees wrote: > Peter Horn wrote: > >> On 06:59, Igor Cicimov w

Re: [us...@httpd] Stealthing a vhost

2010-05-26 Thread J. Greenlees
Peter Horn wrote: On 06:59, Igor Cicimov wrote: > > Have you tried mod_security? It's very configurable so might suite your needs. > ~snip~ I have read the mod_security docs, and it appears that the 'drop' action is not available in my environment (Windows). ~snip~ Peter Then you may h

Re: [us...@httpd] graceful restart occasionally gives "could not bind" error

2010-05-26 Thread Igor Cicimov
Loading the dav module twice in your config? On Wed, May 26, 2010 at 11:22 PM, Raphael Bauduin wrote: > Hi, > > With an apache 2.2 running on FreeBSD, I occasionally get a problem > with a graceful restart. > Issuing the command apachectl graceful results in these messages in > the error log: >

Re: [us...@httpd] Stealthing a vhost

2010-05-26 Thread Peter Horn
On 06:59, Igor Cicimov wrote: > > Have you tried mod_security? It's very configurable so might suite your needs. > > Sent from my phone >> On May 20, 2010 3:52 PM, "Peter Horn" wrote: >> >> I have a home server running 4 name vhosts, using a dynamic DNS. The second, third and fourth vhosts are

Re: [us...@httpd] httpd vhost centralized logging

2010-05-26 Thread Sheryl
Have you looked at syslog-ng? Also might want to take a look at loganalysis.org. They have some resources which may (or may not) be of some help. Sheryl > We wanted to use syslog too, but it's very rigid (only 8 localX facility > for custom logs) so we discarded this solution. > > We heard of s

[us...@httpd] multi-language manual/ directory: how to use it.

2010-05-26 Thread Kenneth Ashin
I've installed Apache HTTP 2.2 on Win 7. I am a real newcomer to web servers, etc. As a learning exercise, I want to be able to enter http://localhost/doc or some variant of that and then be able to browse the docs in manual/ I put this in httpd.conf: Alias /doc/ "C:/Program Files/Apache Softw

Re: [us...@httpd] client denied by server configuration, but sometimes works and sometimes not!

2010-05-26 Thread Mario Mol
Guys, i think that i've solved the problem. I created a file /etc/apache2/mods-enabled/mod-evasive.conf containing: DOSHashTableSize 3097 DOSPageCount 500 DOSSiteCount 300 DOSPageInterval 2 DOSSiteInterval 2 DOSBlockingPeriod 50 DOSSyst

[us...@httpd] HTTP doesn't work after upgrading from 2.0.55 to 2.2.15

2010-05-26 Thread Chen Chien-Yu
Hi, I encountered a problem after upgrading Apache to 2.2.15. The client will be stuck and load infinitely via the HTTP protocol, but it worked correctly in 2.0.55 before I upgraded. I tried to sniffer the packet, and found 1. If the page size is larger, most of the page and http header will be

[us...@httpd] graceful restart occasionally gives "could not bind" error

2010-05-26 Thread Raphael Bauduin
Hi, With an apache 2.2 running on FreeBSD, I occasionally get a problem with a graceful restart. Issuing the command apachectl graceful results in these messages in the error log: [Wed May 26 14:45:48 2010] [notice] Graceful restart requested, doing restart [Wed May 26 14:45:53 2010] [warn] modul

[us...@httpd] mod_rewrite problem IP address coming in URL instead of domain name.

2010-05-26 Thread Tapas Mishra
The configuration is like this Code: |--192.168.1.1 |(site1.abc.com) | |--192.168.1.2 |(site2.a

Re: [us...@httpd] Webdav - Files sent twice with

2010-05-26 Thread Remi
> > > If the upload is actually happening, it also means HTTP's conditional > request > (Expect / 100-Continue) isn't happening. That could be for many reasons: > hopefully it's not a server bug(!) Does it happen with all clients? Is > there a > proxy involved? What Apache version? > > I'm usin

Re: [us...@httpd] Webdav - Files sent twice with

2010-05-26 Thread Nick Kew
On 26 May 2010, at 11:18, Remi wrote: > Hi all, > > I have a server running apache with mod_dav enabled. > I try to set up a directory where only valid users can put files. Anonymous > can get these files. > I have an issue with this configuration. Below is the behavior when a valid > user put

[us...@httpd] Webdav - Files sent twice with

2010-05-26 Thread Remi
Hi all, I have a server running apache with mod_dav enabled. I try to set up a directory where only valid users can put files. Anonymous can get these files. I have an issue with this configuration. Below is the behavior when a valid user put a file on the server : - file is uploaded to server - s