Re: [users@httpd] mod_extract_forwarded or mod_rpaf for Apache 2.2/2.4?

2012-08-26 Thread Marten Lehmann
adjust the backports to create a real working one for httpd 2.2, I decided to move to httpd 2.4. On 24.08.2012 16:29, Ruiyuan Jiang wrote: You can get the module for 2.2 from http://people.apache.org/~wrowe/httpd-2.2-ports/ Ruiyuan Jiang -Original Message- From: Marten Lehmann

Re: [users@httpd] mod_extract_forwarded or mod_rpaf for Apache 2.2/2.4?

2012-08-23 Thread Marten Lehmann
Thanks. Is anything like that available for Apache 2.2? Ubuntu 12.04 LTS only ships with Apache 2.2.22. I would have to build my own Apache with all dependencies just for this single module. On 24.08.2012 00:19, Jeff Trawick wrote: On Thu, Aug 23, 2012 at 5:57 PM, Marten Lehmann wrote

[users@httpd] mod_extract_forwarded or mod_rpaf for Apache 2.2/2.4?

2012-08-23 Thread Marten Lehmann
Hello, is there any module like mod_extract_forwarded or mod_rpaf available for Apache 2.2 or Apache 2.4? These modules change the value of REMOTE_ADDR to the original client IP address behind a proxy request, that is given by the X-Forwarded-for header - only if the request comes from trust

[us...@httpd] mod_auth: username is in REMOTE_USER, but where are the groups?

2010-08-05 Thread Marten Lehmann
Hello, I have a pretty standard auth setup: .htaccess: AuthType Basic AuthName "restricted" AuthUserFile /webs/.htpasswd AuthGroupFile /webs/.htgroups Require group readwrite .htpasswd: user1:. user2:. .htgroups: readwrite: user2 readonly: user1 eat-bananas: user2 Now when I acces

[us...@httpd] HostnameLookups Off but still resolved hostnames

2010-04-22 Thread Marten Lehmann
Hello, our global config of Apache defines: HostnameLookups Off So we expected, that the REMOTE_ADDR part (%h) in our logfiles are only IP-addresses. Now we noticed, that a customer is using a Deny rule with a hostname rather than an IP-address in his .htaccess file which causes Apache to re

Re: [us...@httpd] CombinedLog with IPv6

2010-04-07 Thread Marten Lehmann
Hello, Will the first entry be a mixed typ of IPv4 and IPv6 REMOTE_ADDRs depending on the listening interface that the visitor connected to? Yes. and is it possible to tell apache to switch to an IPv6 format for logging everytime, so that even IPv4 addresses are logged in the IPv6 forma

[us...@httpd] CombinedLog with IPv6

2010-04-06 Thread Marten Lehmann
Hello, I want to setup Apache with IPv6 hosts and so I asked myself, what happens to REMOTE_ADDR in log files? A typical line would be 12.23.34.45 - - [06/Apr/2010:23:15:32 +0200] "GET /styles/navi.css HTTP/1.0" 304 - "referer" "Mozilla/5.0 (compatible; Yahoo! Slurp/3.0)" Will the first ent

[us...@httpd] Strange logfile entries: 8\r\xff

2010-03-15 Thread Marten Lehmann
Hello, some of our users noticed, that lines like this appear in their logfiles: 58.187.78.42 - - [14/Mar/2010:04:38:53 +0100] "8\r\xff" 400 226 "-" "-" This has been noticed be different customers on different servers. I know that the Referer and Useragent may be empty (shown by the dash), b

Re: [EMAIL PROTECTED] test.html.php shown as html not as php

2008-01-28 Thread Marten Lehmann
Hello, AddType application/x-httpd-php .php That's wrong. PHP is a handler, not a MIME type. That ugly hack was required by Apache 1.0, but has been a nasty bogosity since Apache 1.1 in 1996. ah, I see. I started using it with my Apache 1.3.x config where it worked fine and then kept it u

[EMAIL PROTECTED] test.html.php shown as html not as php

2008-01-28 Thread Marten Lehmann
Hello, using apache 2.2.4 we have these lines in our httpd.conf (among others of course): AddType application/x-httpd-php .php AddHandler server-parsed .html This works generally fine: .php files are executed by the php interpreter and .html files processed by the SSI processor of apache.

[EMAIL PROTECTED] Hugh httpd-process

2008-01-25 Thread Marten Lehmann
Hello, using "top", I noticed this output: top - 08:48:40 up 24 days, 17:21, 1 user, load average: 173.78, 113.81, 52.58 Tasks: 449 total, 47 running, 397 sleeping, 0 stopped, 5 zombie Cpu(s): 5.2% us, 56.6% sy, 0.4% ni, 0.0% id, 37.5% wa, 0.0% hi, 0.2% si Mem: 2056328k total, 203

[EMAIL PROTECTED] Strange access log entry repeating

2007-10-11 Thread Marten Lehmann
Hello, I have an ssl host for the domain test.com, configured with these lines in httpd.conf: Listen 1.2.3.4:80 NameVirtualHost 1.2.3.4:80 ServerName test.com Listen 1.2.3.4:443 ServerName test.com SSLEngine On SSLCertificateKeyFile /etc/httpd/certs/test.c

[EMAIL PROTECTED] multiple ssl-hosts per ip possible

2006-08-10 Thread Marten Lehmann
Hello, I recently read, that it is possible the have more than one ssl-host per ip-address. This shall be possible with two special requirements: - all ssl-hosts share the same key - all certs for the hosts are bundled within one file For the letter requirement I think it doesn't only have to

[EMAIL PROTECTED] using another ip-address on multihomed servers

2006-07-07 Thread Marten Lehmann
Hello, I have a strange problem: I'm providing a service to my users on a certain ip-address. This service in turn connects to another server. The server my service connects to is firewalled and only allows connections from a certain ip-adress of my multihomed server (it has several ip-addres

[users@httpd] /mail calls /mail.php, but why?

2005-06-16 Thread Marten Lehmann
Hello, I have a file called mail.php. When I enter mysite.de/mail.php, it's displayed correctly. What I don't understand is: Why do I reach mail.php when I enter mysite.de/mail - without the .php ending? I haven't defined any mod_rewrite rules or ErrorDocuments. Is this behaviour intentionally