[users@httpd] how to dynamically set a request header befor send the content handler is run

2012-12-13 Thread Liudonghua (Eric)
I have already read the mod_headers configure document (http://httpd.apache.org/docs/2.4/mod/mod_headers.html). And I see early requestheader maybe solve my problem. RequestHeader add|append|edit|edit*|merge|set|unset header [value] [replacement] [early|env=[!]variable]|expr=expression] For my re

Re: [users@httpd] how to dynamically set a request header befor send the content handler is run

2012-12-13 Thread Serge Fonville
Hi, Is it correct to interpret this as "I want to create a new requestheader, based on the values of a client-provided requestheader"? >From http://httpd.apache.org/docs/2.2/mod/mod_headers.html "Request Headers are set immediately before running the content generator and Response Headers just as

[users@httpd] Default configuration: who replies with a "403 Forbidden" document?

2012-12-13 Thread Daniele Imbrogino
I've just downloaded and installed Apache 2.4.3 on Ubuntu 12.04 for didactical purposes. I used the default configuration provided with ./configure and I edited the httpd.conf ( /usr/local/apache2/conf/httpd.conf ) ONLY adding an "order" directive in a directory block #Other default directi

Re: [users@httpd] Default configuration: who replies with a "403 Forbidden" document?

2012-12-13 Thread Pete Houston
On Thu, Dec 13, 2012 at 11:14:29AM +0100, Daniele Imbrogino wrote: > But why the client on 192.168.1.3 receives also a (very basic) HTML page > explaining the error, if I don't have any ErrorDocument directive? > (and the few present in httpd.conf by default are commented) This is explained in the

Re: [users@httpd] Default configuration: who replies with a "403 Forbidden" document?

2012-12-13 Thread Daniele Imbrogino
Oh, I'm sorry. I never thought about going to read the documentation for a directive I DON'T use, but from now I will. Thank you. 2012/12/13 Pete Houston > On Thu, Dec 13, 2012 at 11:14:29AM +0100, Daniele Imbrogino wrote: > > But why the client on 192.168.1.3 receives also a (very basic) HTM

Re: [users@httpd] Apache HTTP Server 2.4.x for Windows?

2012-12-13 Thread Tom Evans
On Tue, Dec 11, 2012 at 4:47 PM, Ben Johnson wrote: > The Apache Software Foundation does not provide Windows binaries. You > must compile the software from source (no simple matter on Windows) or > obtain binaries from a third party. Apache Lounge is the best known > source for such binaries: htt

答复: [users@httpd] how to dynamically set a request header befor send the content handler is run

2012-12-13 Thread Liudonghua (Eric)
Thanks, now I make it work. I use an environment variable and requestHeader without early keyword to implement my requirement. I should read the document more carefully next time. 发件人: Serge Fonville [mailto:serge.fonvi...@gmail.com] 发送时间: 2012年12月13日 17:56 收件人: users@httpd.apache.org 主题: Re: [us

Re: [users@httpd] Compilation error in Apache 2.4.3

2012-12-13 Thread Bouchot Jonathan
hi, i think the best way to do that is compiling apr and apr-util before compiling httpd and remove your rpm openssl-devel ( rpm -qa | grep -i openssl and rpm -e openssl-devel...) check this url http://httpd.apache.org/docs/2.4/en/install.html that could be helpfull -- Regard Jo Le 10 déc. 2

Re: [users@httpd] Compilation error in Apache 2.4.3

2012-12-13 Thread Tom Evans
On Mon, Dec 10, 2012 at 1:18 AM, John Iliffe wrote: > I am trying to install Apache 2.4.3 on a new Red Hat Linux 6.3 machine > running on X86_64 hardware. > > I installed OpenSSL version 1.0.1c and it seemed to install correctly. > basically, it was a default install except for the executable loca

Re: [users@httpd] Compilation error in Apache 2.4.3

2012-12-13 Thread John Iliffe
Thanks Tom. I figured it was an OpenSSL problem; I've compiled Apache too often to expect an error there! The OpenSSL documentation is somewhat sparse! I completely missed the "shared" parameter in the configuration. [as an aside on the OpenSSL documentation, for multi-threading, if the O/S