AW: [EMAIL PROTECTED] Does the "time taken to serve the request (%D)" include the time taken to read the request?

2008-10-29 Thread christian.folini
Hi Christophe, AFAIK, the timestamp of the request is the timestamp when the first request line (i.e. GET /index.html HTTP/1.1) is being read by the server. The duration is calculated as a delta to this base. Regs, Christian P.S. In case the timestamp is not enough exact, then try out m

AW: [us...@httpd] Stripping or setting certain http response headerrs

2008-10-29 Thread christian.folini
How about mod_headers? http://httpd.apache.org/docs/2.2/mod/mod_headers.html -> This module provides directives to control and modify HTTP request and response headers. Headers can be merged, replaced or removed. -- Christian Folini, IT 222 Webserver Security Engineer -Ursprüngliche Nach

AW: AW: [EMAIL PROTECTED] Stripping or setting certain http response headerrs

2008-10-29 Thread christian.folini
In such cases, you work with environment variables. The doc lists the following example: SetEnvIf MyRequestHeader myvalue HAVE_MyRequestHeader Header set MyHeader "%D %t mytext" env=HAVE_MyRequestHeader Alternatively you can set the environment variable via mod_rewrite to allow for more complic

AW: [EMAIL PROTECTED] tuning

2008-02-29 Thread christian.folini
Hi Krishna, Have a look at the new "High Performance Web Sites" by o'reilly and "Building Scalable Web Sites" by the same publisher. Otherwise the apache website has lots of information too. Generally it takes a lot of time and expertise to become really fast. But very often a single misconfigurat

AW: [EMAIL PROTECTED] IP sharing by several web servers and computers

2008-03-10 Thread christian.folini
Hey Jan, If I got your question correctly, then you want to have multiple servers with an apache on each of them and they allshare a single IP address? Well, that does not work. What does work is setting a loadbalancer with the single IP address in front of them and then distribute the load tow

AW: [EMAIL PROTECTED] Apache 2.2 as a static server (without PHP) to serve images

2008-03-31 Thread christian.folini
Hi Thomas, A typical setup for your environment would be to set an apache reverse proxy in front and handle the dynamic content on a dedicated backend server. You can put your static files on your reverse proxy or serve them via another backend server. The important part is to split dynamic and

AW: [EMAIL PROTECTED] How to detect multiple instance of apache

2008-04-07 Thread christian.folini
ps auwwx | grep -v grep | grep root | grep apache (?) -Ursprüngliche Nachricht- Von: Vinay Purohit [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 8. April 2008 08:50 An: users@httpd.apache.org Betreff: [EMAIL PROTECTED] How to detect multiple instance of apache Hi, I have installed

AW: [EMAIL PROTECTED] How to detect multiple instance of apache

2008-04-08 Thread christian.folini
I suggest you launch apache with the config file as a parameter and retrieve the filename it via ps afterwards. Alternatively you can also start out with a clear architecture and put the config files in a predefined location, defined by the URL. Like /etc/apache/.../httpd.conf_www.example.com Th

AW: [EMAIL PROTECTED] Re: Running webserver as apache?

2008-04-11 Thread christian.folini
Hi Mandy, > I need to know if its a good idea to run webserver as > user 'apache', have all files in webroot owned by user > apache and perms 644? It's not exactly a good idea, but if you are in a situation where the advantage outweighs the problems, then go ahead. > Would this still mean t

AW: [EMAIL PROTECTED] configure mod_perl on apache

2008-04-15 Thread christian.folini
Hi Krishna, Which part of the documentation does not work for you? http://perl.apache.org/ is quite comprehensive. regs, Christian Von: Krishna Chandra Prajapati [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 15. April 2008 12:48 An: users@httpd.apache.org B

AW: [EMAIL PROTECTED] mod_proxy limit session

2008-04-17 Thread christian.folini
Hi Arsène, Have a look into mod_qos. It gives you very detailed control over the sessions. http://mod-qos.sourceforge.net/ I am not sure you can do the same thing with mod_proxy. Christian -Ursprüngliche Nachricht- Von: Arsène Gschwind [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 1

AW: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite

2008-04-20 Thread christian.folini
Hey Hank, What do you mean by "silent redirect"? Christian Von: Hank [mailto:[EMAIL PROTECTED] Gesendet: Montag, 21. April 2008 01:43 An: users@httpd.apache.org Betreff: [EMAIL PROTECTED] silent URL redirect/cloak with mod_rewrite Hello All, I've tried ab

AW: [EMAIL PROTECTED] Adding a Header to the httpd response

2008-04-21 Thread christian.folini
Hey Salih, You should use mod_headers. http://httpd.apache.org/docs/2.2/mod/mod_headers.html Cheers, Christian -Ursprüngliche Nachricht- Von: Mohammed Salih [mailto:[EMAIL PROTECTED] Gesendet: Montag, 21. April 2008 14:09 An: users@httpd.apache.org Betreff: [EMAIL PROTECTED] Adding a

AW: [EMAIL PROTECTED] call rsync from php script

2008-05-13 Thread christian.folini
Hi Jean-Christophe, You need to source the ssh-key agent. I suggest you work with a tool like keychain. And please configure some sort of protection/authentication around your update.sh. Regs, Christian Von: Jean-Christophe Roux [mailto:[EMAIL PROTECTED]

AW: [EMAIL PROTECTED] Forward proxies and aliases

2008-07-08 Thread christian.folini
On Tue, 8 Jul 2008 22:04:54 "Nick Kew" <[EMAIL PROTECTED]> wrote: >> But that's a reverse proxy, not a forward one. I'm attempting to use >> an Apache server as a proxy for my web browser, that uses a local copy >> of certain files from certain sites. As such, it has to be a forward >> proxy,