[EMAIL PROTECTED] Equivalent of CHttpFilter::GetFilterVersion(pVer) in Apache linux

2007-05-03 Thread ramakrishnaprasad.annasamudram
We are migrating a WebServer Application from IIS to Apache linux.We are unable to find equivalent functions in linux to CHttpFilter::GetFilterVersion(pVer).Also are there any flags in linux apache SF_NOTIFY_ORDER_LOW? Thanks The information contained in this electronic message and any att

[EMAIL PROTECTED] Stupid Question: Canonical Name Rewrite Location

2007-05-03 Thread Ann Hopkins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a server with multiple hosts names on one IP address. I have figured out from all the searches I made that I can do rewrite the other hosts names to "correct" the address to "www". ServerName www.example.com:80 ServerName a.example.com:80 Serve

Re: [EMAIL PROTECTED] Stupid Question: Canonical Name Rewrite Location

2007-05-03 Thread Joshua Slive
On 5/3/07, Ann Hopkins <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a server with multiple hosts names on one IP address. I have figured out from all the searches I made that I can do rewrite the other hosts names to "correct" the address to "www". ServerName

[EMAIL PROTECTED] Tools for better viewing Apache access logs?

2007-05-03 Thread Mark A. Craig
Thanks again to those who helped me get past my BSOD problem and finally put Apache to use. Now that I'm using it, I'm wondering if there's some tool that exists to enhance and restructure the display of information in Apache's access log? I'd like to view the log with a hostname and more col

Re: [EMAIL PROTECTED] Stupid Question: Canonical Name Rewrite Location

2007-05-03 Thread Ann Hopkins
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The "Virtual Host" directive is the only one that takes "ServerAlias". This actually works in the main configuration file or a Virtual Host directive. The Apache documentation implies what I tried to be okay, but specific website examples from other

[EMAIL PROTECTED] RESTARTING APACHE

2007-05-03 Thread Bashiro
Hello folks, is there a way to schedule apache to restart after some hours ? Any script out there ? Thanks Bashiro ___ No banners. No pop-ups. No kidding. Make My Way your home on the Web - http://www.myway.com -

Re: [EMAIL PROTECTED] Stupid Question: Canonical Name Rewrite Location

2007-05-03 Thread Joshua Slive
On 5/3/07, Ann Hopkins <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The "Virtual Host" directive is the only one that takes "ServerAlias". This actually works in the main configuration file or a Virtual Host directive. Right, but you still can't have more than one

Re: [EMAIL PROTECTED] RESTARTING APACHE

2007-05-03 Thread Joshua Slive
On 5/3/07, Bashiro <[EMAIL PROTECTED]> wrote: Hello folks, is there a way to schedule apache to restart after some hours ? Any script out there ? What OS? That would typically be the job of cron (under unix) or the windows task scheduler on MS-Windows. Joshua. -

Re: [EMAIL PROTECTED] RESTARTING APACHE

2007-05-03 Thread Marcos R. Cardoso
When you install Apache on Windows a script to restart is included on the Start Menu, check that out. Bashiro escreveu: Hello folks, is there a way to schedule apache to restart after some hours ? Any script out there ? Thanks Bashiro ___ No b

Re: [EMAIL PROTECTED] RESTARTING APACHE

2007-05-03 Thread Bashiro
Ja the icon in the start menu is just a monitor. WIndows task cannot restart it to affect apache itself. But if only I could get hold of the httpd itself, perhaps windows task could do it. But how ? I am stuck Bashiro --- On Thu 05/03, Marcos R. Cardoso < [EMAIL PROTECTED] > wrote: From: Marco

Re: [EMAIL PROTECTED] RESTARTING APACHE

2007-05-03 Thread Marcos R. Cardoso
I mean the Start Menu, not the Icon Tray, there you can see the shortcuts to some necessary actions like "Stop", "Start" and "Restart". Check the syntax for the "Restart" option (which I can't remember right now) and schedule that on windows, I use the "Stop" and "Start" once a week to dispose

Re: [EMAIL PROTECTED] RESTARTING APACHE

2007-05-03 Thread Bashiro
Thanks a lot. i have scheduled it by using the icons in the start programs as you said. Thanks a lot Bashiro --- On Thu 05/03, Marcos R. Cardoso < [EMAIL PROTECTED] > wrote: From: Marcos R. Cardoso [mailto: [EMAIL PROTECTED] To: users@httpd.apache.org Date: Thu, 03 May 2007 16:16:53 -0300 Subj

Re: [EMAIL PROTECTED] RESTARTING APACHE

2007-05-03 Thread Dan_Mitton
This might be a silly question, but why would you want to restart Apache? Please respond to users@httpd.apache.org To: users@httpd.apache.org cc: (bcc: Dan Mitton/YD/RWDOE) Subject:Re: [EMAIL PROTECTED] RESTARTING APACHE LSN: Not Relevant User Filed as: Not a Record Thanks a

Re: [EMAIL PROTECTED] RESTARTING APACHE

2007-05-03 Thread Bashiro
I want to restart Apache for the same reason why people want to restart any other program. For freeing memory ? for dumping memory ? for dumping log file? for releasing overload, for stability (in order to release hanging files) etc Bashiro --- On Thu 05/03, < [EMAIL PROTECTED] > wrote: From

[EMAIL PROTECTED] preventing "self" entries in access log?

2007-05-03 Thread Mark A. Craig
Is there a httpd.conf directive or other technique to prevent the logging of server accesses that originate from the same IP address as the server itself? I would like to prevent them from being logged entirely. Can I perhaps use some form of SetEnv to accomplish that? Mark

Re: [EMAIL PROTECTED] preventing "self" entries in access log?

2007-05-03 Thread Joshua Slive
On 5/3/07, Mark A. Craig <[EMAIL PROTECTED]> wrote: Is there a httpd.conf directive or other technique to prevent the logging of server accesses that originate from the same IP address as the server itself? I would like to prevent them from being logged entirely. Can I perhaps use some form of

Re: [EMAIL PROTECTED] RESTARTING APACHE

2007-05-03 Thread Dragon
Bashiro wrote: I want to restart Apache for the same reason why people want to restart any other program. For freeing memory ? for dumping memory ? for dumping log file? for releasing overload, for stability (in order to release hanging files) etc End original message. ---

[EMAIL PROTECTED] Help ! Apache 100%

2007-05-03 Thread Alejandro Decchi
Hello my friends! I have apache2 and mysql and php. When one user access to thw webpage and make a query apache2 uses the 98% of cpu How can i limit the cpu uses ???

Re: [EMAIL PROTECTED] preventing "self" entries in access log?

2007-05-03 Thread Mark A. Craig
Joshua: Yes, I'd seen that, but my situation is a bit more complicated, since the server isn't sitting at a static IP, and I wasn't entirely certain how to do it. Would something like this work? SetEnvIf Remote_Addr Server_Addr dontlog CustomLog logs/access.log common env=!dontlog Mark

Re: [EMAIL PROTECTED] RESTARTING APACHE

2007-05-03 Thread Dan_Mitton
I run on UNIX (Sun Solaris 8/9), but Apache only comes down with the box while doing patches. To rotate log files, we use cronolog (cronolog.org), which auto-magically switches to new logs files on a configurable basis (we use daily). Please respond to users@httpd.apache.org To: users@h

Re: [EMAIL PROTECTED] preventing "self" entries in access log?

2007-05-03 Thread Joshua Slive
On 5/3/07, Mark A. Craig <[EMAIL PROTECTED]> wrote: Joshua: Yes, I'd seen that, but my situation is a bit more complicated, since the server isn't sitting at a static IP, and I wasn't entirely certain how to do it. Would something like this work? SetEnvIf Remote_Addr Server_Addr dontlog Cus

Re: [EMAIL PROTECTED] Help ! Apache 100%

2007-05-03 Thread Joshua Slive
On 5/3/07, Alejandro Decchi <[EMAIL PROTECTED]> wrote: Hello my friends! I have apache2 and mysql and php. When one user access to thw webpage and make a query apache2 uses the 98% of cpu How can i limit the cpu uses ??? Your OS probably has tools to manage the priority of processes. Using

Re: [EMAIL PROTECTED] Tools for better viewing Apache access logs?

2007-05-03 Thread Joshua Slive
On 5/3/07, Mark A. Craig <[EMAIL PROTECTED]> wrote: Thanks again to those who helped me get past my BSOD problem and finally put Apache to use. Now that I'm using it, I'm wondering if there's some tool that exists to enhance and restructure the display of information in Apache's access log? I'd

Re: [EMAIL PROTECTED] Equivalent of CHttpFilter::GetFilterVersion(pVer) in Apache linux

2007-05-03 Thread Joshua Slive
On 5/3/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: We are migrating a WebServer Application from IIS to Apache linux.We are unable to find equivalent functions in linux to CHttpFilter::GetFilterVersion(pVer).Also are there any flags in linux apache SF_NOTIFY_ORDER_LOW? You seem to

Re: [EMAIL PROTECTED] preventing "self" entries in access log?

2007-05-03 Thread Mark A. Craig
Joshua: Yep, in lieu of an automated "inline" way to do it, I'll just have to strip them out by hand (or grow a mental blindspot to them :-). Since the IP and hostname does vary every time the DHCP lease expires, it means there's no backend way at all I could automate it. The only means of

Re: [EMAIL PROTECTED] FD_SETSIZE

2007-05-03 Thread Joshua Slive
On 5/2/07, Eduardo Meyer <[EMAIL PROTECTED]> wrote: On Apache2, how do I set FD_SETSIZE? I have found some virtual hosts limitations and FAQ and documentation tells I should define FD_SETSIZE in EXTRA_CFLAGS, but where EXTRA_CFLAGS go? I don't remember for sure, but I don't think that FD_SETSIZ

Re: [EMAIL PROTECTED] FD_SETSIZE

2007-05-03 Thread Res
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 3 May 2007, Joshua Slive wrote: On 5/2/07, Eduardo Meyer <[EMAIL PROTECTED]> wrote: On Apache2, how do I set FD_SETSIZE? I have found some virtual hosts limitations and FAQ and documentation tells I should define FD_SETSIZE in EXTRA_CFLAGS,

[EMAIL PROTECTED] Slow Responding to Extra Request on Persistent Connection

2007-05-03 Thread Ryan Frishberg
Hey, I'm writing a program to test the performance of apache (we had a similar problem with lighttpd), and I keep running into a problem with persistent connections. We make a single request, like: GET fileName HTTP/1.1 Host: server:80 Keep-Alive: 300 Connection: keep-alive And we get a respons

Re: [EMAIL PROTECTED] FD_SETSIZE

2007-05-03 Thread Eduardo Meyer
I have workarounded the situation by reconfiguring all 3 thousand domains to share the same log files, and use the split log scriot which comes with apache under support/ directory, as a guy has recomended me on freebsd list. However, I feel that sooner or later I will find out the same limitatio

Re: [EMAIL PROTECTED] FD_SETSIZE

2007-05-03 Thread Joshua Slive
On 5/3/07, Eduardo Meyer <[EMAIL PROTECTED]> wrote: However, it is a resource problem which I havent fix, because I dont understand correctly what else, other than fd's Apache needs, so I can raise it. I very much doubt that you will run into file descriptor limits if you avoid separate logs f

[EMAIL PROTECTED] Disabling the "Vary" header / Potential repercussions

2007-05-03 Thread Fred Tyler
Hi, I'm faced with a long-standing problem that has recently become a whole lot worse for me: It's the case of the "Vary" header preventing caching in Internet Explorer, which causes no end of problems when it is triggered via mod_negotiation. I use mod_negotiation extensively, not to actually ne

[EMAIL PROTECTED] Getting rid of "Vary" -- Follow-up

2007-05-03 Thread Fred Tyler
Well, it turns out that getting rid of Vary within mod_negotiation isn't as straightforward as I'd hoped, so I've gone and change http_protocol.c in version 1.3.37 and http_filters.c in 2.2.4 so that setting "force-no-vary" does not fall back to HTTP/1.0. The only way I plan to use "force-no-vary

[EMAIL PROTECTED] Getting rid of "Vary" by altering mod_negotiation.c

2007-05-03 Thread Fred Tyler
Sorry for all the followups, but I wanted to post one this last modification for comments. Below you'll see the change I made to mod_negotiation.c that prevents it from appending the Vary, TCN, and Content-Location headers. Since I am only using mod_negotiation to allow me to use extension-less U

Re: [EMAIL PROTECTED] Disabling the "Vary" header / Potential repercussions

2007-05-03 Thread Nick Kew
On 4 May 2007, at 03:49, Fred Tyler wrote: [chop] This is OTTOMH. 1. Add "Header unset Vary" to httpd.conf. The problem with this is that it just doesn't work. I don't know why, but I've stuck it in about 100 different places and it doesn't make any difference. That "Vary" header never goe

Re: [EMAIL PROTECTED] Disabling the "Vary" header / Potential repercussions

2007-05-03 Thread Fred Tyler
> 2. Add "SetEnv force-no-vary" to httpd.conf. The problem with this is > that it also degrades the connection to HTTP/1.0, which presumably has > the side effect of killing HTTP pipelining. On a heavily trafficked > site with a lot of small files requested on each page view, this is > not a good

Re: [EMAIL PROTECTED] Re: Trouble starting Apache HTTP Server

2007-05-03 Thread Raju Chandran
Thank you very much Robert for your tips. The built-in Apache server with MacOs was conflicting with my configuration and setup. I changed to my Apache bin directory and fired : a) ./apachectl -f /conf/httpd.conf for starting and b) ./apachectl -f /conf/httpd.conf -k stop for stopping After th

Re: [EMAIL PROTECTED] Tools for better viewing Apache access logs?

2007-05-03 Thread Mark A. Craig
Yep, I've wound up finding and downloading nearly a dozen alleged log analyzers, but most of them seem to do things I don't want while not doing what I do want, which is a simple columnar display of the logs, perhaps with a few filtering or sorting choices. I actually screwed around with impor