Datums-Format bei Apache 2.0

2006-02-21 Thread Jan Staschulat
Hallo, wir haben ein Problem mit der Formatierung der Datumsausgabe. Wir verwenden apache (httpd-2.0.52-22) auf Red Hat Enterprise Linux AS release 4 (Nahant Update 2) und möchten das Datum angepasst ausgeben. Es wird aber der ganze Datums-String ausgegeben: !--#config Timefmt=%d --

Re: Datums-Format bei Apache 2.0

2006-02-21 Thread Alexander Lazic
Hi, On Die 21.02.2006 13:40, Jan Staschulat wrote: wir haben ein Problem mit der Formatierung der Datumsausgabe. Wir verwenden apache (httpd-2.0.52-22) auf Red Hat Enterprise Linux AS release 4 (Nahant Update 2) und möchten das Datum angepasst ausgeben. Es wird aber der ganze Datums-String

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

[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

[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? Slightly off

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_FILENAME}

[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

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

2006-02-21 Thread André Malo
* [EMAIL PROTECTED] wrote: IfModule mod_alias.c RedirectMatch 301 ^(?:[[:alpha:]]+://)?(.*) https://$1 /IfModule 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

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 for a

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:

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:57:48

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 RHEL

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

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:

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: users@httpd.apache.org Sent: Tuesday, February 21, 2006

[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: [Tue Feb 21

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 Thanks.

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: 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 /download/ http://www.myserver.com/download/

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!): VirtualHost *:80 ServerName www.myserver.com

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/ Directory /var/www/turd Options

[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

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

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

[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

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] 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

Re: [EMAIL PROTECTED] access denied

2006-02-21 Thread Joshua Slive
On 2/21/06, azeem ahmad [EMAIL PROTECTED] wrote: Directory /home/mine/public_html/cgi-bin/ Options +Indexes +ExecCGI Order allow,deny DirectoryIndex index.cgi AllowOverride None /Directory /VirtualHost - the

Re: [EMAIL PROTECTED] access denied

2006-02-21 Thread Robert Ionescu
azeem ahmad wrote: Directory /home/mine/public_html/cgi-bin/ 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

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: Directory /home/mine/public_html/cgi-bin/ Options +Indexes +ExecCGI Order allow,deny

Re: [EMAIL PROTECTED] access denied

2006-02-21 Thread Robert Ionescu
azeem ahmad wrote: From: Robert Ionescu [EMAIL PROTECTED] [...] azeem ahmad wrote: Directory /home/mine/public_html/cgi-bin/ 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,

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

[EMAIL PROTECTED] Providing pwdusr 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

Re: [EMAIL PROTECTED] Providing pwdusr 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 restricted

[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

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 better

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

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,

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 still requires that

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

2006-02-21 Thread Vengal, Thomas (OpenViewRD)
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 (OpenViewRD) 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 was

[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