2.2.x und ldaps

2007-09-18 Thread Rainer Sokoll
Hallo, hat jemand ein Kochrezept für $SUBJECT? http://httpd.apache.org/docs/2.2/mod/mod_ldap.html#settingcerts habe ich gelesen, aber nicht verstanden :-( Konkret: Ich brauche doch (mindestens) 2 Zertifikate für den LDAP-Server, einmal das Server-Zertifikat und einmal das CA-Zertifikat, richtig?

Re: 2.2.x und ldaps

2007-09-18 Thread Klaus Klein
Schluchts; ich bin da überfragt. Gruß Schiebedach - Original Message - From: Rainer Sokoll [EMAIL PROTECTED] To: users-de@httpd.apache.org Sent: Tuesday, September 18, 2007 2:43 PM Subject: 2.2.x und ldaps Hallo, hat jemand ein Kochrezept für $SUBJECT?

Re: 2.2.x und ldaps

2007-09-18 Thread Paul Puschmann
On Tue, Sep 18, 2007 at 02:43:04PM +0200, Rainer Sokoll wrote: Hallo, hat jemand ein Kochrezept für $SUBJECT? http://httpd.apache.org/docs/2.2/mod/mod_ldap.html#settingcerts habe ich gelesen, aber nicht verstanden :-( Konkret: Ich brauche doch (mindestens) 2 Zertifikate für den

RE: [EMAIL PROTECTED] NameVirtualHost question

2007-09-18 Thread Boyle Owen
-Original Message- From: Néstor Boscán [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 18, 2007 8:17 AM To: users@httpd.apache.org Subject: RE: [EMAIL PROTECTED] NameVirtualHost question The ones that comes with OracleAS 10.1.3 Your problem analysis seems to go like this: 1)

[EMAIL PROTECTED] Question on need to restart Apache after adding/modifying module

2007-09-18 Thread Pravin
Hi, Following is my understanding, and please correct me if I am wrong anywere. As per my understanding Apache uses plug-in architecture to increase its functionality at runtime. For this, it uses modules which are in form of DSO's (Dynamic shared objects) (ie. .so .dll etc...). And it uses

Re: [EMAIL PROTECTED] Location of Main configuration file

2007-09-18 Thread William A. Rowe, Jr.
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? httpd -V (presuming you can find httpd) might be useful. If relocated you might need something like apachectl -V

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

2007-09-18 Thread William A. Rowe, Jr.
Crash Dummy 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 rotate the error logs. Is there a solution, or am I doomed to ever growing

Re: [EMAIL PROTECTED] 2000 vHosts and indiviual access logs

2007-09-18 Thread William A. Rowe, Jr.
Sander Temme wrote: Also I would like to know if so opening so many different files will slow Apache down significantly? Aside from the fact that it won't work at all on a default kernel (not sure where you would tweak this in the kernel source), yes this will likely negatively affect

Re: [EMAIL PROTECTED] Question on need to restart Apache after adding/modifying module

2007-09-18 Thread William A. Rowe, Jr.
Pravin wrote: If this is the way Apache implements its plug-in architecture then why do we need to restart Apache when we add new module or update existing module ? Three reasons; * fork() lets us create, say, 25 or 500 children, each identical, each with a copy-on-write pointer to

Re: [EMAIL PROTECTED] Question on need to restart Apache after adding/modifying module

2007-09-18 Thread Pravin
* it's not terribly safe to modify the configuration structures created by httpd, they really are applied in a serial manner, not as some state machine the config state. Most platforms couldn't unlink a module and replace it with the same (new build) of a module even if you

Re: [EMAIL PROTECTED] filters and handlers?

2007-09-18 Thread William A. Rowe, Jr.
Joshua Slive wrote: On 8/19/07, Per Jessen [EMAIL PROTECTED] wrote: I've been re-reading the manual to try to gain a better understanding of filters and handlers, specifically the difference between the two. The reason being - by default, the PHP interpreter is called as a handler (a

Re: [EMAIL PROTECTED] Configuration issue with Apache HTPP Server

2007-09-18 Thread Uma Kalluru
Hi All, I resolved the problem by un-installing PHP and did a manual installation of PHP 5 and every thing went smoothly. Thanks to all for your responses. Regards, Uma On 9/17/07, Bj [EMAIL PROTECTED] wrote: I known that there's some issues with php and multithreaded httpd process. Maybe

Re: [EMAIL PROTECTED] Which file to edit

2007-09-18 Thread William A. Rowe, Jr.
Evan Platt wrote: I believe default, but simple way: extras actually, just as on unix. default are the files you were given so you can go back to them if you break it. Make a change. Restart service. See if change is made. :) :) At 07:05 PM 8/21/2007, Matthew Smith wrote: I'm not sure

Re: [EMAIL PROTECTED] Help with Apache 2 problem on AIX 5.3

2007-09-18 Thread William A. Rowe, Jr.
Yes - for crazyness' sake, rename the file you wish to update and drop a replacement file in it's place. See if the filesystem acknowledges you are serving a different file. You might also look at EnableMMAP off which can sometimes have very similar symptoms to EnableSendfile. Bill Coulter,

Re: [EMAIL PROTECTED] Load balancing question

2007-09-18 Thread Bj
Your jk_status seems to be ok but : 1) your perf mon tells that you are heavy loaded. If your cpu are hyperthread (HT) and if you have more than 50% of global cpu usage you can considere that you are not far from your max. Your loadaverage shows that you have lot of (too much ?) processes to

Re: [EMAIL PROTECTED] Syntax error on line 1 of http.conf: invalid command \xff\xfe#

2007-09-18 Thread William A. Rowe, Jr.
You edited it in utf-8. I hacked this long ago to ignore the leading bytes but it looks like you might have corrupted them (it's supposed to be a three byte sequence, and somehow you'd truncated it to two bytes?) Mark A. Craig wrote: I have a rather bizarre httpd.conf error with Apache 2.2 on

Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

2007-09-18 Thread William A. Rowe, Jr.
Norman Peelman wrote: I am unsure of what would be causing your Unicode issues, sorry. That being said.. i've heard/read that there are issues with rotatelogs on W32 platforms. I have successfully used rotatelogs on my old XP box after alot of hassle. What I found for me was that I had to

Re: [EMAIL PROTECTED] Apache aspx

2007-09-18 Thread William A. Rowe, Jr.
Chris Howell wrote: Is it possible to get Apache to serve out ASPX files ? http://mod-aspdotnet.sourceforge.net/ - The official User-To-User support forum of the Apache HTTP Server Project. See

[EMAIL PROTECTED] Apache 2.2.6 installation problem / libtool

2007-09-18 Thread Felix Dreher
Hello, I'm currently running Apache 2.2.3 and would like to upgrade to 2.2.6. However, when I use the same configure options (shown below) as with 2.2.3, make terminates with the following error: /bin/sh: /usr/build-1/libtool: No such file or directory make[3]: *** [maketables.lo] Error 127

[EMAIL PROTECTED] AuthnProviderAlias and require ldap-group

2007-09-18 Thread Mika Hiekkamäki
If I use multiple ldap providers with mod_authn_alias can I still use require ldap-group cn=xxx syntax? All examples I have seen use only require valid-user syntax, but I need ldap-groups for authorization. If it is possible to use ldap-groups for authorization (with AuthnProviderAlias) I would

[EMAIL PROTECTED] httpd seems to forget ServerAliases

2007-09-18 Thread Mark
Hello, I have a weird problem on one of my servers: I have different domains using different VirtualHost directives. The virtual hosts have a ServerName and a ServerAlias directive. It seems like after the server has been running for a while, calling some of the domains in the ServerAlias for

Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

2007-09-18 Thread Mark A. Craig
So this leads me to ask again, what are all of you successful 2.2.4 admins using to rotate your logs? If the piping mechanism is broken, at least in the Windows binary, then what other technique(s) are people using? Task Scheduler with a batch or CMD file? So far I've been manually rotating

[EMAIL PROTECTED] Apache waiting for i/o - optimizing

2007-09-18 Thread Samuel Vogel
Hey, The delivery of my sites is getting somewhat sluggish, so I checked top and it say that 30% of my CPU time is just waiting for i/o. Is there anything that I can do about this, as in optimizing Apache? I'm thinking about caching mechnisms, but I have now over 6.000 sites running, so I'm

Re: [EMAIL PROTECTED] Syntax error on line 1 of http.conf: invalid command \xff\xfe#

2007-09-18 Thread Mark A. Craig
I keep telling everyone, NO, I didn't! The error was SOLELY caused by the presence of the piped Customlog directives using rotatelogs.exe. When I comment those out, regardless what editor I use, the problem goes away. I only began having this problem AFTER I first tried to add those

Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

2007-09-18 Thread Dragon
Mark A. Craig wrote: So this leads me to ask again, what are all of you successful 2.2.4 admins using to rotate your logs? If the piping mechanism is broken, at least in the Windows binary, then what other technique(s) are people using? Task Scheduler with a batch or CMD file? So far I've

[EMAIL PROTECTED] Blocking crawling of CGIs

2007-09-18 Thread Tony Rice \(trice\)
We've had some instances where crawlers have stumbled onto a cgi script which refers to itself and start pounding the server with requests to that cgi. There are so many CGI scripts on this server that I don't want to maintain a huge robots.txt file. Any suggestions on other techniques to keep

RE: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

2007-09-18 Thread Phillip Hamilton
I wholeheartedly disagree with this statement: Apache holds only a tiny share of Windows servers. Apache holds a very large share of Windows server market, hence the pre-made binary. Back on topic, I rotate via a bat file with a quick re-start on my windows boxes ;) -Original Message-

Re: [EMAIL PROTECTED] Blocking crawling of CGIs

2007-09-18 Thread Mark A. Craig
There's no guarantee that crawlers will be polite and honor robots.txt directives; the search-engine ones probably do, but the spammers' ones definitely don't and in fact probably pay special attention to what's excluded. (I have a honeypot entry in my robots.txt designed to catch and then

RE: [EMAIL PROTECTED] httpd seems to forget ServerAliases

2007-09-18 Thread Phillip Hamilton
Whats your configuration? What other programs/modules do you have installed? -Original Message- From: Mark [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 18, 2007 12:04 PM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] httpd seems to forget ServerAliases Hello, I have a

Re: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

2007-09-18 Thread Mark A. Craig
Philip, do you use a scheduled CMD file to gracefully kill the server, rotate the logs, and then restart the server? Given that rumor has it that piping is broken in 2.2.4, it seems something like that is the only way to do it right now, eh? If what you're using contains no trade secrets, I'd

RE: [EMAIL PROTECTED] httpd seems to forget ServerAliases

2007-09-18 Thread Mark
I have pretty much a plain-vanilla httpd configuration that came with Fedora Core 3 (Apache/2.0.53 (Fedora) Server). No extra modules, and the only special module I use is mod_rewrite to link in tomcat, because I always had problems getting mod_jk[2] to work, for whatever reason.

[EMAIL PROTECTED] Deny after X number of connections

2007-09-18 Thread James Sherwood
Hello, I have a couple of questions on this: 1: Is there a way to deny users once apache reaches X number of connections. 2: If so can you do a custom page said users see? 3: If so can you get specific to deny connections based on virtual hosts? Thanks in advance, James

Re: [EMAIL PROTECTED] Apache 2.2.6 installation problem / libtool

2007-09-18 Thread Res
What OS, version. On Tue, 18 Sep 2007, Felix Dreher wrote: Hello, I'm currently running Apache 2.2.3 and would like to upgrade to 2.2.6. However, when I use the same configure options (shown below) as with 2.2.3, make terminates with the following error: /bin/sh: /usr/build-1/libtool: No

RE: [EMAIL PROTECTED] NameVirtualHost question

2007-09-18 Thread Néstor Boscán
No, my problem analysis goes like this: 1) Set up proxy without virtual host - it works. 2) Set up proxy with virtual host - it doesn't work I assume the problem is number 2 Regards, Néstor Boscán -Mensaje original- De: Boyle Owen [mailto:[EMAIL PROTECTED] Enviado el: Martes, 18 de

[EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread Andrew WC Brown
Hi, I'm new to this mailing list (waves). I'm running OS X.4.10 with Apache 2.2.6 When I installed apache I was sure to --enable-module=shared so I could load DSOs. I let apache2 install to /usr/local/apache2. When I run apache it works. I didn't specify any additional modules on compilation

Re: [EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread Dragon
On Tue, September 18, 2007 18:27, Andrew WC Brown wrote: Hi, I'm new to this mailing list (waves). I'm running OS X.4.10 with Apache 2.2.6 When I installed apache I was sure to --enable-module=shared so I could load DSOs. I let apache2 install to /usr/local/apache2. When I run apache it

Re: [EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread Andrew WC Brown
I've tired to add the include directory but appears to ignore the one I gave it: apple:/volumes/scratch/dump/httpd-2.2.6/modules/mappers owner$ sudo apxs -c mod_vhost_alias.c -I/usr/local/apache2/include results in: gcc -DDARWIN -DUSE_HSREGEX -DUSE_EXPAT -I../lib/expat-lite -g -Os -pipe

RE: [EMAIL PROTECTED] Apache 2.2, rotatelogs.exe, and Windows

2007-09-18 Thread Phillip Hamilton
I'll be back at my post on Monday, from there I'll be able to access the files and I'd be happy to share it. It's very simple if you're familiar with batch files. 1. Stop apache (using net stop) 2. Move logs to new folder (xcopy) 3. Restart apache (net start) 4. Rar the logs up with Winrar

Re: [EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread J. Greenlees
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew WC Brown wrote: I've tired to add the include directory but appears to ignore the one I gave it: apple:/volumes/scratch/dump/httpd-2.2.6/modules/mappers owner$ sudo apxs -c mod_vhost_alias.c -I/usr/local/apache2/include try:

Re: [EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread Andrew WC Brown
I receive the same results, also --c doesn't work, only with single hyphen On 9/18/07, J. Greenlees [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew WC Brown wrote: I've tired to add the include directory but appears to ignore the one I gave it:

Re: [EMAIL PROTECTED] [module] how do I compile a module?

2007-09-18 Thread J. Greenlees
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew WC Brown wrote: I receive the same results, also --c doesn't work, only with single hyphen Then the include path is not right. The error messages say that the files are not where it's looking for them. Jaqui -BEGIN PGP