Re: [us...@httpd] apache hanging whole system

2010-05-17 Thread Peter Halicky
Hi Igor, that's not the case, whatever I set the MaxClients to, it will happen, just the degree of system non-responsiveness is higher. Thanks, Peter On 17.05.2010 01:13, Igor Cicimov wrote: Sounds like you r running out of capacity. If the RAM is not an issue increase the MaxClients. Also

Re: [us...@httpd] apache hanging whole system

2010-05-17 Thread Peter Halicky
Hi Morten, this is just what I was looking for! I'll give it a try. Thanks! Peter On 17.05.2010 01:13, Morten Shearman Kirkegaard wrote: Hi Peter, On Sun, 2010-05-16 at 22:42 +0200, Peter Halicky wrote: The problem is this: about once a day, apache processes cause the system load to go

Re: [us...@httpd] apache hanging whole system

2010-05-17 Thread Igor Cicimov
Peter...apart from the one mentioned above there are bunch of tools you can use to monitor and analyze your server like webalizer, awstats etc. From what you have given us above I would expect that PHP is the culprit in this situation ... except if your application has a database back end in which

Re: [us...@httpd] ssl certifikate mismatch

2010-05-17 Thread Eric Covener
On Sun, May 16, 2010 at 3:18 PM, Eric Covener cove...@gmail.com wrote: Listen 10.137.1.104:9901 VirtualHost 10.137.1.104:9901 SSLEngine on SSLCertificateFile /etc/apache2/conf/www.aaa.at.crt SSLCertificateKeyFile /etc/apache2/conf/www.aaa.at.key Include conf/www.aaa.misc /VirtualHost

Re: [us...@httpd] apache hanging whole system

2010-05-17 Thread Peter Halicky
Hi Igor, I use awstats, but that also doesn't show too much (I looked at the actual logs of apache in the period when this problem happened). I also think it's either PHP or MySQL, but there are very many scripts on the server, first I'd like to know which script/file is causing this, then I can

Re: [us...@httpd] Apache strange(?) DNS problem

2010-05-17 Thread Matija Levec
Hi. nscd wasn't running. Didn't try to turn it on though. I guess I'll never find out what was the real reason, as I failed to reproduce the problem on another CentOS 5.4 machine. It could have been a typo (overlooked by two people) in config but I'll rather blame it on sun flares and bad

Re: [us...@httpd] ssl certifikate mismatch

2010-05-17 Thread Reinhard Vicinus
On 17/05/10 13:36, Eric Covener wrote: Can you show in one terminal session the contents of the two certificates (openssl x509 -in ... -text | grep Subject:) and the console output of s_client that includes the subject? According to one of the active SNI folks, your openssl invocation shouldn't

[us...@httpd] Directory index w/ virtual servers

2010-05-17 Thread Joseph L. Casale
On a default CentOS install I setup a virtual server for a repo and added this config which works for all dirs except the root, I get the welcome redirect. Anyone know what I missed? VirtualHost *:80 ServerNamefoo.domain.local DocumentRoot /path/foo Directory /path/foo

[us...@httpd] Redirecting / to non slash

2010-05-17 Thread Nilesh Govindarajan
Hi, For SEO reasons, I'd like to redirect /page/ to /page, how to ? -- Nilesh Govindarajan (निलेश गोविंदराजन) Twitter: nileshgr Facebook: nilesh.gr Website: www.itech7.com - The official User-To-User support forum of the

Re: [us...@httpd] apache hanging whole system

2010-05-17 Thread Jeff Trawick
On Sun, May 16, 2010 at 4:42 PM, Peter Halicky p...@halicky.sk wrote: Hi, I run a LAMP server with a few websites, one of them quite busy. I use Ubuntu 8.04 with apache 2.2.8 and PHP 5.2.4. The problem is this: about once a day, apache processes cause the system load to go very high (today

Re: [us...@httpd] Redirecting / to non slash

2010-05-17 Thread Kevin Castellow
I would take a look at this module: http://httpd.apache.org/docs/2.2/mod/mod_dir.html Depending on how you built your Apache it should be there by default if you used the all option for modules. It should do exactly what you are looking for. Regards, Kevin Castellow

Re: [us...@httpd] Directory index w/ virtual servers

2010-05-17 Thread Kevin Castellow
Check the mod_dir directions. This is an option in that module. I do not see a mapping to the page you want displayed as the default page. In this example it is the index.html page. The DirectoryIndex directive sets the list of resources to look for, when the client requests an index of the

Re: [us...@httpd] apache hanging whole system

2010-05-17 Thread Peter Halicky
Thanks for the info, I was just trying everything to somehow fix the problem, I was suspecting some kind of leak, but it is apparently not the case... Before the problems started (and I started fixing it) it was set to 0, the setting has no effect on the problem. On 17.05.2010 17:19, Jeff Trawick

RE: [us...@httpd] Directory index w/ virtual servers

2010-05-17 Thread Joseph L. Casale
Check the mod_dir directions. Thanks for the reply, I forgot the welcome.conf has: LocationMatch ^/+$ Options -Indexes ErrorDocument 403 /error/noindex.html /LocationMatch My bad... jlc - The official User-To-User

Re: [us...@httpd] Redirecting / to non slash

2010-05-17 Thread Tom Evans
On Mon, May 17, 2010 at 5:31 PM, Kevin Castellow kev.castel...@gmail.com wrote: I would take a look at this module: http://httpd.apache.org/docs/2.2/mod/mod_dir.html Depending on how you built your Apache it should be there by default if you used the all option for modules. It should do

Re: [us...@httpd] Redirecting / to non slash

2010-05-17 Thread Kevin Castellow
Ahh. I didn't read it correctly. What result is desired when /foo is going to be served? Do you want a directory listing, a default page, or is /foo a default page without an extension? Maybe that would help me understand the end goal because a directory still has to have a default page of some

Re: [us...@httpd] apache hanging whole system

2010-05-17 Thread Tom Evans
On Sun, May 16, 2010 at 9:42 PM, Peter Halicky p...@halicky.sk wrote: Hi, I run a LAMP server with a few websites, one of them quite busy. I use Ubuntu 8.04 with apache 2.2.8 and PHP 5.2.4. The problem is this: about once a day, apache processes cause the system load to go very high (today

[us...@httpd] Having problems with a redirect

2010-05-17 Thread Mike Soultanian
Hello, I'm trying to redirect everyone that goes to http://www.csulb.edu/~music over to http://www.csulb.edu/depts/music (no tilde) using the following .htacess file: Options +FollowSymLinks RewriteEngine on RewriteRule ^(.*)$ http://www.csulb.edu/music/$1 [L,NC,R=301] I'm having mild

Re: [us...@httpd] apache hanging whole system

2010-05-17 Thread Peter Halicky
Hi Tom, PHP: The RES size of the apache processes is around 25Mb, which totals to about 2Gb with 80 processes. The VM is configured with 3Gb RAM, so memory should be OK. Mysql: This, I think, is the most likely explanation - mysql locks. To avoid this, I tried to set max_execution_time in mysql

[us...@httpd] SOLVED! - Having problems with a redirect

2010-05-17 Thread Mike Soultanian
Well, I tried the following: Redirect 301 /~music http://www.csulb.edu/music; And it worked. So I guess problem solved! thanks, Mike On 5/17/2010 11:31 AM, Mike Soultanian wrote: Hello, I'm trying to redirect everyone that goes to http://www.csulb.edu/~music over to

[us...@httpd] Authentication and Authorization against different LDAP URLs

2010-05-17 Thread Palle Sejer Larsen
Hi, I am trying to figure out how to configure Apache vhost.ssl to enable LDAP user authentication and LDAP group authorization when these are implemented on two different LDAP URLs. My understanding is that specifying multiple URLs for AuthLDAPURL will not work for something like this - right

Re: [us...@httpd] Authentication and Authorization against different LDAP URLs

2010-05-17 Thread Eric Covener
On Mon, May 17, 2010 at 7:56 PM, Palle Sejer Larsen palle_se...@dk.ibm.com wrote: Hi, I am trying to figure out how to configure Apache vhost.ssl to enable LDAP user authentication and LDAP group authorization when these are implemented on two different LDAP URLs. My understanding is that

[us...@httpd] Re: Redirecting / to non slash

2010-05-17 Thread Nilesh Govindarajan
I am using Zend PHP Framework for my application, so all requests to non-existent files, directories (or links) are sent to /index.php/foo/a/b/c/d... Now what happens is- /index.php/foo and /index.php/foo/ are the same page. Same page with two different urls is considered bad, so how to

RE: [us...@httpd] Struggle with Named Virtual Host - The Second Named Virtual HostAlways Returns 404 File Not Found Error

2010-05-17 Thread Wang, Mary Y
Thanks for the help. I still have the same 404 File Not Found Error after updating the ServerName for both virtual hosts. I also updated the names of the log files and they didn't provide additional hints of what the problem is. Mary -Original Message- From: Tapas Mishra

RE: [us...@httpd] Struggle with Named Virtual Host - The Second Named Virtual HostAlways Returns 404 File Not Found Error

2010-05-17 Thread Wang, Mary Y
I checked. The -x (execute) bit is turned for other, group and owner. Any other ideas? Mary From: Igor Cicimov [mailto:icici...@gmail.com] Sent: Sunday, May 16, 2010 10:16 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Struggle with Named Virtual Host

RE: [us...@httpd] Struggle with Named Virtual Host - The Second Named Virtual HostAlways Returns 404 File Not Found Error

2010-05-17 Thread Smith, Cathy
Mary Did you mention what platform? Cathy --- Cathy L. Smith IT Engineer Pacific Northwest National Laboratory Phone: 509.375.2687 Fax:509.375.2330 Email: cathy.sm...@pnl.gov From: Wang, Mary Y [mailto:mary.y.w...@boeing.com] Sent: Monday, May 17, 2010 8:37 PM To:

RE: [us...@httpd] Struggle with Named Virtual Host - The Second Named Virtual HostAlways Returns 404 File Not Found Error

2010-05-17 Thread Wang, Mary Y
Cathy, It's RHEL 3.9. Mary From: Smith, Cathy [mailto:cathy.sm...@pnl.gov] Sent: Monday, May 17, 2010 8:40 PM To: users@httpd.apache.org; Wang, Mary Y Subject: RE: [us...@httpd] Struggle with Named Virtual Host - The Second Named Virtual HostAlways Returns 404

RE: [us...@httpd] Struggle with Named Virtual Host - The Second Named Virtual HostAlways Returns 404 File Not Found Error

2010-05-17 Thread Smith, Cathy
Mary Did you build Apache from source or get it as a Red Hat rpm? I ran into what sounds like a similar problem. I was running RHEL5 and built Apache 2.2.11 from source. Cathy --- Cathy L. Smith IT Engineer Pacific Northwest National Laboratory Phone: 509.375.2687 Fax:

RE: [us...@httpd] Struggle with Named Virtual Host - The SecondNamed Virtual HostAlways Returns 404 File Not Found Error

2010-05-17 Thread Wang, Mary Y
Cathy, It came with the system (I didn't build it from source). Basically, the main virtual host works, but the second virtual host just returns the 404 File Not Found Error (even when the file exists in that directory and permissions is correct) Mary From:

RE: [us...@httpd] Struggle with Named Virtual Host - The SecondNamed Virtual HostAlways Returns 404 File Not Found Error

2010-05-17 Thread Smith, Cathy
Mary I just re-read the first posting, and should have asked if you are running Apache 2.0 or Apache 2.2. Cathy --- Cathy L. Smith IT Engineer Pacific Northwest National Laboratory Phone: 509.375.2687 Fax:509.375.2330 Email: cathy.sm...@pnl.gov From: Wang, Mary Y

RE: [us...@httpd] Struggle with Named Virtual Host - The SecondNamed Virtual HostAlways Returns 404 File Not Found Error

2010-05-17 Thread Wang, Mary Y
Cathy. I'm running httpd-2.0.46 Mary From: Smith, Cathy [mailto:cathy.sm...@pnl.gov] Sent: Monday, May 17, 2010 9:07 PM To: Wang, Mary Y; users@httpd.apache.org Subject: RE: [us...@httpd] Struggle with Named Virtual Host - The SecondNamed Virtual HostAlways

RE: [us...@httpd] Struggle with Named Virtual Host - The SecondNamed Virtual HostAlways Returns 404 File Not Found Error

2010-05-17 Thread Wang, Mary Y
Could any kind of Directory directive would cause this kind of behavior? Mary From: Wang, Mary Y Sent: Monday, May 17, 2010 9:09 PM To: Smith, Cathy; users@httpd.apache.org Subject: RE: [us...@httpd] Struggle with Named Virtual Host - The SecondNamed Virtual

Re: [us...@httpd] Struggle with Named Virtual Host - The SecondNamed Virtual HostAlways Returns 404 File Not Found Error

2010-05-17 Thread Peter J Milanese
Silly question, did you try reversing the order of the virt containers? - Original Message - From: Smith, Cathy [cathy.sm...@pnl.gov] Sent: 05/17/2010 09:06 PM MST To: Wang, Mary Y mary.y.w...@boeing.com; users@httpd.apache.org users@httpd.apache.org Subject: RE: [us...@httpd] Struggle

RE: [us...@httpd] Struggle with Named Virtual Host - The SecondNamedVirtual HostAlways Returns 404 File Not Found Error

2010-05-17 Thread Wang, Mary Y
Hmm.. It's getting interesting.. I reversed the order of the virtual host containers, and so now download-devbrass2 is the first virtual host and devbrass2 is the second virtual host. To my surprise, download-devbrass is still not working but devbrass2 is still working. I'm not sure if you

Re: [us...@httpd] Struggle with Named Virtual Host - The SecondNamedVirtual HostAlways Returns 404 File Not Found Error

2010-05-17 Thread Igor Cicimov
First, any .htaccess file by some chance that is messing up your config? Second, It looks like the requests for download sub domain are heating the main domain server ... can you confirm that in the access log for debrass2.ana.bna.boeing.com (go to download-devbrass2.ana.bna.boeing.com and tail -f

Re: [us...@httpd] Struggle with Named Virtual Host - The SecondNamedVirtual HostAlways Returns 404 File Not Found Error

2010-05-17 Thread Igor Cicimov
Ah yes first revert to the initial VHost order... On Tue, May 18, 2010 at 3:15 PM, Igor Cicimov icici...@gmail.com wrote: First, any .htaccess file by some chance that is messing up your config? Second, It looks like the requests for download sub domain are heating the main domain server ...

Re: [us...@httpd] Re: Redirecting / to non slash

2010-05-17 Thread Igor Cicimov
Anything wrong with just simple redirect like this? RewriteRule (.*)/foo/$ $1/foo [R=301,L] Igor On Tue, May 18, 2010 at 11:25 AM, Nilesh Govindarajan li...@itech7.comwrote: I am using Zend PHP Framework for my application, so all requests to non-existent files, directories (or links) are

Re: [us...@httpd] Re: Redirecting / to non slash

2010-05-17 Thread Igor Cicimov
Don't forget to switch the rewrite engine on first though: RewriteEngine On RewriteRule (.*)/foo/$ $1/foo [R=301,L] On Tue, May 18, 2010 at 3:45 PM, Igor Cicimov icici...@gmail.com wrote: Anything wrong with just simple redirect like this? RewriteRule (.*)/foo/$ $1/foo [R=301,L] Igor On