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

2012-03-02 Thread Soumendu Bhattacharya
Hi, 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 present , the same url which was originally cached

[users@httpd] viurtual management

2012-03-02 Thread Nick Edwards
Hi, With a lot of virtual hosts, is it possible to have a sort of global ( /admin ) directory, which uses a specific dir elsewhere, that everyone is referenced to when they type their.domain/admin Trying to avoid a mass change of thousands of files, if I can get them all to go to one physical

Re: [users@httpd] viurtual management

2012-03-02 Thread Pete Houston
On Fri, Mar 02, 2012 at 08:06:55PM +1000, Nick Edwards wrote: With a lot of virtual hosts, is it possible to have a sort of global ( /admin ) directory, which uses a specific dir elsewhere, that everyone is referenced to when they type their.domain/admin Sounds like an Alias to me. Any

[users@httpd] apache 2.4.1 and php 5.4(same with any) problem

2012-03-02 Thread divines
Hi there, I have built from source apache 2.4.1 and php 5.4(doesnt actually matter, tried earlier versions) and it install without errors. Php puts libphp5.so module in apache. But php simply does not work when i try to open php files, and logs has nothing to show. Here is some information:

Re: [users@httpd] apache 2.4.1 and php 5.4(same with any) problem

2012-03-02 Thread Lester Caine
divines wrote: But php simply does not work when i try to open php files, and logs has nothing to show. Is that 'apache starts without an error'? If so what happens when you try and open a PHP page? Do you have the simple ?php 'phpinfo(); page to try Have you added the 'add handler' lines to

Re: [users@httpd] apache 2.4.1 and php 5.4(same with any) problem

2012-03-02 Thread Daniel Stefaniuk
I have the same problem. Nothing in the log. Did you try: ab -n 10 http://domain.org:80/ ? If I execute this I can see the problem: apr_pollset_poll: The timeout specified has expired (70007) arch=x64 mpm=prefork/worker httpd=2.4.1 php=5.4.0/5.3.10

Re: [users@httpd] apache 2.4.1 and php 5.4(same with any) problem

2012-03-02 Thread divines
Hi, Omg, it was a handler problem. Thank you so much. I am so dizzy today Lester Caine wrote: divines wrote: But php simply does not work when i try to open php files, and logs has nothing to show. Is that 'apache starts without an error'? If so what happens when you try and open a

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

2012-03-02 Thread Mark Montague
On February 28, 2012 18:57 , Daniel danco...@gmail.com wrote: What is the correct way for configuring mod_proxy_fcgi and PHP-FPM? This is what I have: ProxyPass /www/ fcgi://127.0.0.1:9000/www/ http://127.0.0.1:9000/www/ What you have is correct. You can also put it in a Location block,

[users@httpd] CGI-BIN Timeout Question w/ Python

2012-03-02 Thread Sean Cavanaugh (scavanau)
Hello All, I am trying to write a webpage wrapper for some scripts I have written in python on my FreeBSD 9 machine. When I do this on the command line #python tests.py It works fine, although the script takes 8 full seconds to run...(normal) when I do a: proc =

Re: [users@httpd] Rewrite Rule

2012-03-02 Thread Mathijs
The cleanest way of doing this, doesn't even need mod_rewrite. Just define two virtualhosts, one for the non-ssl host and one for the ssl host: NameVirtualHost *:80 VirtualHost *:80 ServerName www.example.com Redirect permanent / https://www.example.com/ /VirtualHost NameVirtualHost *:443

Re: [users@httpd] CGI-BIN Timeout Question w/ Python

2012-03-02 Thread Tom Evans
On Fri, Mar 2, 2012 at 3:21 PM, Sean Cavanaugh (scavanau) scava...@cisco.com wrote: Hello All, I am trying to write a webpage wrapper for some scripts I have written in python on my FreeBSD 9 machine. When I do this on the command line #python tests.py It works fine, although the

Re: [users@httpd] viurtual management

2012-03-02 Thread Anam Ali Khan
Create a symbolic link in each domain document root. -Anam From: Pete Houston p...@openstrike.co.uk To: users@httpd.apache.org Sent: Friday, 2 March 2012, 15:17 Subject: Re: [users@httpd] viurtual management On Fri, Mar 02, 2012 at 08:06:55PM +1000, Nick

Re: [users@httpd] public_html directory authentication

2012-03-02 Thread Anam Ali Khan
Hello, Try with this configuration:  Directory /home/username/public_html/Private     AuthType Basic     AuthUserFile  /home/username/public_html/Private/.htpasswd     AuthName Test     Require valid-user     AllowOverride All     Order allow,deny     Allow from all /Directory chmod 644

[users@httpd] Apache 2.4.1 third party dependencies

2012-03-02 Thread Andy Wang
I'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: http://httpd.apache.org/docs/2.4/install.html says nothing about PCRE as a requirement, but the default configure

[users@httpd] Any suggestions for a presentation at ApacheConNA2012?

2012-03-02 Thread Daniel Ruggeri
All; I'm hoping I can make it to ApacheCon NA again this year. I had a lot of fun presenting 'The mod_proxy_balancer cookbook' in 2010 and would like to submit to present again. Since I didn't get a lot of feedback one way or the other last time around and since ASF is all about a

[users@httpd] Re: Any suggestions for a presentation at ApacheConNA2012?

2012-03-02 Thread William A. Rowe Jr.
On 3/2/2012 6:29 PM, Daniel Ruggeri wrote: All; I'm hoping I can make it to ApacheCon NA again this year. I had a lot of fun presenting 'The mod_proxy_balancer cookbook' in 2010 and would like to submit to present again. Since I didn't get a lot of feedback one way or the other last time