Re: [users@httpd] Rewrite Rule

2012-03-05 Thread Rainer Frey
On 02.03.2012, at 15:59, Vivek Nambiar wrote: http://servername:port/myapp then it should redirect itself to https://servername:SSLport/myapp. I have added the following rewrite condition and rule in my httpd.conf file RewriteCond %{SERVER_PORT} PORT RewriteRule ^/(.*)$

Re: [users@httpd] Stable Version of Httpd

2012-03-05 Thread Harsimranjit singh Kler
i want to use openssl 0.9.8. Is this compatible with 2.4.1? 2012/3/4 Igor Galić i.ga...@brainsware.org [snip] You will need to rebuild all external modules of course given its a new major (like php, mod_perl etc) The latest stable of mod_perl (2.0.5) doesn't currently build with 2.4.1.

Re: [users@httpd] Stable Version of Httpd

2012-03-05 Thread Noel Butler
On Mon, 2012-03-05 at 14:45 +0530, Harsimranjit singh Kler wrote: i want to use openssl 0.9.8. Is this compatible with 2.4.1? Builds fine with openssl-0.9.8 I build against openssl-0.9.8t signature.asc Description: This is a digitally signed message part

Re: [users@httpd] Stable Version of Httpd

2012-03-05 Thread Noel Butler
2012/3/4 Igor Galić i.ga...@brainsware.org [snip] You will need to rebuild all external modules of course given its a new major (like php, mod_perl etc) The latest stable of mod_perl

Re: [users@httpd] https port and virtualhost

2012-03-05 Thread Daniel Ruggeri
On 3/5/2012 1:03 AM, Alain Roger wrote: Hi, on my local windows 7 computer, i have installed and setup a web server for development purpose. everything works well under port 80 (listening, servername, etc..), i also setup virtualhost in extra conf file as following: VirtualHost *:80

Re: [users@httpd] confused about modsecurity and apparmor

2012-03-05 Thread Mark Montague
On March 4, 2012 22:11 , Rajeev Prasad rp.ne...@yahoo.com wrote: want to make sure my web server is highly secure. I am not sure between modsecurity and AppArmor. can someone help with their experience? mod_security is a web application firewall that works at the HTTP level to protect the

[users@httpd] mod_status, disable server-status for users

2012-03-05 Thread Hajo Locke
Hello List, ist there any possibility to hide server-status page provided by mod-status for my users? every user with .htaccess is able to use sethandler and able to view complete status. how to disable this? Thanks, Hajo

Re: [users@httpd] mod_proxy_fcgi + PHP-FPM on Apache 2.4 solution?

2012-03-05 Thread Mark Montague
On March 3, 2012 7:22 , Daniel danco...@gmail.com wrote: Thank you, I just realized that earlier, as I thought Location /www/ meant server side. It works, however it passes all traffic through PHP-FPM and gives a Access denied. message on static files, and does not allow passing variables

Re: [users@httpd] mod_proxy_fcgi + PHP-FPM on Apache 2.4 solution?

2012-03-05 Thread Daniel
I have found an alternative method that works nicely, only passes .php files to PHP-FPM and allows the variables to pass. ProxyPassMatch ^(.*\.php)$ fcgi:// 127.0.0.1:9000/www/danielhe/danielhe.com/cookie.danielhe.com$1 This is really weird though, because when it's put outside of a vhost, it

[users@httpd] gen_test_char: cannot execute binary file

2012-03-05 Thread Henrik Strand
Hi! When porting/cross-compiling the Apache HTTP Server the build fails with the following error message: /bin/sh: ./gen_test_char: cannot execute binary file. This is due to that the gen_test_char is compiled with the cross-compiler but executed on the build system. This error has been around

Re: [users@httpd] Conditional disabling of caching (mod_cache) based on presence of certain cookie possible ?

2012-03-05 Thread Matus UHLAR - fantomas
On 02.03.12 15:29, Soumendu Bhattacharya wrote: We use Apache + mod_cache for caching our website. Our mod_cache rule is such that it enables caching for all and then selectively certain url pattern is disabled (like some contexts). Currently the need is that if a certain cookie is

Re: [users@httpd] mod_status, disable server-status for users

2012-03-05 Thread Matus UHLAR - fantomas
On 05.03.12 14:32, Hajo Locke wrote: ist there any possibility to hide server-status page provided by mod-status for my users? every user with .htaccess is able to use sethandler and able to view complete status. I'm afraid the only way to disable this is to disable mod_status. I don't know

Re: [users@httpd] mod_status, disable server-status for users

2012-03-05 Thread Hajo Locke
hello, I'm afraid the only way to disable this is to disable mod_status. I don't know of any other way and I that's why I don't use mod_status. which module you are using? i cant renounce to view a statuspage of my server. Thanks, Hans

Re: [users@httpd] mod_status, disable server-status for users

2012-03-05 Thread Mark Montague
On March 5, 2012 8:32 , Hajo Locke hajo.lo...@gmx.de wrote: ist there any possibility to hide server-status page provided by mod-status for my users? every user with .htaccess is able to use sethandler and able to view complete status. how to disable this? Disable mod_status, or turn off

Re: [users@httpd] mod_proxy_fcgi + PHP-FPM on Apache 2.4 solution?

2012-03-05 Thread Dennis Jacobfeuerborn
I haven't been able to play with this yet but shouldn't something like this work as well? LocationMatch \.php$ ProxyPass fcgi://127.0.0.1:9000 /LocationMatch Regards, Dennis On 03/05/2012 03:04 PM, Daniel wrote: I have found an alternative method that works nicely, only passes .php files

Re: [users@httpd] apache 2.4.1, regression, caching forward proxy configuration

2012-03-05 Thread Juergen Daubert
On Sat, Mar 03, 2012 at 06:06:51PM +0100, Rainer Jung wrote: On 01.03.2012 17:19, Juergen Daubert wrote: On Thu, Mar 01, 2012 at 03:38:10PM +, Nick Kew wrote: On Thu, 1 Mar 2012 12:34:22 +0100 Juergen Daubertj...@jue.li wrote: Any ideas or suggestions? Set Loglevel to debug, or if

Re: [users@httpd] confused about modsecurity and apparmor

2012-03-05 Thread Rajeev Prasad
thx Mark, it does help to understand things better. so that mean grsecurity and AppArmor doing the same thing? except that grsecurity is much complex and harder i guess. (I wanted to do that, but does not have enough expertise to think of building a LAMP install on grsecurity patched ubuntu.)  

RE: [users@httpd] apache 2.4.1, regression, caching forward proxy configuration

2012-03-05 Thread Rapp, James
The strange thing is that everything works with apache 2.2.x, so my guess is that there are either new but undocumented configuration switches or we have a regression in 2.4.1. BTW, I've found another report for probably the same issue, see [1]. [1]

Re: [users@httpd] confused about modsecurity and apparmor

2012-03-05 Thread Mark Montague
On March 5, 2012 11:20 , Rajeev Prasad rp.ne...@yahoo.com wrote: thx Mark, it does help to understand things better. so that mean grsecurity and AppArmor doing the same thing? except that grsecurity is much complex and harder i guess. (I wanted to do that, but does not have enough expertise to

Re: [users@httpd] changing owner:group of uploaded data

2012-03-05 Thread Wolfgang Laun
On 5 March 2012 08:06, Steve Swift swi...@swiftys.org.uk wrote: This certainly sounds like a situation for SUEXEC. However, if you need the apache server to assign files to arbitrary user:group then there are two ways that I know of: 1. You could create a SUDO entry which allows apache

Re: [users@httpd] mod_proxy_fcgi + PHP-FPM on Apache 2.4 solution?

2012-03-05 Thread Daniel
Thank you! This worked for me :) LocationMatch ^(.*\.php)$ ProxyPass fcgi://127.0.0.1:9000 /LocationMatch I'm not sure why the ProxyPassMatch does not work inside the vhost though, but LocationMatch does. On Mon, Mar 5, 2012 at 11:33 AM, Dennis Jacobfeuerborn denni...@conversis.de wrote: I

[users@httpd] What's the name of the http server on my Ubuntu: httpd or apache2?

2012-03-05 Thread Julio Sergio
I'm very puzzled with this simple question: the name of the http server is httpd or apache2? This is because, all apache documentation, in http.apache.org, refers to it as httpd, however in my Ubuntu installation it appears to be apache2. Were not I someone that has some idea of this, I would

Re: [users@httpd] What's the name of the http server on my Ubuntu: httpd or apache2?

2012-03-05 Thread Mathijs
The Debian/Ubuntu distributions, or rather their Apache HTTPD package maintainers, have renamed the binary to apache2, amongst other modifications. This was mainly done to differentiate between Apache 1.x and Apache 2.x, but its use is mostly void nowadays. Some other changes and layout

[users@httpd] Re: What's the name of the http server on my Ubuntu: httpd or apache2?

2012-03-05 Thread Julio Sergio
Mathijs mathijssch at gmail.com writes: The Debian/Ubuntu distributions, or rather their Apache HTTPD package maintainers, have renamed the binary to apache2, amongst other modifications. This was mainly done to differentiate between Apache 1.x and Apache 2.x, but its use is mostly void

Re: [users@httpd] What's the name of the http server on my Ubuntu: httpd or apache2?

2012-03-05 Thread Noel Butler
On Mon, 2012-03-05 at 23:19 +0100, Mathijs wrote: The Debian/Ubuntu distributions, or rather their Apache HTTPD package maintainers, have renamed the binary to apache2, amongst other modifications. This was mainly done to differentiate between Apache 1.x and Apache 2.x, but its use is mostly

Re: [users@httpd] Apache 2.4.1 third party dependencies

2012-03-05 Thread Andy Wang
On 03/03/2012 06:51 PM, Sander Temme wrote: On Mar 2, 2012, at 2:28 PM, Andy Wang wrote: 've been following the various changes with Apache 2.4.x (and 2.3.x during development regarding the removal of apr/apr-util and pcre from the Apache source bundle and noted that:

Re: [users@httpd] Stable Version of Httpd

2012-03-05 Thread Harsimranjit singh Kler
Is 2.4.1 is compatible with OpenSSL 1.0.0.? On Mon, Mar 5, 2012 at 2:58 PM, Noel Butler noel.but...@ausics.net wrote: ** On Mon, 2012-03-05 at 14:45 +0530, Harsimranjit singh Kler wrote: i want to use openssl 0.9.8. Is this compatible with 2.4.1? Builds fine with openssl-0.9.8 I build