Re: [EMAIL PROTECTED] Apache hangs on startup without error messages - doesn't spawn children

2005-07-27 Thread Patrick Fitzsimmons
> > - DNS: is it working? If apache needs it to resolve IPs (eg, if you have VH > tags containing a domain instead of an IP) and it isn't working, apache can > get stuck. > Yes, DNS is working fine. > - Hanging forever is sometimes due to an errant firewall - it silently drops > the packet rat

RE: [EMAIL PROTECTED] Why does each Apache child process consume 5 MB of RAM?

2005-07-27 Thread Boyle Owen
> -Original Message- > From: dtufs [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 27. Juli 2005 16:01 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Why does each Apache child process consume 5 MB > of RAM? > > > Hello, > We are running Apache 1.3.33, PHP 4.3 and MySQL 4.1 > and n

Re: [EMAIL PROTECTED] Regular Expression Question

2005-07-27 Thread Chase
You could always create an errordocument CGI that returns a LOCATION header that sends them to foo.net :) actually, that was one of the first things i tried, but i couldn't get it working. let me make sure that i understand you: do you mean to create a 404 page that does the redirection?

Re: [EMAIL PROTECTED] [RESOLVED] Regular Expression Question

2005-07-27 Thread Dan Mahoney, System Admin
On Thu, 28 Jul 2005, Chase wrote: You could always create an errordocument CGI that returns a LOCATION header that sends them to foo.net :) -Dan got it working. here's what i did: in /.htaccess, i've got: RewriteEngine on RewriteRule ^(.*)$ http://www.foo.com/$1 [R=301,L] and in

RE: [EMAIL PROTECTED] Sometimes getting 'Premature end of script...'

2005-07-27 Thread Boyle Owen
> -Original Message- > From: Lll Gabor [mailto:[EMAIL PROTECTED] > Sent: Mittwoch, 27. Juli 2005 23:11 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Sometimes getting 'Premature end of script...' > > > Can someone help me to solve this? > > Usually when I browse my php sc

Re: [EMAIL PROTECTED] [RESOLVED] Regular Expression Question

2005-07-27 Thread Chase
got it working. here's what i did: in /.htaccess, i've got: RewriteEngine on RewriteRule ^(.*)$ http://www.foo.com/$1 [R=301,L] and in /cgi-bin/.htaccess, i've got: RewriteEngine off it's not perfect. for instance, if someone requests http:// www.foo.net/cgi-bin/something_el

RE: [EMAIL PROTECTED] Too many open files ...

2005-07-27 Thread Boyle Owen
> -Original Message- > From: Oliver Kirchel [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 28. Juli 2005 07:57 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Too many open files ... > > > Hello, > I get this error in my error logfile: > > "(24)Too many open files: couldn't spa

RE: [EMAIL PROTECTED] Apache hangs on startup without error messages - doesn't spawn children

2005-07-27 Thread Boyle Owen
> -Original Message- > From: Patrick Fitzsimmons [mailto:[EMAIL PROTECTED] > Sent: Donnerstag, 28. Juli 2005 06:32 > To: users@httpd.apache.org > Subject: [EMAIL PROTECTED] Apache hangs on startup without error > messages - > doesn't spawn children > > > Here's a doozy of a problem has m

Re: [EMAIL PROTECTED] Regular Expression Question

2005-07-27 Thread Chase
how about this... foo.net looks like: / /.htaccess /cgi-bin/ /cgi-bin/mycgiscript what if i put the regular 301 in the root folder's .htaccess: Redirect 301 / http://www.foo.com/ ... and then override it or turn it off somehow in an .htaccess file in /cgi-bin/ is there

[EMAIL PROTECTED] Too many open files ...

2005-07-27 Thread Oliver Kirchel
Hello, I get this error in my error logfile: "(24)Too many open files: couldn't spawn child process: /usr/local/httpd/epaper/cgi-bin/eZeitung" The user who is trying to access this site is getting this error: "The server encountered an internal error or misconfiguration and was unable to compl

RE: [EMAIL PROTECTED] Rewrite / reverse proxy question

2005-07-27 Thread Gary W. Smith
We've been running the section of code below for some while to proxy to an exchange server behind the wall.  The problem recently has been SSL.  For a variety of reasons we have SSL and non SSL connections.  After implementing the SSL cert on the servers we ran into a problem with the ret

[EMAIL PROTECTED] Apache hangs on startup without error messages - doesn't spawn children

2005-07-27 Thread Patrick Fitzsimmons
Here's a doozy of a problem has made me bleary eyed with lack of sleep. I can deal with errors, but not when there are no error messages. Hopefully someone out there has experienced something like this problem before. I have been running an Apache 2 server for several months on a Linux Fedora Cor

Re: [EMAIL PROTECTED] Problem with Redirect

2005-07-27 Thread Sean Conner
It was thus said that the Great Michael D. Berger once stated: > > DNS has cnames www.mysite.net and test.mysite.net And I assume they point to a record with an IP address of 192.168.1.10? > Linksys routes port 80 to 192.168.1.10 > > On 192.168.1.10, running RH-E-WS-3: >(I will soon insta

Re: [EMAIL PROTECTED] Regular Expression Question

2005-07-27 Thread Chase
hmm... well those two expressions aren't doing what i'm wanting, but that my be because i'm going about it wrong. let me explain what i'm trying to do: i've got a primary domain used for my website: foo.com then there is another domain which has no other files on it except a single c

[EMAIL PROTECTED] Problem with Redirect

2005-07-27 Thread Michael D. Berger
I have not been able to get Redirect to work. Particulars are below. Advice would be much appreciated. Thanks, Mike. -- Michael D. Berger [EMAIL PROTECTED] -- DNS has cnames www.mysite.net and test.mysite.net Linksys routes port 80 to 192.168.1.10 On 192.168.1.10, running RH-E-WS-3: (I w

FW: [EMAIL PROTECTED] Regular Expression Question

2005-07-27 Thread Wagner, Aaron
[^/cgi-bin/mycgiscript$] Thanx Aaron N Wagner Monitoring Systems and Network Tools CCO-Command Center Operations 804.515.6298 > -Original Message- > From: Wagner, Aaron [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 27, 2005 9:37 PM > To: users@httpd.apache.org > Subject: RE: [EMAI

RE: [EMAIL PROTECTED] Regular Expression Question

2005-07-27 Thread Wagner, Aaron
(^(/cgi-bin/mycgiscript$)) Thanx Aaron N Wagner Monitoring Systems and Network Tools CCO-Command Center Operations 804.515.6298 > -Original Message- > From: Chase [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 27, 2005 8:59 PM > To: users@httpd.apache.org > Subject: [EMAIL PROTECT

[EMAIL PROTECTED] mod_proxy_html Segmentation fault problem with Apache 2.1.6 on FreeBSD 4.9

2005-07-27 Thread R Mills
I am running Apache 2.1.6 on FreeBSD 4.9. It is running on port 8080 because another version of Apache is running on port 80. I set up my reverse proxy generally following the instructions in http://www.apacheweek.com/features/reverseproxies. I will be using this reverse proxy to pass requests

[EMAIL PROTECTED] Regular Expression Question

2005-07-27 Thread Chase
what is the opposite/complement of: /cgi-bin/mycgiscript$ as it is, this matches just this one file on my webserver. what i want is for it to match... NOT that file. (to use a zoolanderism. :) - Chase - The officia

[EMAIL PROTECTED] proxy_ftp base href breaks authorization

2005-07-27 Thread Jon Snow
Hi, I run a forward proxy using mod_ftp_proxy through a forward proxy heirarchy. The proxy in question is the last in the chain and communicates with the Internet. Mod_proxy_ftp will successfully return a directory listing after authentication to an FTP site using a user:password combination i

Re: [EMAIL PROTECTED] Why does each Apache child process consume 5 MB of RAM?

2005-07-27 Thread Jon Snow
You might also want to look at how many modules you are loading into the process and remove the ones you do not require. On Thursday 28 July 2005 00:00, dtufs wrote: > Hello, > We are running Apache 1.3.33, PHP 4.3 and MySQL 4.1 > and noticed that each Apache child process takes 5 MB > of RAM as

[EMAIL PROTECTED] Sometimes getting 'Premature end of script...'

2005-07-27 Thread Lllllll Gabor
Can someone help me to solve this? Usually when I browse my php scripts they are fine. But sometimes I get an 500 (internal server) error because of 'Premature end of script headers: php.exe'. I read the faq but found only a few things about this. How can I make it to work always? I use these:

Re: [EMAIL PROTECTED] Custom 404 ErrorDocument Logs a 200

2005-07-27 Thread David P. Donahue
You definitely sent me in the right direction for finding the answer. It looks like adding the following to my Page_Load function (this is using c# with Mono, I've actually never used php) does the trick: Response.StatusCode = 404; Response.StatusDescription = "Not Found"; Though the respo

[EMAIL PROTECTED] MPM type

2005-07-27 Thread Lyndon Tiu
Hello, How do I tell what MPM type (prefork, perchild, worker, leader or threadpool) an apache is using? Thanks for any tips. -- Lyndon Tiu - The official User-To-User support forum of the Apache HTTP Server Project. See http:

Re: [EMAIL PROTECTED] Custom 404 ErrorDocument Logs a 200

2005-07-27 Thread Kevin O'Neil
From: "David P. Donahue" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 27, 2005 10:44 AM Subject: [EMAIL PROTECTED] Custom 404 ErrorDocument Logs a 200 Is there a way to make it log as a 404? I only ask because I have a reporting engine looking through my logs and it's registering far fewer 4

Re: [EMAIL PROTECTED] Why does each Apache child process consume 5 MB of RAM?

2005-07-27 Thread Jon Snow
dtufs, You haven't specified any details about your OS or config. I assume *NIX and MPM prefork - have you stripped the binary? Jon On Thursday 28 July 2005 00:00, dtufs wrote: > Hello, > We are running Apache 1.3.33, PHP 4.3 and MySQL 4.1 > and noticed that each Apache child process takes 5

Re: [EMAIL PROTECTED] Transfer Speed Limits

2005-07-27 Thread Marian Marinov
mod_bandwith На 27.7.2005 15:28 Eimantas Vaičiūnas написа: > On Wednesday 27 July 2005 15:26, Johan M wrote: > > Hello, > > > > How do I set transfer speed limits for virtualhosts, I've seen a few > > sites that have set transfer speed limits (ex. so that users can only > > download at say 20kB/s)

[EMAIL PROTECTED] possible to use mod_auth_pgsql and mod_auth_mysql in same server implementation?

2005-07-27 Thread Duane Winner
Hello, Has anybody ever had any success in using mod_auth_pgsql and mod_auth_mysql within the same Apache 2 server implementation? I have two virtual servers running applications: On app requires authentication to a Postgresql databases. The other virtual server's app authenticates via Mysql

[EMAIL PROTECTED] Custom 404 ErrorDocument Logs a 200

2005-07-27 Thread David P. Donahue
(Using Apache 1.3.33) I have my httpd.conf file specify custom error pages for 404 errors (and some other errors, but that's not important). I'm noticing in my logs, however, that when a user goes to a non-existant page and the server returns the custom 404 page, it's logged as a 200 instead

[EMAIL PROTECTED] Why does each Apache child process consume 5 MB of RAM?

2005-07-27 Thread dtufs
Hello, We are running Apache 1.3.33, PHP 4.3 and MySQL 4.1 and noticed that each Apache child process takes 5 MB of RAM as soon as it is started (i.e. 5 MB per connection). Why is that? What can we do to reduce that to 1 MB or less. Thanks in advance. _

Re: [EMAIL PROTECTED] Transfer Speed Limits

2005-07-27 Thread Eimantas Vaičiūnas
On Wednesday 27 July 2005 15:26, Johan M wrote: > Hello, > > How do I set transfer speed limits for virtualhosts, I've seen a few > sites that have set transfer speed limits (ex. so that users can only > download at say 20kB/s), but I can't remember how they did it. mod_throttle -- Su pagarba, Eim

[EMAIL PROTECTED] Transfer Speed Limits

2005-07-27 Thread Johan M
Hello, How do I set transfer speed limits for virtualhosts, I've seen a few sites that have set transfer speed limits (ex. so that users can only download at say 20kB/s), but I can't remember how they did it. Cheers, Johan ---

Re: [EMAIL PROTECTED] How to Log Startup errors? Logfile gets created after startup only.

2005-07-27 Thread Eimantas Vaičiūnas
No HTML please. You should find the answer in apache modules' developers' mailing-list -- Su pagarba, Eimantas Vaičiūnas VU Skaičiavimo centras Tel.: +370 5 2366209 Mob.: +370 680 91505 Fax.: +370 5 2366204 http://www.tinklas.vu.lt

RE: [EMAIL PROTECTED] HTTPS Rewrite Question?

2005-07-27 Thread Axel-Stéphane SMORGRAV
I do not think this problem warrants the use of rewrite. Listen www.mysecureserver.com:443 Listen www.mydomian.com:443 ServerName www.mysecureserver.com:443 SSLEngine On SSLProxyEngine On SSLCertificatePath /path/to/mysecureserver ... ServerName www.mydomian.com:443 SS

RE: [EMAIL PROTECTED] Issues with proxying and subfolders

2005-07-27 Thread Axel-Stéphane SMORGRAV
I am not sure I understood everything.   From what I understand you have two virtual hosts on the same physical computer, and the two virtual hosts share the same IP address. That must mean that you are using named virtual hosts.   Where are your Listen and NameVirtualHost directives?   -as