Re: [users@httpd] Windows Apache 2.4.9 restarts itself

2014-08-07 Thread Mar Imp
Hi Jeff, I checked the logfiles again. There is nothing unusual there. There are no other errors logged in vhost-logfiles at the time of the restart, nothing in the Windows Event Log. What can we do? Level up the Loglevel ? At this time I have “LogLevel warn” set in httpd.conf. What do you

Re: [users@httpd] Apache 2.4 memcached module not caching

2014-08-07 Thread Solo Luke
Final configuration look like this: LoadModule cache_module modules/mod_cache.so LoadModule cache_socache_module modules/mod_cache_socache.so LoadModule socache_memcache_module modules/mod_socache_memcache.so # Enable cache for /api folder from root /var/www/html/api CacheEnable socache /api #

Re: [users@httpd] Re: Apache 2.4 PHP 5.5

2014-08-07 Thread motty cruz
Thanks Good Guy, I am not getting anything similar to the example you have, I get a blank page, (using chrome) then I get file download Thanks, On Wed, Aug 6, 2014 at 5:38 PM, Good Guy xfs...@hotmail.com wrote: On 06/08/2014 21:38, motty cruz wrote: Thanks, I created index.php with the

RE: [users@httpd] Windows Apache 2.4.9 restarts itself

2014-08-07 Thread Agnetta Kamugisha
Jeff, Check this link. We had to implement this workaround. https://www.apachelounge.com/viewtopic.php?t=6037 Thanks Agnetta -Original Message- From: Mar Imp [mailto:marimp...@gmail.com] Sent: Thursday, August 07, 2014 4:40 AM To: users@httpd.apache.org Subject: Re: [users@httpd]

Re: [users@httpd] RewriteEngine conditions?

2014-08-07 Thread Igor Cicimov
On 07/08/2014 2:47 PM, Mark jensen ngiw2...@hotmail.com wrote: I want to redirect all the inside network IPs to an error page except some IPs, A condition like this: if ( IP_from_Network = 192.168.1.0 and ((IP != 192.168.1.4) or (IP != 192.168.1.5) or (IP != 192.168.1.6)) ) { redirect to an

Re: [users@httpd] Re: Apache 2.4 PHP 5.5

2014-08-07 Thread D'Arcy J.M. Cain
On Thu, 7 Aug 2014 06:42:31 -0700 motty cruz motty.c...@gmail.com wrote: I am not getting anything similar to the example you have, I get a blank page, (using chrome) then I get file download Sounds like one of three things. 1. You have not built the PHP Apache module. How to do this depends

Re: [users@httpd] Re: Apache 2.4 PHP 5.5

2014-08-07 Thread Francois Gingras
D'arcy, Those are actually erroneous responses. You do not need mod_php to serve php content; that's the legacy approach. Also, AddType should never be used for dynamic content. The purpose of that directive is to change the content type for static files. Nowadays, you can use fcgi and even

RE: [users@httpd] RewriteEngine conditions?

2014-08-07 Thread Mark jensen
I have tried use what you just suggest:    RewriteCond   %{REMOTE_ADDR}   ^192\.168\.1\.*$   RewriteCond   %{REMOTE_ADDR}   !^192\.168\.1\.4$   RewriteCond   %{REMOTE_ADDR}   !^192\.168\.1\.5$   RewriteCond   %{REMOTE_ADDR}   !^192\.168\.1\.6$ But it didn't work.

Re: [users@httpd] RewriteEngine conditions?

2014-08-07 Thread Walter H.
On 07.08.2014 15:48, Igor Cicimov wrote: On 07/08/2014 2:47 PM, Mark jensen ngiw2...@hotmail.com mailto:ngiw2...@hotmail.com wrote: I want to redirect all the inside network IPs to an error page except some IPs, A condition like this: if ( IP_from_Network = 192.168.1.0 and ((IP !=

Re: [users@httpd] Re: Apache 2.4 PHP 5.5

2014-08-07 Thread Edgar Pettijohn
Of course we don't know what if anything you are attempting to use to serve php content because you have not supplied your configuration file. On 08/07/2014 09:20 AM, Francois Gingras wrote: D'arcy, Those are actually erroneous responses. You do not need mod_php to serve php content; that's

[users@httpd] Use Allow from IP when there is a proxy exist?

2014-08-07 Thread Mark jensen
we know that we can allow some IPS with out authentication using Allow from IP: Directory /var/www/html/template   Order allow,deny   Allow from 192.168.1.5   Satisfy any   AuthName LDAP Authentication   AuthType Basic   AuthBasicProvider ldap   AuthzLDAPauthoritative

Re: [users@httpd] Order of applicatoin of sites-enabled configs

2014-08-07 Thread M Busche
Frank, I don't think you understood what I was trying to say.  My complaint was that in the pre-packaged configuration made with the ubuntu distribution, the default vhost configuration is placed in a file prefixed with the string 000 which causes it to be loaded first.  I renamed it to have a

Re: [users@httpd] Use Allow from IP when there is a proxy exist?

2014-08-07 Thread Pete Houston
On Thu, Aug 07, 2014 at 09:19:10PM +, Mark jensen wrote: How can I make Apache to deal with the client IP not the proxy IP? Use mod_remoteip. Pete -- Openstrike - improving business through open source http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107 pgp8PAUHGkopd.pgp

Re: [users@httpd] Use Allow from IP when there is a proxy exist?

2014-08-07 Thread Igor Cicimov
But what if we use proxy (squid) in front, then the source IP will be the proxy IP, How can I make Apache to deal with the client IP not the proxy IP? You mean tell squid to send the source ip to apache? Check squid documentation how to do that or set proxy-for header. What can apache do about

RE: [users@httpd] Use Allow from IP when there is a proxy exist?

2014-08-07 Thread Mark jensen
I have found something like that, iS it true to use it: Your .htaccess file: # ALLOW USER BY IP order deny,allow deny from all SetEnvIF X-Forwarded-For 1.2.3.4 AllowIP SetEnvIF X-Forwarded-For 5.6.7.8 AllowIP Allow from env=AllowIP allow from 1.2.3.4 allow from 5.6.7.8source: