Re: [EMAIL PROTECTED] Soft. Load Balancer Recommendations

2006-02-21 Thread Jacqui Caren
Nick Kew wrote: 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 [snip] Erm, why not start by telling us what's the matter with Apache's bundled loadbalancing capabilities? Slightly off topic but has anyone her

[EMAIL PROTECTED] Validity of regex in mod_alias context

2006-02-21 Thread Ralph.Grothe
Hello Apache httpd users, I have just subscribed to this list to clarify a few things for me that so far I couldn't find in the abundance of Apache and its modules' refeernce and howto material. Probably something like this has been asked a million of times here and thus already found sufficient

[EMAIL PROTECTED] RE:[EMAIL PROTECTED] huge mod_jk.log

2006-02-21 Thread Oliver.Schaudt
>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? You can use rotatelogs

[EMAIL PROTECTED] Re: RewriteRule being ignored

2006-02-21 Thread Joost de Heer
David Hull wrote: > 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

Re: [EMAIL PROTECTED] Soft. Load Balancer Recommendations

2006-02-21 Thread Joost de Heer
Jacqui Caren wrote: > Nick Kew wrote: >> 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 > [snip] >> Erm, why not start by telling us what's the matter with Apache's >> bundled loadbalancing capabilities? > > Sli

[EMAIL PROTECTED] Re: INFLATE filter and content decompression

2006-02-21 Thread Joost de Heer
> I am looking for a way to do this under Apache2 and am > wondering whether anyone has any ideas. I have tried this: > > SetOutputFilter INFLATE > or perhaps? And on the mod_deflate page there are some examples on how to disable gzip compression, it shouldn't be too hard to reverse the logi

Re: [EMAIL PROTECTED] mod_rewrite directives problem

2006-02-21 Thread Joost de Heer
Robert Ionescu wrote: > 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_

[EMAIL PROTECTED] Weird sbitting of htdigest

2006-02-21 Thread Ralph.Grothe
Hi, I needed to "protect" a URI of my webserver. Since the Base64 encoding of mod_auth seemed too revealing to me, and on the other hand SSL/TLS too involved I looked for something in between and came accross mod_auth_digest. With mod_auth_digest comes the utility program htdigest to create and m

Re: [EMAIL PROTECTED] Validity of regex in mod_alias context

2006-02-21 Thread André Malo
* <[EMAIL PROTECTED]> wrote: > > RedirectMatch 301 ^(?:[[:alpha:]]+://)?(.*) > https://$1 > > > > But it doesn't work, and neither the httpd's access_log nor > error_log (or their ssl_ namesakes) > show up any hint why. > > In mod_alias'es reference doc I couldn't

Re: [EMAIL PROTECTED] Re: RewriteRule being ignored

2006-02-21 Thread Nick Kew
On Tuesday 21 February 2006 09:22, Joost de Heer wrote: > In what order are mod_proxy and mod_rewrite loaded? A gross > simplification, but in general, the last loaded module gets called first. Only in old (four-years-obsolete) versions of apache. -- Nick Kew --

Re: [EMAIL PROTECTED] Weird sbitting of htdigest

2006-02-21 Thread Nick Kew
On Tuesday 21 February 2006 10:09, [EMAIL PROTECTED] wrote: > When I created my first passwd file with htdigest I was baffled > to > realize that the htdigest binary from my installation produced > a passwd file with suid, sgid and the sticky bit set. > > Ugh, what the hack is any sbit necessary f

RE: [EMAIL PROTECTED] Weird sbitting of htdigest

2006-02-21 Thread Ralph.Grothe
Hi Nick, no unusual umask # umask 0022 # touch /tmp/touched # ls -l /tmp/touched -rw-r--r-- 1 root root 0 Feb 21 13:35 /tmp/touched /tmp as with all my Unix boxes only has the sticky bit set to prevent users' mutual file deletion. That's why I was alarmed when I saw htdigest doing this.

[EMAIL PROTECTED] Premature end of script headers

2006-02-21 Thread Tom Cat
All of my perl scripts generate this error when I try to have Apache serve them. I'm on RHEL with Apache 2.0.52. The simplest script I have is: #!/usr/bin/perl print "Hello"; In the error log I'm told: [Tue Feb 21 08:57:48 2006] [error] [client 10.33.1.32] Premature end of script headers: hello.

Re: [EMAIL PROTECTED] Premature end of script headers

2006-02-21 Thread Matt Weston
Try changing it to hello.pl >>> [EMAIL PROTECTED] 2/21/2006 8:12:17 AM >>> All of my perl scripts generate this error when I try to have Apache serve them. I'm on RHEL with Apache 2.0.52. The simplest script I have is: #!/usr/bin/perl print "Hello"; In the error log I'm told: [Tue Feb 21 08:5

RE: [EMAIL PROTECTED] Premature end of script headers

2006-02-21 Thread Boyle Owen
> -Original Message- > From: Tom Cat [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 21. Februar 2006 15:12 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Premature end of script headers > > All of my perl scripts generate this error when I try to have Apache > serve them. I'm on

Re: [EMAIL PROTECTED] Premature end of script headers

2006-02-21 Thread Tom Cat
On 2/21/06, Matt Weston <[EMAIL PROTECTED]> wrote: > Try changing it to hello.pl > Thanks. Just tried that doesn't seem to care what what the file is name or what extension it has, it just keeps giving the Premature end of script headers error. I also tried just now adding use CGI::Carp 'fatalsT

RE: [EMAIL PROTECTED] Re: RewriteRule being ignored

2006-02-21 Thread Axel-Stéphane SMORGRAV
If memory serve me right, all mod_proxy hooks execute before mod_rewrite in Apache 2.0. Module ordering is irrelevant. -ascs -Original Message- From: Joost de Heer [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 21, 2006 10:23 AM To: David Hull Cc: users@httpd.apache.org Subject: [EM

Re: [EMAIL PROTECTED] Premature end of script headers

2006-02-21 Thread Sascha Kersken
Hi, Apache requires CGI scripts to generate their own Content-type headers. Try #!/usr/bin/perl print "Content-type: text/plain\n\nHello"; This should work. Best Sascha - Original Message - From: "Tom Cat" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 21, 2006 3:12 PM Subject: [E

[EMAIL PROTECTED] forward proxy and rewrites or redirects...

2006-02-21 Thread Krist van Besien
Hello, I have an apache set up as proxy. Forward proxying goes fine. Reverse proying too. What I want though is to configure it so that clients when they request: http://somehost:443/someurl this test rewritten to https:/somehost:443/someurl. In other words, I want this proxy to enable clients

Re: [EMAIL PROTECTED] Premature end of script headers

2006-02-21 Thread Nick Kew
On Tuesday 21 February 2006 14:12, Tom Cat wrote: > All of my perl scripts generate this error when I try to have Apache > serve them. I'm on RHEL with Apache 2.0.52. > > The simplest script I have is: > #!/usr/bin/perl > print "Hello"; That's not a CGI script. > In the error log I'm told: > [Tu

RE: [EMAIL PROTECTED] Premature end of script headers

2006-02-21 Thread Boyle Owen
> -Original Message- > From: Tom Cat [mailto:[EMAIL PROTECTED] > Sent: Dienstag, 21. Februar 2006 15:25 > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Premature end of script headers > > On 2/21/06, Matt Weston <[EMAIL PROTECTED]> wrote: > > Try changing it to hello.pl > >

Re: [EMAIL PROTECTED] Premature end of script headers

2006-02-21 Thread Tom Cat
On 2/21/06, Boyle Owen <[EMAIL PROTECTED]> wrote: > > To clear up some of the confusing advice you've been getting: > > - the extension is not important, .cgi is fine. > - you don't need the CGI:Carp module (don't complicate life unnecessarily) Thanks! When I removed this line, it all of a sudden

Re: [EMAIL PROTECTED] mod_rewrite directives problem

2006-02-21 Thread Robert Ionescu
Joost de Heer wrote: Robert Ionescu wrote: 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: %

Re: [EMAIL PROTECTED] RewriteRule being ignored

2006-02-21 Thread Robert Ionescu
David Hull wrote: ServerName www.myserver.com RewriteEngine On RewriteRule ^/gift/(.*)$ http://www.myserver.com/buy.jsp?gift=$1 RewriteRule ^/refer/(.*)$ http://www.myserver.com/buy.jsp?refer=$1 ProxyPass /download/ http://www.myserver.com/download/ ProxyPassReverse /download/ http

RE: [EMAIL PROTECTED] Re: RewriteRule being ignored

2006-02-21 Thread Joost de Heer
Axel-Stéphane SMORGRAV wrote: > If memory serve me right, all mod_proxy hooks execute before mod_rewrite > in Apache 2.0. Module ordering is irrelevant. In that case, reverse proxying must be done with mod_rewrite, something like (untested!): ServerName www.myserver.com RewriteEngine On

Re: [EMAIL PROTECTED] Muliple Configure Warninings

2006-02-21 Thread William A. Rowe, Jr.
The origin of these a less-than-optimal Autoconf package installed on your machine, I suggest you might want to upload a more recent version and re- ./buildconf. None of these appears to harm the resulting package. Joshua Slive wrote: On 2/19/06, David Gitman <[EMAIL PROTECTED]> wrote: Hi, I

RE: [EMAIL PROTECTED] Validity of regex in mod_alias context

2006-02-21 Thread Ralph.Grothe
Hi Andre´, I removed the IfModule tags as you suggested. I also removed the RedirectMatch directive from mod_alias an instead load the bulk of mod_rewrite. In the directory container I included these directives Alias /loo/ /var/www/turd/ Options SymlinksIfOwnerMatch RewriteEngin

[EMAIL PROTECTED] Apache will not start

2006-02-21 Thread Mark McCulligh
Hi Group, I have a Ferdora Core 4 system with Apache 2.0.54 installed from rpm and it is work fine. I then installed PostgreSQL 8.1.3, MySQL 4.1.18 and PHP 4.4.2 from their tarballs. Everything compiled without any errors that I saw. When I add LoadModule PHP4 line to httpd.conf apache wil

RE: [EMAIL PROTECTED] Re: RewriteRule being ignored

2006-02-21 Thread Axel-Stéphane SMORGRAV
Has the following been suggested yet ?? VirtualHost *:80> ServerName www.myserver.com RewriteEngine On RewriteRule ^/gift/(.*)$ http://www.myserver.com/buy.jsp?gift=$1 RewriteRule ^/refer/(.*)$ http://www.myserver.com/buy.jsp?refer=$1 ProxyPass /gift ! ProxyPass /refer ! ProxyPass

Re: [EMAIL PROTECTED] Validity of regex in mod_alias context

2006-02-21 Thread Robert Ionescu
[EMAIL PROTECTED] wrote: RewriteRule ^(?:.+://)?(.*) https://$1 [R,L] This doesn't look correct. The pattern is matched against a local URL in per-server context - w/o sheme+hostname - and a local filepath in per-dir context RewriteRule ^(.*) https://example.com/loo/$1 [R,L] There is a

RE: [EMAIL PROTECTED] Re: RewriteRule being ignored

2006-02-21 Thread David Hull
Thanks to all who responded. Joost had it right. I changed the order of the modules that load, moving the 2 proxy modules to the end of the list as shown below. LoadModule rewrite_module /usr/lib64/apache2-prefork/mod_rewrite.so LoadModule proxy_module /usr/lib64/apache2-prefork/mod_proxy.so Loa

Re: [EMAIL PROTECTED] Apache will not start

2006-02-21 Thread Joshua Slive
On 2/21/06, Mark McCulligh <[EMAIL PROTECTED]> wrote: > Hi Group, > > I have a Ferdora Core 4 system with Apache 2.0.54 installed from rpm and > it is work fine. I then installed PostgreSQL 8.1.3, MySQL 4.1.18 and > PHP 4.4.2 from their tarballs. Everything compiled without any errors > that I s

[EMAIL PROTECTED] [OT] 3rdparty advice - mod_proxy_html or similar

2006-02-21 Thread allan juul
hello this is off-topic, so please respond off list ... we are in a situation where we need to integrate a number of external sites into our portal. currently this integration is done via a normal apache2.2 reverse proxy. now it's getting particularly on my nerves that every time we integrat

Re: [EMAIL PROTECTED] Apache will not start

2006-02-21 Thread Mark McCulligh
Joshua Slive wrote: On 2/21/06, Mark McCulligh <[EMAIL PROTECTED]> wrote: Hi Group, I have a Ferdora Core 4 system with Apache 2.0.54 installed from rpm and it is work fine. I then installed PostgreSQL 8.1.3, MySQL 4.1.18 and PHP 4.4.2 from their tarballs. Everything compiled without any

[EMAIL PROTECTED] Apache/ODBC

2006-02-21 Thread Glenn Puckett
Hello,   I am having trouble determining how to make an application work on the Apache web server.  Currently this application is installed on a Win2003 Server using IIS.  It is based on Perl with databases in FoxPro files.    We are starting a long drawn out process of migrating to a

[EMAIL PROTECTED] REMOTE_HOST empty after moving from internal/external DNS to split DNS

2006-02-21 Thread Slawomir Orlowski \(CYMPAK\)
Hello there, I have apache 2.0.55 on Linix RH 7.2. I had internal DNS on that server and external on firewall (RH Linux too). I have terminated internal, configured split zone DNS on firewall changed resolver.conf to firewall ip. All web pages are working, except apache logging. It is not logging

[EMAIL PROTECTED] suexec

2006-02-21 Thread azeem ahmad
hi list i m wondering that my cgi scripts are being access denied, i thin kits matter of suexec but i m not finding any help about how to use it i placed SuexecUserGroup mine mine but when restarting it says configuration broken, ignoring restart is it a wrong placement of directive Regards Aze

Re: [EMAIL PROTECTED] suexec

2006-02-21 Thread Joshua Slive
On 2/21/06, azeem ahmad <[EMAIL PROTECTED]> wrote: > hi list > i m wondering that my cgi scripts are being access denied, i thin kits > matter of suexec > but i m not finding any help about how to use it > i placed > SuexecUserGroup mine mine > but when restarting it says > configuration broken, ig

[EMAIL PROTECTED] access denied

2006-02-21 Thread azeem ahmad
hi list, my server is denying access to cgi-bin, i m trying on it for a while, before that it was even saying that premature end of script, but now after some modifications (adding cgi-bin directory to virtual host) it says access denied following is the config -

Re: [EMAIL PROTECTED] access denied

2006-02-21 Thread Joshua Slive
On 2/21/06, azeem ahmad <[EMAIL PROTECTED]> wrote: > > Options +Indexes +ExecCGI > Order allow,deny > DirectoryIndex index.cgi > AllowOverride None > > > - > > the error it gives is > [Tue Feb 21 14:15:48 2006] [err

Re: [EMAIL PROTECTED] access denied

2006-02-21 Thread Robert Ionescu
azeem ahmad wrote: Options +Indexes +ExecCGI Order allow,deny looks like the allow directive is missing somewhere. Try to use Order allow,deny allow from all -- Robert - The official User-To-User support forum of the Apache

Re: [EMAIL PROTECTED] access denied

2006-02-21 Thread azeem ahmad
From: Robert Ionescu <[EMAIL PROTECTED]> Reply-To: users@httpd.apache.org To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] access denied Date: Tue, 21 Feb 2006 23:31:28 +0100 azeem ahmad wrote: Options +Indexes +ExecCGI Order allow,deny looks like the allow directive is missing s

Re: [EMAIL PROTECTED] access denied

2006-02-21 Thread Robert Ionescu
azeem ahmad wrote: From: Robert Ionescu <[EMAIL PROTECTED]> [...] azeem ahmad wrote: Options +Indexes +ExecCGI Order allow,deny looks like the allow directive is missing somewhere. Try to use Order allow,deny allow from all i did allow from all, then it says the error is "premature end o

Re: [EMAIL PROTECTED] access denied

2006-02-21 Thread Joshua Slive
On 2/21/06, azeem ahmad <[EMAIL PROTECTED]> wrote: > > i did allow from all, then it says the error is "premature end of script > headers" http://httpd.apache.org/docs/2.2/howto/cgi.html#troubleshoot Joshua. - The official User-

[EMAIL PROTECTED] Providing pwd&usr with cgi URL

2006-02-21 Thread Tim Johnson
Hello I need to programmatically connect to a cgi script at a domain that is password protected. Let's say the URL for the script is http://www.somedomain.com/cgi-bin/py/dothis.py and http://www.somedomain.com is restricted access requiring a username and password 1)Can I supply the user and pas

Re: [EMAIL PROTECTED] Providing pwd&usr with cgi URL

2006-02-21 Thread Sean Conner
It was thus said that the Great Tim Johnson once stated: > > Hello > > I need to programmatically connect to a cgi script at a domain > that is password protected. > Let's say the URL for the script is > http://www.somedomain.com/cgi-bin/py/dothis.py > and > http://www.somedomain.com is restrict

[EMAIL PROTECTED] Basic question

2006-02-21 Thread Tezyn Drasdin
Hey Users,I know that this is probably off the scope of what the mailing list is used for, but I don't know of a better group that I could ask.  Respond privately if this is too far off of our subject.I know that if you telnet into a web server port 80, you can make GET requests ("GET /index.html H

Re: [EMAIL PROTECTED] Basic question

2006-02-21 Thread David Wolever
You can either use: GET http://wolever.wolever.net/ HTTP/1.1 or specify a host: GET / HTTP/1.1 Host: wolever.wolever.net On 2/21/06, Tezyn Drasdin <[EMAIL PROTECTED]> wrote: > Hey Users, > > I know that this is probably off the scope of what the mailing list is used > for, but I don't know of a b

Re: [EMAIL PROTECTED] Basic question

2006-02-21 Thread Tezyn Drasdin
On 2/21/06, David Wolever <[EMAIL PROTECTED]> wrote: You can either use:GET http://wolever.wolever.net/ HTTP/1.1or specify a host:GET / HTTP/1.1Host: wolever.wolever.net The thing about that is it still requires that I either modify the hosts file, or it needs Name Resolution.  I am going to be wor

Re: [EMAIL PROTECTED] Basic question

2006-02-21 Thread David Wolever
I don't think so... You'll connect to the server hosting the virtual hosts (be it top-level or below that), then just request something else. For example, both gilabs.com and gitesting.com are hosted on 216.193.217.198. If I connect to 216.193.217.198 and ask for gilabs.com, that is what I get, an

Re: [EMAIL PROTECTED] Basic question

2006-02-21 Thread Sean Conner
It was thus said that the Great Tezyn Drasdin once stated: > > On 2/21/06, David Wolever <[EMAIL PROTECTED]> wrote: > > > > You can either use: > > GET http://wolever.wolever.net/ HTTP/1.1 > > or specify a host: > > GET / HTTP/1.1 > > Host: wolever.wolever.net > > > > The thing about that is it s

[EMAIL PROTECTED] PidFile tag in httpd.conf for Apache 2.2

2006-02-21 Thread
The line "PidFile logs/httpd.pid" used to exist in all versions Apache HTTP Server prior to 2.2.0 version. Any specific reason as to why this was removed from httpd.conf for Apache 2.2.0 version? I could not get the details in the release documentation. Thanks, Thomas ---

[EMAIL PROTECTED] Re: PidFile tag in httpd.conf for Apache 2.2

2006-02-21 Thread Paul Querna
Vengal, Thomas (OpenViewR&D) wrote: The line "PidFile logs/httpd.pid" used to exist in all versions Apache HTTP Server prior to 2.2.0 version. Any specific reason as to why this was removed from httpd.conf for Apache 2.2.0 version? I could not get the details in the release documentation. It w

[EMAIL PROTECTED] bandwidth

2006-02-21 Thread Muhammad Rizwan
Hello I want to calculate bandwidth for each individual domain running on my system,, how i can do so. Second thing my access_log and error_log files are empty, although CustomLog logs/access_log combined and ErrorLog logs/error_log are enabled. How i can check version of apache through command li