RE: [us...@httpd] Not working: Rewrite from HTTPS to HTTP

2009-08-04 Thread Robert Mattson
Hi Pradeep, Um, what's wrong with a: Redirect 302 /myappdir/somedir/ http://example.org/myappdir/somedir/ Rob Please consider the environment - do you really need to print this email? -Original Message- From: Pradeep Phalgunan Kalliat [mailto:pradeep_kall...@infosys.com] Sent: Wednes

[us...@httpd] Not working: Rewrite from HTTPS to HTTP

2009-08-04 Thread Pradeep Phalgunan Kalliat
Hi All, I have a situation where my web application is throwing errors because of some problems with the SSL certificate. I want to redirect https requests to http till the certificate problems are resolved. At first, I modified my redirect to HTTPS rule From: RewriteRule ^/(.*) https://%{HT

[us...@httpd] mod_deflate and mod_cache can this be combined to improve performance

2009-08-04 Thread Shibi NS
I have a Server running with Apache 2.2.9/Mod_Perl 2.0.4 , now I am trying to use mod_deflate to compress response. I have lot of static files in my server which doesn't change frequently so i want to caching for these compressed files. Is it possible , any idea at what stage mod_cache filter is ca

[us...@httpd] Apache dies in Freebsd jail

2009-08-04 Thread apache-user
I know this sounds like a headline, but its true. I had a disk space problem in the jail, so I reconfigured and restored the apache on the new disk size. I then added my other modules that I required from ports. I then checked if it all worked, and I got nada- firefox tells me the sites valid b

Re: [us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread André Warnier
Mike -- EMAIL IGNORED wrote: On Tue, 04 Aug 2009 14:33:12 -0400, Mark H. Wood wrote: Local DNS cache of some sort on the Fedora box? Some of my hosts run 'nscd' (which comes with glibc) and some run BIND in cache-only mode. Indeed there are two problems, and you nailed one of them: 1. Both

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 14:33:12 -0400, Mark H. Wood wrote: > Local DNS cache of some sort on the Fedora box? Some of my hosts run > 'nscd' (which comes with glibc) and some run BIND in cache-only mode. Indeed there are two problems, and you nailed one of them: 1. Both boxes have nscd, but it was n

[us...@httpd] Problem with a website and mod_proxy

2009-08-04 Thread alex.gitelzon
I have apache 2.2.12 set up as a forward proxy server. When I try and go to the website www.csc24seven.com through apache, it takes a long time to load the page, over 3 minutes. When I go through any other route, on that server and other servers, the page loads in under a minute. I noticed that t

Re: [us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread André Warnier
André Warnier wrote: Mark H. Wood wrote: Local DNS cache of some sort on the Fedora box? Some of my hosts run 'nscd' (which comes with glibc) and some run BIND in cache-only mode. That's also, I believe, what a local "dnsmasq" would do. But in order for the local Apache to use it, you'd have

[us...@httpd] Problem with enable-layout and APR while trying to compile 2.2.12

2009-08-04 Thread Richard
Hi, I have a small problem compiling 2.2.12, I might be doing somthing wrong but I can't find an answer that explains this. I'm trying to compile Apache using http://diymacserver.com/installing-apache/compiling-apache-in-64-bits-mode-on-leopard/ When I add the DIYMacServer layout to the config.

Re: [us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread André Warnier
Mark H. Wood wrote: Local DNS cache of some sort on the Fedora box? Some of my hosts run 'nscd' (which comes with glibc) and some run BIND in cache-only mode. That's also, I believe, what a local "dnsmasq" would do. But in order for the local Apache to use it, you'd have to set 127.0.0.1 as a

Re: [us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mark H. Wood
Local DNS cache of some sort on the Fedora box? Some of my hosts run 'nscd' (which comes with glibc) and some run BIND in cache-only mode. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Friends don't let friends publish revisable-form documents. pgpgF667txjjX.pgp Description: PGP si

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 17:06:34 +, Mike -- EMAIL IGNORED wrote: > Later examination showed that the Fedora box (the one working well) > occasionally also does a DNS lookup, but it happens very rapidly. All > the DNS activity is the same -- it is doing a reverse lookup on the > client IP address.

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 18:43:14 +0200, André Warnier wrote: [...] > Yet one appears to do tons of DNS lookups, and the other one not. Logic > would have it that there /is/ something different somewhere in either > the configuration, or some file(s) you are not thinking about right now, > that make t

Re: [us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread André Warnier
Mike -- EMAIL IGNORED wrote: On Tue, 04 Aug 2009 16:00:54 +, Mike -- EMAIL IGNORED wrote: On Tue, 04 Aug 2009 16:24:25 +0100, Tom Evans wrote: HostNameLookups HostNameLookups Off in the only place it appears. Perhaps I should compare all files in conf.d on my two machines. Mike. [...

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 16:00:54 +, Mike -- EMAIL IGNORED wrote: > On Tue, 04 Aug 2009 16:24:25 +0100, Tom Evans wrote: > >> HostNameLookups > > HostNameLookups Off > in the only place it appears. Perhaps I should compare all files in > conf.d on my two machines. > > Mike. > [...] I did the

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 16:24:25 +0100, Tom Evans wrote: > HostNameLookups HostNameLookups Off in the only place it appears. Perhaps I should compare all files in conf.d on my two machines. Mike. - The official User-To-User suppo

Re: [us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Tom Evans
On Tue, 2009-08-04 at 15:05 +, Mike -- EMAIL IGNORED wrote: > On Tue, 04 Aug 2009 08:22:14 +0200, André Warnier wrote: > > [...] > >> > > You could first check the obvious, such as whether in your Apache/Centos > > config, you are not *asking* the server to do these DNS lookups. Look > > here

[us...@httpd] Re: excessive dns slows httpd

2009-08-04 Thread Mike -- EMAIL IGNORED
On Tue, 04 Aug 2009 08:22:14 +0200, André Warnier wrote: [...] >> > You could first check the obvious, such as whether in your Apache/Centos > config, you are not *asking* the server to do these DNS lookups. Look > here for instance : > http://httpd.apache.org/docs/2.2/mod/mod_log_config.html#for

Re: [us...@httpd] redirect IE6 with mod_rewrite

2009-08-04 Thread MK
On 08/03/2009 06:38:12 PM, Sander Temme wrote: > mod_rewrite shares its thoughts with you through the RewriteLog at > RewriteLogLevel (or somesuch). At level 10, it gets quite chatty and Thanks, much appreciated. - The offic

Re: [us...@httpd] First time setting up site on Apache

2009-08-04 Thread DarkMatter2009
That's Fantastic, thank you for explaining how it works, I am now able to access the file from a web browser. I have modified the default file, simple! :) awarnier wrote: > > DarkMatter2009 wrote: >> Hello All, >> >> I am relatively new to using Apache, > That's fine. We always welcome new co

Re: [us...@httpd] First time setting up site on Apache

2009-08-04 Thread André Warnier
DarkMatter2009 wrote: Hello All, I am relatively new to using Apache, That's fine. We always welcome new converts, and we like newbies : they are usually polite, humble, they don't think thy know everything, and they are easy to impress. :-) I have recently set it up on Ubuntu. That may b

[us...@httpd] First time setting up site on Apache

2009-08-04 Thread DarkMatter2009
Hello All, I am relatively new to using Apache, I have recently set it up on Ubuntu. What I'm trying to do is make "/home/yves/MyFirstPHP/MyFirstPHP/HelloWorld.php" accessible through my browser using the URL: http://localhost/MyFirstPHP/HelloWorld.php. The tutorials I have found so far are confu