[us...@httpd] howto for mod_proxy configuration?

2010-01-25 Thread Dave Stevens
I have a small server with several (~20) vhosts. Everything works fine. I'd like to be able to use some such address as www.hostname.com:2 and have those incoming packets redirected to my own router which is on the same subnet as the server. I can't see how to do this from reading the a

Re: [us...@httpd] redirects only working for some virtual hosts

2010-01-25 Thread RYAN vAN GINNEKEN
- Original Message - From: "Res" To: users@httpd.apache.org, "THE KING" Sent: Monday, January 25, 2010 7:06:17 PM Subject: Re: [us...@httpd] redirects only working for some virtual hosts Hi Ryan, On Mon, 25 Jan 2010, RYAN vAN GINNEKEN wrote: >> >? ServerName mail.archesshoes.ca >>

Re: [us...@httpd] All "G" in scoreboard

2010-01-25 Thread Eric Covener
On Mon, Jan 25, 2010 at 6:39 PM, Vikrama Sanjeeva wrote: > Hi all, > >   Right now its not a peak time on my web server, but still I see 200 > concurrent requests and all of them are in G state, > > 200 requests currently being processed, 12 idle workers > > GGG

Re: [us...@httpd] redirects only working for some virtual hosts

2010-01-25 Thread Res
Hi Ryan, On Mon, 25 Jan 2010, RYAN vAN GINNEKEN wrote: ServerName mail.archesshoes.ca Redirect permanent / https://mx1.canmail.org/ It is a very BAD idea to share a https server IP with an IP on a non-ssl http server (ideally, they should be two separate machines), I suspect this

[us...@httpd] redirects only working for some virtual hosts

2010-01-25 Thread RYAN vAN GINNEKEN
I am using Ubuntu 8.04 server LTS with Apache Server version: Apache/2.2.8 (Ubuntu) Some of my virtual servers redirect and some do not for each server i have added a A record in the Bind DNS server like this one. mail.domain.com. IN A x.x.x.x and a redirect virtual host as well Se

[us...@httpd] All "G" in scoreboard

2010-01-25 Thread Vikrama Sanjeeva
Hi all, Right now its not a peak time on my web server, but still I see 200 concurrent requests and all of them are in G state, 200 requests currently being processed, 12 idle workers G

Re: [us...@httpd] Help me in setting up MaxClients

2010-01-25 Thread Vikrama Sanjeeva
Hi Jeff, Below is statistics from vmstat while everything is running including httpd: >> vmstat 2 3 kthr memorypagedisk faults cpu r b w swap free re mf pi po fr de sr rm s0 s1 s3 in sy cs us sy id 0 0 0 32953272 20946824 11 22 0 3 3 0

Re: [us...@httpd] link to open local files - intranet/local access only

2010-01-25 Thread aurfalien
Hi LMJ, On Jan 25, 2010, at 12:53 PM, L.M.J wrote: Le Mon, 25 Jan 2010 11:40:43 -0800, aurfal...@gmail.com a écrit : I've 3 platforms to support (Windows, Linux, Mac), which use file browsers of Windows Explorer, Conquerer, OSX Finder respectively. Our intranet has links to files were we woul

Re: [us...@httpd] link to open local files - intranet/local access only

2010-01-25 Thread L.M.J
Le Mon, 25 Jan 2010 11:40:43 -0800, aurfal...@gmail.com a écrit : > I've 3 platforms to support (Windows, Linux, Mac), which use file > browsers of Windows Explorer, Conquerer, OSX Finder respectively. > > Our intranet has links to files were we would like those directory > locations to open w

[us...@httpd] virtual hosts help please

2010-01-25 Thread Chris Hall
Hello, I run a cpanel machine with the following versions: cPanel 11.25.0-R42404 WHM 11.25.0 - X 3.9 CENTOS 4.7 i686 Apache 2.0.63 We have a client that is running a real estate website using a product from Transparent Rets that connects and downloads a MLS (real estate) feed to display on thei

Re: [us...@httpd] Help me in setting up MaxClients

2010-01-25 Thread Jeff Trawick
On Mon, Jan 25, 2010 at 1:26 PM, Vikrama Sanjeeva wrote: > Hi All, > >    Thanks Jeff for the presentation. Its informative. > > Actually, I am trying to calculate what MaxClient I can set. I know my > server is strong and as Danny and you said, setting 600 will not be a risk. > I however, will pr

Re: [us...@httpd] Help me in setting up MaxClients

2010-01-25 Thread Jeff Trawick
On Mon, Jan 25, 2010 at 1:26 PM, Vikrama Sanjeeva wrote: > Hi All, > >    Thanks Jeff for the presentation. Its informative. > > Actually, I am trying to calculate what MaxClient I can set. I know my > server is strong and as Danny and you said, setting 600 will not be a risk. > I however, will pr

[us...@httpd] link to open local files - intranet/local access only

2010-01-25 Thread aurfalien
Hi all, Completely unsure were to start on this one. I've 3 platforms to support (Windows, Linux, Mac), which use file browsers of Windows Explorer, Conquerer, OSX Finder respectively. Our intranet has links to files were we would like those directory locations to open when clicked. Basi

Re: [us...@httpd] SSL error reported from windows socket

2010-01-25 Thread Tony Anecito
Hopefully you are right. It is from the loadrunner virtual user logs and it is a windows API but that may only try to point someone in the right direction not be a root cause. I am having someone look at the Windows settings to see if that is where the problem is. I am hoping to understand what

Re: [us...@httpd] Help me in setting up MaxClients

2010-01-25 Thread Vikrama Sanjeeva
Hi All, Thanks Jeff for the presentation. Its informative. Actually, I am trying to calculate what MaxClient I can set. I know my server is strong and as Danny and you said, setting 600 will not be a risk. I however, will prefer to do some calculation to drive this value. Since I am not Solari

Re: [us...@httpd] SSL error reported from windows socket

2010-01-25 Thread William A. Rowe Jr.
On 1/25/2010 10:05 AM, Tony Anecito wrote: > Hi All, > > I am getting intermittant windows ssl error regarding connections. Something > like socket error code 12157 ERROR_INTERNET_SECURITY_CHANNEL_ERROR. This message has no relationship to Apache httpd that I'm aware of, it is from a different s

[us...@httpd] SSL error reported from windows socket

2010-01-25 Thread Tony Anecito
Hi All, I am getting intermittant windows ssl error regarding connections. Something like socket error code 12157 ERROR_INTERNET_SECURITY_CHANNEL_ERROR. It is intermittant and I am load testing against Apache web server using loadrunner 9.0. We are using SSLV3 for Apache 2.2. There is some stra

Re: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-25 Thread Reese
On 25-Jan-10 12:02, Oliver Schoenborn wrote: It's really important to understand how the conditions and pattern matching work, together with regexp. There may be other issues to consider when the rule is in an .htaccess (I gather you only get part of the URL path then). I'm familiar with The

RE: [us...@httpd] Rewrite Voodoo pt. 2

2010-01-25 Thread Oliver Schoenborn
> Can you interpret: >> >> rewriteCond $(HOST_NAME) ^(.*)\.domain\.ext > > Condition, proceed for host_name matching (anySubdomain).domain.ext > >> rewriteRule ^(.*)$ $(HOST_NAME)$1 > > Rule, I'm not sure what it does. Based on the link Tom posted, I'd > guess that it takes everything after

Re: [us...@httpd] Help me in setting up MaxClients

2010-01-25 Thread Mark Watts
On Mon, 2010-01-25 at 11:47 -0500, Jeff Trawick wrote: > my bad; it doesn't, as you point out Out of interest, is it possible/feasible to get httpd to dump its running config? Could be quite useful... > for httpd 2.2.x: > > prefork's hard limit is 20 child processes; worker's limits are > 20

Re: [us...@httpd] Help me in setting up MaxClients

2010-01-25 Thread Jeff Trawick
On Mon, Jan 25, 2010 at 11:36 AM, Mark Watts wrote: > On Mon, 2010-01-25 at 09:44 -0500, Jeff Trawick wrote: >> On Mon, Jan 25, 2010 at 8:56 AM, Vikrama Sanjeeva >> wrote: >> > Hello All, >> > >> > This is regarding production servers. Recently Apache server hit MaxClient >> > settings; resulting

Re: [us...@httpd] Help me in setting up MaxClients

2010-01-25 Thread Mark Watts
On Mon, 2010-01-25 at 09:44 -0500, Jeff Trawick wrote: > On Mon, Jan 25, 2010 at 8:56 AM, Vikrama Sanjeeva > wrote: > > Hello All, > > > > This is regarding production servers. Recently Apache server hit MaxClient > > settings; resulting in crash of sites. However, sites was back to normal > > aft

Re: [us...@httpd] Help me in setting up MaxClients

2010-01-25 Thread Jeff Trawick
On Mon, Jan 25, 2010 at 8:56 AM, Vikrama Sanjeeva wrote: > Hello All, > > This is regarding production servers. Recently Apache server hit MaxClient > settings; resulting in crash of sites. However, sites was back to normal > after restarting Apache. The expected symptom is that Apache is unrespo

Re: [us...@httpd] Help me in setting up MaxClients

2010-01-25 Thread Jeff Trawick
On Mon, Jan 25, 2010 at 9:16 AM, wrote: > You need to increase ServerLimit and MaxClients to 600 for example. > > MaxClients is limited by ServerLimit.  In turn ServerLimit is limited by > the physical resources you have at your disposal. > > Considering you have a highly thread-capable server wi

RE: [us...@httpd] Help me in setting up MaxClients

2010-01-25 Thread daniel . goulder
You need to increase ServerLimit and MaxClients to 600 for example. MaxClients is limited by ServerLimit. In turn ServerLimit is limited by the physical resources you have at your disposal. Considering you have a highly thread-capable server with plentiful memory 600 should be a safe limit, pr

[us...@httpd] Help me in setting up MaxClients

2010-01-25 Thread Vikrama Sanjeeva
Hello All, This is regarding production servers. Recently Apache server hit MaxClient settings; resulting in crash of sites. However, sites was back to normal after restarting Apache. I read about MaxClient settings and increase it from 200 to 250 (as I read somewhere that 256 is a limit). Since

Re: [us...@httpd] "Perfect" Transparent Proxy Setup?

2010-01-25 Thread Matus UHLAR - fantomas
On 18.01.10 13:10, Brian Kim wrote: > I am thinking a proxy system like a magic box. Let's say that we have > a gateway where an interface 0 is for internal network and an > interface 1 is for outsite. > > In front of the gateway, I would like to install my proxy system with > two interface cards(

Re: [us...@httpd] Newbie question about vhost log and webalizer

2010-01-25 Thread J. Bakshi
Mark Watts wrote: > > The Fedora 12 AWStats rpm includes a config for the following, although > I appreciate its for a different path (/usr/share vs. /usr/local) > > > Alias /awstatsclasses "/usr/share/awstats/wwwroot/classes/" > Alias /awstatscss "/usr/share/awstats/wwwroot/css

Re: [us...@httpd] Newbie question about vhost log and webalizer

2010-01-25 Thread Mark Watts
On Mon, 2010-01-25 at 15:55 +0530, J. Bakshi wrote: > J. Bakshi wrote: > > on the other hand http://myvhost.com/awstats/ awstat.pl generates the > > graph but no icons. > > > > What am I missing here ? Any clue ? > > > > Thanks > > > > Solved one :-) > > Now http://myvhost.com/awstats/ s

Re: [us...@httpd] Newbie question about vhost log and webalizer

2010-01-25 Thread J. Bakshi
J. Bakshi wrote: > on the other hand http://myvhost.com/awstats/ awstat.pl generates the > graph but no icons. > > What am I missing here ? Any clue ? > > Thanks > Solved one :-) Now http://myvhost.com/awstats/ shows awstats . The correction I have done is incorrect - Scrip

Re: [us...@httpd] Newbie question about vhost log and webalizer

2010-01-25 Thread J. Bakshi
L.M.J wrote: > Here is my solution, I hope it could help you out : > > > > Apache side > # cat /etc/apache2/sites-available/intranet > > ServerName intranet > [...] > ErrorLog /var/log/apache2/intranet_error.log > CustomLog /var/log/apache2/intranet_access.lo