RE: [EMAIL PROTECTED] Problem With Password Protection in Apache 2.2

2007-11-14 Thread Boyle Owen
> -Original Message- > From: Jon Forrest [mailto:[EMAIL PROTECTED] > Sent: Thursday, November 15, 2007 2:02 AM > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Problem With Password Protection in Apache 2.2 > > I need to setup password controlled access to a directory managed > b

RE: [EMAIL PROTECTED] Lingering children tying up file handles

2007-11-14 Thread Axel-Stephane SMORGRAV
I wonder whether this could be related to a discussion on the dev list that took place around the last August-September timeframe, about the handling of file handles across restarts on different OS platforms. You can find the thread here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg37412.h

Re: [EMAIL PROTECTED] Problem With Password Protection in Apache 2.2

2007-11-14 Thread Eric Covener
On Nov 14, 2007 8:01 PM, Jon Forrest <[EMAIL PROTECTED]> wrote: > DocumentRoot /users/chemweb/apache2/http-cchem/htdocs > > AuthType Basic > AuthName "Restricted Files" > AuthUserFile > /users/chemweb/apache2/http-cchem/htdocs/admittedstudent/.htpasswd > > Require us

Re: [EMAIL PROTECTED] Problem With Password Protection in Apache 2.2

2007-11-14 Thread Sergey Avdushkin
On Nov 14, 2007 8:01 PM, Jon Forrest <[EMAIL PROTECTED]> wrote: DocumentRoot /users/chemweb/apache2/http-cchem/htdocs AuthType Basic AuthName "Restricted Files" AuthUserFile /users/chemweb/apache2/http-cchem/htdocs/admittedstudent/.htpasswd Require user gsportal Ad

[EMAIL PROTECTED] Problem With Password Protection in Apache 2.2

2007-11-14 Thread Jon Forrest
I need to setup password controlled access to a directory managed by an Apache 2.2 server running on Solaris 10. I'm trying to do it by putting the necessary directives in my httpd.conf file rather than using an .htaccess file. I have the following in the appropriate VirtualHost section of my htt

Re: [EMAIL PROTECTED] weirdness in /tmp

2007-11-14 Thread Sergey Avdushkin
Hi all, I have a 400 MB resuorce.pag file, and a resourse.dir directory in my /tmp folder. It appears something is accessing them as I can see the files timestamp updated. I guess you could try to use "lsof" utility to see what exactly is accessing this files. You could also use "file" to de

RE: [EMAIL PROTECTED] mod_jk load balancing issue: one worker always dies...

2007-11-14 Thread weiji
Update: I've been double checking various things and I saw that the Apache documentation recommends to restart the server using a control script, so I'll use "apachectl -k restart" from now on. For JBoss to run multiple instances on the same machine, they have a service binding manager to handle

[EMAIL PROTECTED] mod_cband status of project?

2007-11-14 Thread js
Hi list, I was wondering about the status of mod_cband? I can't reach http://cband.linux.pl nor www.mod-cband.com for quite a while. Both freshmeat and sourceforge are outdated because google cache shows the latest version being: 0.9.7.5 http://209.85.129.104/search?q=cache:xiNdTVeiXB4J:cband.li

RE: [EMAIL PROTECTED] mod_jk load balancing issue: one worker always dies...

2007-11-14 Thread weiji
Hi John, Yes, I do have the JBoss jvmRoute attribute set up correctly. I also noticed the balance vs balanced wording, and I tested my setup with both and there seemed to be no difference. I assume that both wordings are correct because node2 can respond to requests with both. (And after any

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread jtkc
That looks like a useful program, but it doesn't look like it supports AIX 5.1. I'm leaning more towards the solution that GKapitany suggested. Seems simple enough. Thanks to both of you for your suggestions! JT Michael McGlothlin-2 wrote: > > Does LogRotate not work? > > http://kavlon.org

[EMAIL PROTECTED] Lingering children tying up file handles

2007-11-14 Thread Chris Boyce
Hello... We're using Apache 2.0.59 on Solaris. I've noticed over the last few bug/security releases, file handles being held open on rotated log files when using graceful restarts. >From what I understand, graceful restarting is the best way to do log rotation. But over the course of a few night

Re: [EMAIL PROTECTED] RE: [SPAM] - [EMAIL PROTECTED] tuning apache binary - Email found in subject

2007-11-14 Thread Samuel Vogel
I know that it will also depend on the content Apache servers, but I bet I can also tweak performance & memory consumption at compile time. Regards, Samy [EMAIL PROTECTED] schrieb: Actually IIRC memory consumption will depend on your site if it's a static or dynamic.. I did some tweak on ./co

[EMAIL PROTECTED] RE: [SPAM] - [EMAIL PROTECTED] tuning apache binary - Email found in subject

2007-11-14 Thread jmacaranas
Actually IIRC memory consumption will depend on your site if it's a static or dynamic.. I did some tweak on ./configure since I was using 64bit box -Original Message- From: Samuel Vogel [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 14, 2007 12:50 PM To: users@httpd.apache.org Subje

[EMAIL PROTECTED] tuning apache binary

2007-11-14 Thread Samuel Vogel
Hey guys, As I'm upgrading my servers (Debian Etch) to apache 2.2.6 I'm wondering what optimizations can be done at compile time. I bet there are some aggressive gcc flags or other tricks. Almost everything that can be a module is a module in the Debian Apache. Since I only load the modules I

Re: [EMAIL PROTECTED] fresh apache install segfaulting (FC7/yum)

2007-11-14 Thread Erin Spiceland
Whatever you're calling apache is not binary-compatible with your operating system and libs. The easy fix is to install it from clean source. Thank you, I have tried this as well, but it keeps trying to use .la libraries that I don't have instead of the .so ones that I do. Is there a configur

Re: [EMAIL PROTECTED] fresh apache install segfaulting (FC7/yum)

2007-11-14 Thread Nick Kew
On Wed, 14 Nov 2007 11:10:17 -0500 Erin Spiceland <[EMAIL PROTECTED]> wrote: > > I'm having a problem I hoped you guys could help me with. I'm trying > to set up my laptop as a LAMP server, but I can't get past LA! > Apache segfaults every single time I try to start it, Whatever you're calling a

Re: [EMAIL PROTECTED] Using secure LDAP authentication

2007-11-14 Thread Eric Covener
On Nov 14, 2007 10:54 AM, Malka Cymbalista <[EMAIL PROTECTED]> wrote: > I originally compiled apache with the follwing options to configure: > --prefix=/WWW/httpd --with-ldap --enable-ldap --enable-authnz-ldap > --enable-rewrite --enable-speling --enable-auth-digest --enable-ssl > --with-ssl=/

Re: [EMAIL PROTECTED] Mod_Rewrite from old dynamic page

2007-11-14 Thread Martijn
On Nov 14, 2007 5:03 PM, Ki Song <[EMAIL PROTECTED]> wrote: > > Try this instead: > > > > RewriteCond %{QUERY_STRING} ^([^,]*) [NC] > > > > If it still does not work, bump the RewriteLogLevel to 9 and look for > > answers > > in the log file. > > I tried that code and it didn't work. Did you tu

[EMAIL PROTECTED] fresh apache install segfaulting (FC7/yum)

2007-11-14 Thread Erin Spiceland
Forgive me if I'm being rude by double-posting! I'm not sure if this went through 3 days ago, because I sent it 3 minutes before my subscription confirmation arrived. I've got the contract now, and I'm going to have to reinstall Fedora if I can't get this working today. I'm having a pro

Re: [EMAIL PROTECTED] Mod_Rewrite from old dynamic page

2007-11-14 Thread Ki Song
> Try this instead: > > RewriteCond %{QUERY_STRING} ^([^,]*) [NC] > > If it still does not work, bump the RewriteLogLevel to 9 and look for answers > in the log file. I tried that code and it didn't work. I saw that there may be some typos, so I tried the following: RewriteCond %{QUERY_STRING

Re: [EMAIL PROTECTED] 2.2.6 mod_authnz_ldap connect/disconnect repeatedly without doing LDAP

2007-11-14 Thread Mark H. Wood
Another observation: I changed the AuthLDAPURL to '"ldap:..." STARTTLS', gathering from the wording in the manual that mod_authnz_ldap might only do LDAPS through the Netscape SDK while I'm using OpenLDAP: Support for LDAP over SSL (requires the Netscape SDK) or TLS (requires the OpenLD

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread GKapitany
sorry, you're right. Michael McGlothlin <[EMAIL PROTECTED]

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread Michael McGlothlin
Not true. You just need to be able to read/write the log files. If you have things perm'd right it shouldn't be an issue. The link I provided explains running logrotate without root access. For logrotate, you need root access to setup -- Michael McGlothlin Southwest Plumbing Supply --

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread GKapitany
For logrotate, you need root access to setup Michael McGlothlin <[EMA

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread Michael McGlothlin
Does LogRotate not work? http://kavlon.org/index.php/logrotate Hey Ben, Did you ever come up with an answer to your question below? Thanks, JT Benjamin Adams wrote: Apache 1.3.33 I have: ErrorLog '|/usr/sbin/rotatelogs "/private/var/log/httpd/ sites/domain.com/error_log.%Y%m%d"

[EMAIL PROTECTED] Using secure LDAP authentication

2007-11-14 Thread Malka Cymbalista
We are running Apache/2.2.6 with mod_ssl/2.2.6, OpenSSL/0.9.7a, PHP/5.2.4, mod_perl/2.0.3 and Perl/v5.8.5 on a Red Hat Enterprise Linux AS release 4 machine. We also installed the OpenLDAP SDK and the Novell LDAP SDK (our LDAP server is Novell). We want to use ldap authentication via a re

Re: [EMAIL PROTECTED] active directory authentication

2007-11-14 Thread Tom Hart
Timothy Larrea wrote: Hello, I'm trying to configure apache2 to use active directory authentication so I can restrict access to pages via domain security groups, I.e. user must be member of certain group in order to be able to view page. Hi Tim. What you're looking for is mod_authnz_ldap to auth

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread GKapitany
I would add something like this, in crontab: find /private/var/log/httpd/sites/domain.com -name *_log.* -atime +7 -exec -rm {} \; Regards, Gabriel jtkc

Re: [EMAIL PROTECTED] rotatelogs clean up

2007-11-14 Thread jtkc
Hey Ben, Did you ever come up with an answer to your question below? Thanks, JT Benjamin Adams wrote: > > Apache 1.3.33 > I have: > ErrorLog '|/usr/sbin/rotatelogs "/private/var/log/httpd/ > sites/domain.com/error_log.%Y%m%d" 86400' > CustomLog '|/usr/sbin/rotatelogs "/priv

[EMAIL PROTECTED] weirdness in /tmp

2007-11-14 Thread Grant Peel
Hi all, I have a 400 MB resuorce.pag file, and a resourse.dir directory in my /tmp folder. It appears something is accessing them as I can see the files timestamp updated. Are they truely Apache files? DO I need to keep them? Can I delete them? Any answers will be appreciated. -Grant --

Re: [EMAIL PROTECTED] Send e-mail with PHP and qmail mta in a CHROOT Jail

2007-11-14 Thread Scott Courtney
On Wednesday 14 November 2007 07:48, Sergey Avdushkin wrote: > Last time I checked, it didn`t work in Linux at all. H...Perhaps I was mis-recalling. > > He could use SSMTP (i.e. http://packages.debian.org/stable/mail/ssmtp). > This small app emulates sendmail & acts like a mail proxy -- all

[EMAIL PROTECTED] Apache randomly quits working after Fedora 8 upgrade

2007-11-14 Thread Marc Perkel
Kind of puzzling. The problem started after doing an upgrade to Fedora 8. The web server randomly quits working. This morning it showed 5 httpd processes running. My settings for number of servers is far higher than that. Restarting the httpd service fails with it saying that it copuld not bin

Re: [EMAIL PROTECTED] Segmentation Fault

2007-11-14 Thread Joshua Slive
On Nov 14, 2007 1:33 AM, Axel-Stephane SMORGRAV <[EMAIL PROTECTED]> wrote: > As far as I understand you cannot use PHP with an Apache using > multi-threaded MPM. You can use PHP with threads. But it is not recommended since many libraries that are used by php are less-than thread-safe. So your

Re: [EMAIL PROTECTED] Aliasing a directory, which is already covered by a

2007-11-14 Thread Joshua Slive
On Nov 14, 2007 6:55 AM, Taavi Kuusik <[EMAIL PROTECTED]> wrote: > Hello! > > I'm trying to configure Apache in a way that all requests to /xyz/i/ > (and subdirectories) are pointed to a local directory while all other > requests to /xyz/ are handled by a handler defined in a > directive. > > This

Re: [EMAIL PROTECTED] Send e-mail with PHP and qmail mta in a CHROOT Jail

2007-11-14 Thread Sergey Avdushkin
On Wednesday 14 November 2007 07:18, Carlos Eduardo Maiolino wrote: I need use the mail() function in php. Have you tried setting up mail() so that it uses SMTP over TCP/IP rather than trying to call the sendmail shell command? http://www.php.net/manual/en/ref.mail.php The documentation says

[EMAIL PROTECTED] RE: build 64-bit apache httpd 2.2.X on HP-UX 11w and AIX 5.2

2007-11-14 Thread Ashwani Kumar Sharma
Hi, I tried the options send by Renu but it doesn,t work for the GCC compiler. Still waiting for the right answer. Somebody please tell me the similar option for HP-UX platform for building 64-bit apache. Please reply Thanks and Regards, Ashwani Sharma Mob: 09916454843 Off: +91-80-26265053

RE: [EMAIL PROTECTED] Segmentation Fault

2007-11-14 Thread Emiliano Romero
Thanks Axel, Now I compile apache and php without threads and without worker. Thanks a lot for your answer. Regards -Mensaje original- De: Axel-Stephane SMORGRAV [mailto:[EMAIL PROTECTED] Enviado el: MiƩrcoles, 14 de Noviembre de 2007 03:34 a.m. Para: users@httpd.apache.org Asunto: RE:

Re: [EMAIL PROTECTED] Send e-mail with PHP and qmail mta in a CHROOT Jail

2007-11-14 Thread Scott Courtney
On Wednesday 14 November 2007 07:18, Carlos Eduardo Maiolino wrote: > I need use the mail() function in php. Have you tried setting up mail() so that it uses SMTP over TCP/IP rather than trying to call the sendmail shell command? http://www.php.net/manual/en/ref.mail.php The documentation says t

Re: [EMAIL PROTECTED] Send e-mail with PHP and qmail mta in a CHROOT Jail

2007-11-14 Thread Carlos Eduardo Maiolino
Hello. I need use the mail() function in php. On Nov 13, 2007 9:26 PM, Dan Mahoney, System Admin <[EMAIL PROTECTED]> wrote: > On Tue, 13 Nov 2007, Carlos Eduardo Maiolino wrote: > > What php code, exactly, are you using to send mail. > > Chances are, your MTA called from within the jail is writ

[EMAIL PROTECTED] How to build 64 bit

2007-11-14 Thread Desai Sunil Kumar
Hi All, Has anybody info on how to build Apache2.2.X 64 bit binary on AIX5.2 and HP-UX 11w. Please provide input. Thanks Sunil Desai DISCLAIMER: This message (including attachment if any) is confidential and may be privileged. If you have received this message by mistake pleas

[EMAIL PROTECTED] Aliasing a directory, which is already covered by a

2007-11-14 Thread Taavi Kuusik
Hello! I'm trying to configure Apache in a way that all requests to /xyz/i/ (and subdirectories) are pointed to a local directory while all other requests to /xyz/ are handled by a handler defined in a directive. This so currently my configuration looks something like this: Alias /pls/apex/

[EMAIL PROTECTED] build 64-bit apache httpd 2.2.X on HP-UX 11w and AIX 5.2

2007-11-14 Thread Ashwani Kumar Sharma
Hi All, I want to build 64-bit apache httpd 2.2.x on 1. HP-UX 11w and 2. AIX 5.2 What extra flag I should use for building the 64-bit apache web server on both the platforms? Can somebody give me the build steps for both? Urgently seeking for help. Thanks and Regards, Ashwani Sharma Mob: 0991

RE: [EMAIL PROTECTED] domain.com/~user -> user.domain.com

2007-11-14 Thread Boyle Owen
> -Original Message- > From: Chris Arnold [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 13, 2007 7:16 PM > To: users@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] domain.com/~user -> user.domain.com > > > I have a vhost like this also (does not work): You should fix you VH con