[users@httpd] Is Drupal and moodle is an apache server?

2014-08-05 Thread Mark jensen
I have managed to redirect unwanted users using Rewrite engine: RewriteEngine on RewriteCond %{REMOTE_ADDR} ^192\.168\.1\.7$ [NC] RewriteCond %{REQUEST_URI} ^/protected/.* [NC] RewriteRule ^(.*)$ - [R=404,L] Can I use this configuration with Drupal and moodle

Re: [users@httpd] stops listening to IP

2014-08-05 Thread Al
Hi, On Aug 5, 2014, at 4:51 PM, Jeff Trawick wrote: On Tue, Aug 5, 2014 at 3:27 PM, Al wrote: Hi, I am running apache 2.4. We are now having a problem with the server, it stops answering requests on one IP. It goes down about every 45 minutes. I have since switched one of the websites to

Re: [users@httpd] stops listening to IP

2014-08-05 Thread Jeff Trawick
On Tue, Aug 5, 2014 at 3:27 PM, Al wrote: > Hi, > > I am running apache 2.4. We are now having a problem with the server, it > stops answering requests on one IP. It goes down about every 45 minutes. I > have since switched one of the websites to another IP and all it did was > transfer the probl

[users@httpd] stops listening to IP

2014-08-05 Thread Al
Hi, I am running apache 2.4. We are now having a problem with the server, it stops answering requests on one IP. It goes down about every 45 minutes. I have since switched one of the websites to another IP and all it did was transfer the problem to the other IP. I am now using both IPs fo

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

2014-08-05 Thread Jeff Trawick
On Tue, Aug 5, 2014 at 8:25 AM, Jeff Trawick wrote: > On Tue, Aug 5, 2014 at 6:35 AM, Mar Imp wrote: > >> Hi Jeff, >> >> after 5 Days the next Apache restart >> >> it contains a new Error: >> [Tue Aug 05 01:36:30.138535 2014] [mpm_winnt:error] [pid 31884:tid >> 444] (OS 6)The handle is invalid.

Re: [users@httpd] Redirect to other server if file/directory does not exists.

2014-08-05 Thread Mimiko
On 05.08.2014 15:40, Igor Cicimov wrote: RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d RewriteRule ^/(.*)$ http://other-server%{REQUEST_URI} [P,L] This worked. The problem alsa was because I was calling: httpd://

Re: [users@httpd] Redirect to other server if file/directory does not exists.

2014-08-05 Thread Igor Cicimov
> > RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f > RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_URI} ^/(.*)$ > RewriteRule ^/(.*)$ http://other-server/%1 [P,L] > > Does not work. Local resources if esists are shown, but remote resources > are 404 not found "/".

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

2014-08-05 Thread Jeff Trawick
On Tue, Aug 5, 2014 at 6:35 AM, Mar Imp wrote: > Hi Jeff, > > after 5 Days the next Apache restart > > it contains a new Error: > [Tue Aug 05 01:36:30.138535 2014] [mpm_winnt:error] [pid 31884:tid > 444] (OS 6)The handle is invalid. : AH00360: Child: Failure releasing > the start mutex > > Logfi

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

2014-08-05 Thread Mar Imp
Hi Jeff, after 5 Days the next Apache restart it contains a new Error: [Tue Aug 05 01:36:30.138535 2014] [mpm_winnt:error] [pid 31884:tid 444] (OS 6)The handle is invalid. : AH00360: Child: Failure releasing the start mutex Logfile: [Tue Aug 05 01:36:29.137575 2014] [mpm_winnt:crit] [pid 31884:

[users@httpd] Fwd: cannot access ports 80 and 443 after upgrade from apache 2.2 to 2.4

2014-08-05 Thread Javier Hurtado
hello. i have following issue with my server: i have an ubuntu-server at home. yesterday i upgraded the whole thing to version 14.04. i have been making some research and everything points to the fact that the ubuntu 14.04 comes with apache 2.4, which is supposed to have new and different autho

Re: [users@httpd] Redirect to other server if file/directory does not exists.

2014-08-05 Thread Mimiko
On 05.08.2014 11:36, Igor Cicimov wrote: RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f RewriteCond %{QUERY_STRING} ^url=(.*)$ RewriteRule ^/geturl$%1 [P,L] Nope, in my case it does not work. The link I use is not in query string as uses Ivan. So adapting like this: RewriteCond %

Re: [users@httpd] Redirect to other server if file/directory does not exists.

2014-08-05 Thread Ivan Bondarev
OMG, it worked as tiny swiss clocks! Thanks Igor. 05.08.2014 12:36, Igor Cicimov пишет: On 05/08/2014 5:30 PM, "Ivan Bondarev" > wrote: > > Hi. > > I have a similar issue. > > I need to make a rewrite rule for this URL: > > /geturl?url=http://example.com/somepi

Re: [users@httpd] CVE-2014-0226 vulnerability: mod_status.so was no longer ABI-compatible

2014-08-05 Thread Michele Mase'
Restarting not solves the issue; Issue solved: #LoadModule status_module modules/mod_status.so #ExtendedStatus On Issue is present: LoadModule status_module modules/mod_status.so ExtendedStatus On My httpd is rhel6.x rpm -qi httpd Name: httpdRelocations: (not relo

Re: [users@httpd] Redirect to other server if file/directory does not exists.

2014-08-05 Thread Igor Cicimov
On 05/08/2014 5:30 PM, "Ivan Bondarev" wrote: > > Hi. > > I have a similar issue. > > I need to make a rewrite rule for this URL: > > /geturl?url=http://example.com/somepicture.jpg > > to proxy it to the "url" parameter value. > > So, i used rules like this: > > RewriteEngine on > RewriteOptions I

Re: [users@httpd] Redirect to other server if file/directory does not exists.

2014-08-05 Thread Ivan Bondarev
Hi. I have a similar issue. I need to make a rewrite rule for this URL: / ///geturl?url=http://example.com/somepicture.jpg/ to proxy it to the /"//url"/ parameter value. So, i used rules like this: /RewriteEngine on// //RewriteOptions Inherit// //RewriteCond %{REQUEST_FILENAME} !-f// //