[EMAIL PROTECTED] Cannot rotate error logs in Apache 2.2.4!

2007-08-10 Thread \Crash\ Dummy
I have tried the rotatelogs directive, I have tried the cronolog.exe utility, I have tried the mod_log_rotate module, all with the same negative result. I can rotate the access logs, but I cannot rotate the error logs. Is there a solution, or am I doomed to ever growing error logs? Syntax of

[EMAIL PROTECTED] SSl problem using Includes

2007-08-10 Thread Kyle Wilcox
I'm trying to allow SSI from my apache server. The Apache docs say to include the following: Options +Includes Options Indexes FollowSymLinks AddType text/html .shtml AddOutputFilter INCLUDES .shtml And that will cause Apache to parse the .shtml files being served for SSI to execute.

Re: [EMAIL PROTECTED] Cannot rotate error logs in Apache 2.2.4!

2007-08-10 Thread Charles Michener
What is the syntax of the access log rotation that works? \Crash\ Dummy [EMAIL PROTECTED] wrote: I have tried the rotatelogs directive, I have tried the cronolog.exe utility, I have tried the mod_log_rotate module, all with the same negative result. I can rotate the access logs, but I cannot

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
Thanks Dragon. What if I only want it remapped when the Content-Type is UTF-8? Jeff -Original Message- From: Dragon [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 10:44 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_headers mapping problem Jeff Murch

RE: [EMAIL PROTECTED] Re: Cannot rotate error logs in Apache 2.2.4!

2007-08-10 Thread Jeff Beard
http://forums.devshed.com/showpost.php?p=760527postcount=2 HTH. --Jeff -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Crash Dummy Sent: Friday, August 10, 2007 11:06 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Re: Cannot rotate error logs in

Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Dragon
Jeff Murch wrote: I am trying to map the following in my httpd.conf (for a reverse proxy): header unset Content-Type: text/html;charset=utf-8 header add Content-Type Content-Type: text/html;charset=iso-8859-1 As you can see I want to change the content type so that some of the characters

Re: [EMAIL PROTECTED] Apache spawns hundreds of processes, logging problem?

2007-08-10 Thread Vincent Bray
On 10/08/07, meer [EMAIL PROTECTED] wrote: The problem: [snip] This, and the (*1) fact make me think, that's a logging problem. Log partition is NOT full, but I noticed, that Apache logs stopped rotating. What are you using for the log rotation? In case it's a disk error, check your

[EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
I am trying to map the following in my httpd.conf (for a reverse proxy): header unset Content-Type: text/html;charset=utf-8 header add Content-Type Content-Type: text/html;charset=iso-8859-1 As you can see I want to change the content type so that some of the characters render correctly. But

Re: [EMAIL PROTECTED] Issues with PHP module in Windows

2007-08-10 Thread Lester Caine
Arnab Ganguly wrote: Hi All, I am getting the following error Syntax on the line number and the module cannot be loaded when I am trying to load the PHP module in Apache 2.2 on windows OS. I have tried the following option but it didn't worked.I still get the syntax error.The php dll is

Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Joshua Slive
On 8/10/07, Jeff Murch [EMAIL PROTECTED] wrote: Would you please show me an example of how I would unconditionally rewrite the character-type header from utf-8? I am trying, and I know the syntax is more like pseudocode: RewriteEngine On rewriterule ^CContent-Type: text/html;charset=utf-8

Re: [EMAIL PROTECTED] im stuck, plz help...

2007-08-10 Thread Harvey Saayman
thank you so much for the help given so far... now a demon of a different kind reared its ugly head... i set up m Listen directive to Listen 80... i then tried http://localhost and my html displays right im my browser... i got my ppp0 internet IP which was 196.23.239.34 tonight and i tried

[EMAIL PROTECTED] Re: Cannot rotate error logs in Apache 2.2.4!

2007-08-10 Thread \Crash\ Dummy
What is the syntax of the access log rotation that works? Any of these works. CustomLog |L:/apache/bin/rotatelogs -l logs/local 86400 local CustomLog |L:/apache/bin/cronolog L:/Apache/logs/local.%Y%m%d.log local LoadModule log_rotate_module modules/mod_log_rotate.so RotateLogs On

Re: [EMAIL PROTECTED] huge config file e404 page on different server

2007-08-10 Thread Joshua Slive
On 8/10/07, Samuel Vogel [EMAIL PROTECTED] wrote: Hey, It will make startup and restarts slower and will increase the memory usage somewhat. There will also be some effect on run-time performance, but it probably won't be too big. What exactly is it about the vhost config that is too

Re: [EMAIL PROTECTED] huge config file e404 page on different server

2007-08-10 Thread Samuel Vogel
Hey, It will make startup and restarts slower and will increase the memory usage somewhat. There will also be some effect on run-time performance, but it probably won't be too big. What exactly is it about the vhost config that is too complicated for dynamic vhosts? Some things can be worked

Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Joshua Slive
On 8/10/07, Jeff Murch [EMAIL PROTECTED] wrote: Wouldn't using RewriteCond be able to do that? No. RewriteCond can act on request headers but not response headers (since mod_rewrite must do rewriting before the response is written). Joshua.

[EMAIL PROTECTED] Issues with PHP module in Windows

2007-08-10 Thread Arnab Ganguly
Hi All, I am getting the following error Syntax on the line number and the module cannot be loaded when I am trying to load the PHP module in Apache 2.2 on windows OS. I have tried the following option but it didn't worked.I still get the syntax error.The php dll is present in the dir but still it

[EMAIL PROTECTED] Apache Restarting

2007-08-10 Thread gerocoma-forophp
Hi everybody, I would like to know what really happen when apache is restarted. This is because I need to know the risks of restarting during production time. I mean, if, for example, a php is being attended and at that moment I restart, does apache will wait until the php finishes and give the

Re: [EMAIL PROTECTED] Location of Main configuration file

2007-08-10 Thread Joshua Slive
On 8/10/07, Liao, Kexiao [EMAIL PROTECTED] wrote: Is there an easy way to find the location of apache main configuration file(httpd.conf in most cases) in the Unix file system? If you know where the httpd executable is, then you can use httpd -V to find out the expected location of all the

Re: [EMAIL PROTECTED] Location of Main configuration file

2007-08-10 Thread Henry Cavillones
usually in /etc/httpd/conf or use locate httpd.conf On Aug 10, 2007, at 9:16 AM, Liao, Kexiao wrote: Is there an easy way to find the location of apache main configuration file(httpd.conf in most cases) in the Unix file system? Kevin -Original Message- From: [EMAIL PROTECTED]

[EMAIL PROTECTED] Location of Main configuration file

2007-08-10 Thread Liao, Kexiao
Is there an easy way to find the location of apache main configuration file(httpd.conf in most cases) in the Unix file system? Kevin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Thursday, August 09, 2007 22:40 To:

Re: [EMAIL PROTECTED] PHPize and Installing DBG?

2007-08-10 Thread Lester Caine
Vik Rubenfeld wrote: I'm trying to install DBG for use with PHPEclipse. I'm on a Mac, so I have to compile it. I'm getting this error message when I run deferphpize: /Applications/MAMP/bin/php5/bin/phpize: line 1: /Users/myMac/Desktop/Eclipse: No such file or directory Cannot find

[EMAIL PROTECTED] Apache spawns hundreds of processes, logging problem?

2007-08-10 Thread meer
Hello, I am really desperated with my problem... What i have is Apache 2.2.3-5, PHP 4.4.4-9 on Debian lenny, dual Xeon 3.2GHz, SCSI drives. The problem: Normally, there are about 40-60 Apache processes and everything works fine. Then, in a minute, Apache spawns hundreds of processes (e.g.

[EMAIL PROTECTED] sharing state between client processes in prefork mode

2007-08-10 Thread tom
Hi *, we have apache 2.2.3 with mpm prefork mode. We wrote a module for it and the module needs to share statistical information between the apache child processes. We have done this through standard linux shared memory, but it seems not to work properly for higher loads (50 parallel

Re: [EMAIL PROTECTED] SSl problem using Includes

2007-08-10 Thread Joshua Slive
On 8/10/07, Kyle Wilcox [EMAIL PROTECTED] wrote: I'm trying to allow SSI from my apache server. The Apache docs say to include the following: Options +Includes Options Indexes FollowSymLinks AddType text/html .shtml AddOutputFilter INCLUDES .shtml Ahhh... No they don't.

[EMAIL PROTECTED] mod_cache configuration issue

2007-08-10 Thread wi
Hi all We've made progress with our caching situation. However, we've discovered a problem when caching for urls containing query strings. When the url does not contain a query string, the object is cached as expected, and the debug logging supports this. On the other hand, when the url contains

[EMAIL PROTECTED] PHPize and Installing DBG?

2007-08-10 Thread Vik Rubenfeld
I'm trying to install DBG for use with PHPEclipse. I'm on a Mac, so I have to compile it. I'm getting this error message when I run deferphpize: /Applications/MAMP/bin/php5/bin/phpize: line 1: /Users/myMac/ Desktop/Eclipse: No such file or directory Cannot find autoconf. Please check your

[EMAIL PROTECTED] mod_cache question

2007-08-10 Thread Morten Kristiansen
Hello, I'm currently using Apache v 2.2.4 as a frontend for my Tomcat server (I use mod_jk for this). I use mod_disk_cache to cache stuff from Tomcat. I have tested that if I shutdown Tomcat, all the cached content will be served to my browser until the cache is cleaned/about the be refreshed.

Re: [EMAIL PROTECTED] mod_cache and wildcard url's

2007-08-10 Thread wi
Thanks for the prompt reply - much appreciated. This confirmed what my experimentation showed, so I've come up with a solution that, while not quite ideal, seems to be working. I've created a rewrite matching the user_score portion of the uri, and send only these requests to a new virtual host,

Re: [EMAIL PROTECTED] huge config file e404 page on different server

2007-08-10 Thread Samuel Vogel
Well, my guess is that the performance hit from using mod_cband (which needs to lock/read/write a text database on every request) is significantly bigger than the performance hit from simply adding a vhost section. Is mod_cband really that big of a performance hit? ErrorDocument 404

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
Would you please show me an example of how I would unconditionally rewrite the character-type header from utf-8? I am trying, and I know the syntax is more like pseudocode: RewriteEngine On rewriterule ^CContent-Type: text/html;charset=utf-8 Content-Type: text/html;charset=iso-8859-1 Jeff

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
Wouldn't using RewriteCond be able to do that? Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Joshua Slive Sent: Friday, August 10, 2007 11:14 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] mod_headers mapping problem On 8/10/07,

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
More info: It seems that none of the headers will unset... Jeff -Original Message- From: Jeff Murch [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 11:06 AM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] mod_headers mapping problem I changed the syntax in the

[EMAIL PROTECTED] Re: Issues with PHP module in Windows

2007-08-10 Thread \Crash\ Dummy
All I can do is share my own successful experience. I recently installed Apache 2.2.4 on my Windows 2000 Pro system, then ran the installer for PHP 5. The PHP 5 installer added this to my httpd.conf file: #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL PHPIniDir L:/PHP/ LoadModule

Re: [EMAIL PROTECTED] Apache Restarting

2007-08-10 Thread Joshua Slive
On 8/10/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi everybody, I would like to know what really happen when apache is restarted. This is because I need to know the risks of restarting during production time. I mean, if, for example, a php is being attended and at that moment I

Re: [EMAIL PROTECTED] mod_cache configuration issue

2007-08-10 Thread Joshua Slive
On 8/10/07, wi [EMAIL PROTECTED] wrote: Invalid command 'CacheIgnoreQueryString', perhaps misspelled or defined by a module not included in the server configuration This seems strange, since the server reports: Server version: Apache/2.2.4 (Unix) Server built: May 3 2007 13:07:14

[EMAIL PROTECTED] Re: Re: Cannot rotate error logs in Apache 2.2.4!

2007-08-10 Thread \Crash\ Dummy
I satisfy those conditions, but it still doesn't work. In fact, Apache won't even start. Also, it has always worked with the CustomLog directive. ErrorLog |L:/apache/logs/cronolog.exe L:/Apache/logs/error.%Y%m%d.log The author doesn't say what version of Apache he is running. -- Crash Running:

Re: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Joshua Slive
On 8/10/07, Jeff Murch [EMAIL PROTECTED] wrote: More info: It seems that none of the headers will unset... Standard protocol-required headers like Content-Type, Connection, etc, can't generally be manipulated with mod_headers. mod_rewrite can manipulate content-type, but I don't think it

Re: [EMAIL PROTECTED] sharing state between client processes in prefork mode

2007-08-10 Thread Joshua Slive
On 8/10/07, tom [EMAIL PROTECTED] wrote: Hi *, we have apache 2.2.3 with mpm prefork mode. We wrote a module for it and the module needs to share statistical information between the apache child processes. We have done this through standard linux shared memory, but it seems not to work

[EMAIL PROTECTED] huge config file e404 page on different server

2007-08-10 Thread Samuel Vogel
I have to questions regarding Apache: 1. With my setup I will have config files that are as big as 10mb, since I have complicated vhost config and 5000 vhosts. Will this slow Apache down significantly or have any other negative impact? The Problem is that the vhost config is to complicated for

Re: [EMAIL PROTECTED] huge config file e404 page on different server

2007-08-10 Thread Joshua Slive
On 8/10/07, Samuel Vogel [EMAIL PROTECTED] wrote: I have to questions regarding Apache: 1. With my setup I will have config files that are as big as 10mb, since I have complicated vhost config and 5000 vhosts. Will this slow Apache down significantly or have any other negative impact? The

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
Wrong again. SOME of the headers won't unset. Content-Type won't, Connection won't, but Server will Jeff -Original Message- From: Jeff Murch [mailto:[EMAIL PROTECTED] Sent: Friday, August 10, 2007 11:07 AM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] mod_headers

Re: [EMAIL PROTECTED] im stuck, plz help...

2007-08-10 Thread Matt Richards
On 8/10/07, Harvey Saayman [EMAIL PROTECTED] wrote: thank you so much for the help given so far... now a demon of a different kind reared its ugly head... i set up m Listen directive to Listen 80... i then tried http://localhost and my html displays right im my browser... i got my ppp0

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
I changed the syntax in the conf file but still it will not unset the content-type header and will not let me add the new one. I know that the directives are working fine as I can add a header with a different name no problem (Content-Typpe) but that doesn't help. Are there any special

RE: [EMAIL PROTECTED] mod_headers mapping problem

2007-08-10 Thread Jeff Murch
Thanks Joshua. I found that it is nod_proxy_html v2 that is causing the character set problem. Version 2 only outputs UTF-8. This was corrected in 3 to allow you to specify a character set. So, I have downloaded the source for 3 and compiled it but am not getting the error: httpd: Syntax error

Re: [EMAIL PROTECTED] PHPize and Installing DBG?

2007-08-10 Thread Vik Rubenfeld
I've posted over there - they haven't responded yet. At this point I'm getting an error message from the PHPize that's built into the Apache installation that comes with MAMP. The error message is: /Applications/MAMP/bin/php5/bin/phpize: line 1: /Users/viksg4/ Desktop/Eclipse: No such

[EMAIL PROTECTED] Rotate logs for compression but keep them forever

2007-08-10 Thread Richard Edward Horner
Hi, I'm sorry this is really a logrotate question but I don't think there is a logrotate mailing list :) Besides, this is for apache logs and I bet someone here knows the answer! I'm running a very high volume website and I'd like to rotate the logs daily so that I can compress them (.bz2) but

Re: [EMAIL PROTECTED] Rotate logs for compression but keep them forever

2007-08-10 Thread Dragon
Richard Edward Horner wrote: Hi, I'm sorry this is really a logrotate question but I don't think there is a logrotate mailing list :) Besides, this is for apache logs and I bet someone here knows the answer! I'm running a very high volume website and I'd like to rotate the logs daily so that I

Re: [EMAIL PROTECTED] Rotate logs for compression but keep them forever

2007-08-10 Thread Richard Edward Horner
Ohh, good call. BASH + cron :) I just figured this functionality had to exist somewhere already. Plus I like to use the simplest solution for everything so that the next person who might have to deal with it doesn't have to decipher what is going on. Thanks, Rich(ard) On 8/10/07, Dragon [EMAIL

[EMAIL PROTECTED] binary .so for mod_proxy_html version 3???

2007-08-10 Thread Jeff Murch
I can't get mod_proxy_html to compile on RHEL4. I have 2.x running fine but need to control the character set output which 3 does. Does anyone know of a source to get this binary? Jeff - The official User-To-User support

Re: [EMAIL PROTECTED] What the commands means?

2007-08-10 Thread Nanu Kalmanovitz
Thanks! I wish to add a second domain to my WEB server (Apache2) using Named-Based. Should I add the commands in the following VirtualHost block to every VirtualHost block for every new domain? VirtualHost _default_:443 BrowserMatch MSIE nokeepalive downgrade-1.0 force-response-1.0 Include

[EMAIL PROTECTED] httpd dependent libraries

2007-08-10 Thread Gururaja Nittur
Hi, I am trying to cross compile Apache for Monta vista linux. The problem is that httpd is picking up bunch of binaries from the build machine that doesnot exist in the target machine. For example, I am not sure why Apache needs kerberos libraries picked up from /usr/kerberos. My questions are:

Re: [EMAIL PROTECTED] What the commands means?

2007-08-10 Thread Joshua Slive
On 8/10/07, Nanu Kalmanovitz [EMAIL PROTECTED] wrote: Thanks! I wish to add a second domain to my WEB server (Apache2) using Named-Based. Should I add the commands in the following VirtualHost block to every VirtualHost block for every new domain? VirtualHost _default_:443 BrowserMatch