Re: [us...@httpd] Re: SSI + content-length headers

2009-09-27 Thread Rajwinder-office Singh
On Fri, Sep 25, 2009 at 10:41 AM, Nick Kew wrote: > Rajwinder-office Singh wrote: > >>I have a situation : >> >>1. I have to keep SSI enabled on all *.html pages. >>2. SSI removes content-length + Last-modified headers from *.html >>3. I have to keep these two headers for it to be

Re: [us...@httpd] Apache2 downloads .pl file instead of executes it

2009-09-27 Thread Matthew Pettis
This worked, thank you! On Sun, Sep 27, 2009 at 10:07 PM, Igor Cicimov wrote: > Also put the handler statement in the same directory > > AddHandler cgi-script .cgi .pl > > so it looks like > > > Options +ExecCGI > AddHandler cgi-script .cgi .pl > > > or what ever extension you are using for

Re: [us...@httpd] Apache2 downloads .pl file instead of executes it

2009-09-27 Thread Igor Cicimov
Also put the handler statement in the same directory AddHandler cgi-script .cgi .pl so it looks like Options +ExecCGI AddHandler cgi-script .cgi .pl or what ever extension you are using for the cgi programs. On Mon, Sep 28, 2009 at 1:04 PM, Igor Cicimov wrote: > Do you have this stateme

Re: [us...@httpd] Apache2 downloads .pl file instead of executes it

2009-09-27 Thread Igor Cicimov
Do you have this statement included in your conf file for the CGI directory? Options +ExecCGI Cheers, Igor On Sat, Sep 26, 2009 at 12:57 PM, Matthew Pettis wrote: > Hi, > Newbie here -- my Apache2 install is downloading the .pl script I have > instead of executing it as a CGI. How do I mak

Re: [us...@httpd] Using VirtualHosts, do I need to specify "main" ServerName?

2009-09-27 Thread Norman Peelman
Edward Ruggeri wrote: On Sat, Sep 26, 2009 at 6:21 PM, Norman Peelman wrote: Apache (linux/windows) will check the 'hosts' file first and then do DNS lookups when no matches are found. I don't understand why your not worried about why it needs it but you are worried about how it gets it. The

Re: [us...@httpd] Extremely high virtual memory usage

2009-09-27 Thread Steve
I also face a similar problem. I find that after 5 days I'm hitting swap space and have to reboot. Does no one here on the list have any advice on how to find these sorts of issues? Command line tools, directories to look in, etc? Any suggestions would be greatly appreciated. Steve 2009/9/26 I

[us...@httpd] ServerName and VirtualHosts

2009-09-27 Thread Stephen
There was a post yesterday about the subject. I was getting my new server set up with the latest Ubuntu distribution. The ServerName directive must be added to the config file (apache2.conf). It was not entered as part of the installation. >From the docs: The |ServerName| directive sets the

Re: [us...@httpd] Using VirtualHosts, do I need to specify "main" ServerName?

2009-09-27 Thread Edward Ruggeri
On Sat, Sep 26, 2009 at 6:21 PM, Norman Peelman wrote: > Apache (linux/windows) will check the 'hosts' file first and then do DNS > lookups when no matches are found. I don't understand why your not worried > about why it needs it but you are worried about how it gets it. The main > server needs a

[us...@httpd] Re: Apache configuration problem: huge daemons and I often lose control of the server

2009-09-27 Thread Alvise Nicoletti
Hi again ... I need help, this morning I lost again the control of the server. 99% cpu and no answer from SSHD. After webfarm will have manually rebooted the system, I need some help from you to understand the problem. It's happened 4 times already... Alvise Nicoletti wrote: Hi ... I use u