[EMAIL PROTECTED] Ruby with apache

2008-09-03 Thread Valerio Pachera
Hi all, is long that I try to set apache so I can use web pages with ruby embeded (like php). without succes. Did any of you set apache to serve .rhtml pages? I'm working on debian lenny, I installed apache2, mod-cgi, eruby. May you tell me if I need to install anything else and, more than

[EMAIL PROTECTED] Apache and CLOSE_WAIT state

2008-09-03 Thread Arnab Ganguly
Hi All, My Apache module hangs when I do a lsof -i:listening port output gives lots of CLOSE_WAIT. Initially the state comes out as ESTABLISHED but as the CLOSE_WAIT grows my server hangs. What would be procedure in order to prevent this. Apache Webserver version is 2.2.8 with MPM=worker and

RE: [EMAIL PROTECTED] [A2/Load balancing] mod_proxy vs. dedicated box?

2008-09-03 Thread Ben Spencer
Dedicated device = ?? What type of applications are running on server 1 server 2? Sticky sessions being used? Explain a little more of your configuration. You should also be able to get a feeling for the distribution of the requests by using balancer-manager benji Benji Spencer System

Re: [EMAIL PROTECTED] redirect with query string

2008-09-03 Thread Krist van Besien
On Tue, Sep 2, 2008 at 22:39, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi Stephen, I have to rewrite the full URL. If I go to: http://www.domain.com/abc/def/abcd.asp?abc=123def=456ghi=135 I have to be redirected to: http://www.domain.com/xzy/uvw/abc/xyz.asp?cba=000zyx=111 RewriteCond

Re: [EMAIL PROTECTED] How to start Apache automatically with certificate?

2008-09-03 Thread Krist van Besien
On Tue, Sep 2, 2008 at 20:18, Joseph S D Yao [EMAIL PROTECTED] wrote: On Mon, Sep 01, 2008 at 06:34:09AM +0200, Krist van Besien wrote: On Fri, Aug 29, 2008 at 18:43, Joseph S D Yao [EMAIL PROTECTED] wrote: On Fri, Aug 29, 2008 at 08:48:34AM +0200, Krist van Besien wrote: ... You need

[EMAIL PROTECTED] Error when creating certificate in HPUX

2008-09-03 Thread Tan, Liao
Folks, Im trying to find solution for this issue. When running the command below openssl genrsa -des3 -out mydomain.com.key 1024 to create the key pair certificate, it gives me the error: = warning, not much extra random data, consider using the -rand option Generating

Re: [EMAIL PROTECTED] Error when creating certificate in HPUX

2008-09-03 Thread Davide Bianchi
Tan, Liao wrote: to create the key pair certificate, it gives me the error: warning, not much extra random data, consider using the -rand option Generating RSA private key, 1024 bit long modulus 26995:error:24064064:random number generator:SSLEAY_RAND_BYTES:PRNG not

RE: [EMAIL PROTECTED] Error when creating certificate in HPUX

2008-09-03 Thread Tan, Liao
I did read the link, but couldnt figure out wots the solution. how can I solve it? Ingrid -Original Message- From: Davide Bianchi [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 03, 2008 9:58 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Error when creating

Re: [EMAIL PROTECTED] Error when creating certificate in HPUX

2008-09-03 Thread Davide Bianchi
Tan, Liao wrote: I did read the link, but couldnt figure out wots the solution. how can I solve it? Well, the point is that the 'random generator' on your system ain't random enough. So, depending on which system you have you have different options. Now, I'm not familiar with HPUX, so I

Re: [EMAIL PROTECTED] Ruby with apache

2008-09-03 Thread Staf Wagemakers
On Wed, Sep 3, 2008 at 9:40 AM, Valerio Pachera [EMAIL PROTECTED] wrote: Hi all, is long that I try to set apache so I can use web pages with ruby embeded (like php). without succes. Did any of you set apache to serve .rhtml pages? I'm working on debian lenny, I installed apache2, mod-cgi,

Re: [EMAIL PROTECTED] How to install SSL certificate for virtual server?

2008-09-03 Thread Matus UHLAR - fantomas
On Aug 28, 2008, at 8:46 AM, [EMAIL PROTECTED] wrote: VirtualHost 64.211.42.81 On 31.08.08 11:25, Sander Temme wrote: This needs to be a different IP address from the one for www.myserver1.com . You'll also need a Listen statement for it (if you're not listening on all available IPs).

Re: [EMAIL PROTECTED] Error when creating certificate in HPUX

2008-09-03 Thread Staf Wagemakers
On Wed, Sep 3, 2008 at 3:13 PM, Davide Bianchi [EMAIL PROTECTED]wrote: Tan, Liao wrote: I did read the link, but couldnt figure out wots the solution. how can I solve it? Well, the point is that the 'random generator' on your system ain't random enough. So, depending on which system you

RE: [EMAIL PROTECTED] Error when creating certificate in HPUX

2008-09-03 Thread Tan, Liao
txs to those that gave me attention. I was wondering, if in case thereĀ“s nothing to do with the random stuffs in HPUX, and I think the command with parameter -des has something to do with this, will it solve if I generate certificates WITHOUT the -des option? Again, I cannot test it on my own,

Re: [EMAIL PROTECTED] Is there any way that allows user to logout while using basic apache webserver authentication ?

2008-09-03 Thread Justin Pasher
jaweed ali wrote: Thanks for reply Yes i am using the AuthType Basic Apache directive with in Locatgion /directory tage And i am niether setting cookie not using javascripting for user id and password. In Basic Authentication When a request is made to a URI, the web server returns a HTTP

Re: [EMAIL PROTECTED] mod_rewrite question [FIXED]

2008-09-03 Thread Jason Pruim
On Sep 2, 2008, at 8:01 AM, Krist van Besien wrote: On Tue, Sep 2, 2008 at 13:12, Jason Pruim [EMAIL PROTECTED] wrote: Hi Everyone, Thanks for your help on this! I ended up changing my thinking a little bit and ended up doing a subdomain since I found out the server that is going to

Re: [EMAIL PROTECTED] How to start Apache automatically with certificate?

2008-09-03 Thread Joseph S D Yao
On Wed, Sep 03, 2008 at 02:02:16PM +0200, Krist van Besien wrote: On Tue, Sep 2, 2008 at 20:18, Joseph S D Yao [EMAIL PROTECTED] wrote: ... maintaining != starting Since any change to the config requires a restart maintaing a server requires you to be able to start it. ... Fair. For most

Re: [EMAIL PROTECTED] Error when creating certificate in HPUX

2008-09-03 Thread Joseph S D Yao
On Wed, Sep 03, 2008 at 09:52:46AM -0300, Tan, Liao wrote: Folks, Im trying to find solution for this issue. When running the command below openssl genrsa -des3 -out mydomain.com.key 1024 to create the key pair certificate, it gives me the error: = warning, not

Re: [EMAIL PROTECTED] Error when creating certificate in HPUX

2008-09-03 Thread William A. Rowe, Jr.
Joseph S D Yao wrote: Long ago but not far away, when I had to implement this on HP-UX, I found that it had no random device. Not many systems did, then or now. So I got the Entropy Generating Daemon [egd, written in Perl], and it worked fine. Remember to have it start at boot BEFORE

RE: [EMAIL PROTECTED] Why do I need /var/www as DocumentRoot www-data as www owner?

2008-09-03 Thread Greg Platt - Platt Consultants
Your points are all excellent, Justin and very clearly stated too. Frankly, they're almost exactly the same conclusions I came to on my own. I could see no reason why Apache should (or would) give a damn about the location of DocumentRoot or who owns it... ESPECIALLY when they let the user change

Re: [EMAIL PROTECTED] Why do I need /var/www as DocumentRoot www-data as www owner?

2008-09-03 Thread Mark H. Wood
On Tue, Sep 02, 2008 at 04:43:01PM -0400, Eric Covener wrote: On Tue, Sep 2, 2008 at 3:15 PM, Greg Platt - Platt Consultants [EMAIL PROTECTED] wrote: I remember someone mentioning in a post I made weeks ago that the ownerships and permissions on my web directories seemed odd. His remarks

RE: [EMAIL PROTECTED] Why do I need /var/www as DocumentRoot www-data as www owner?

2008-09-03 Thread Greg Platt - Platt Consultants
Your comments are right on here, Lester. I think we become our own enemies when we mindlessly follow the layouts provided by distro authors or hosting providers like a school of lemmings hell bent on destruction. That makes it easy for ANYONE who knows the way our distro providers or server hosts

[EMAIL PROTECTED] problems installing apache module

2008-09-03 Thread Bill Tantzen
I am having major problems with what should be a simple task -- installing a module as a DSO, specifically mod_fastcgi. I have a have a hunch that the problem is not with fastcgi, but instead with something I am doing wrong while installing, and I'm hoping somebody can point me in a better

[EMAIL PROTECTED] Using Oracle and mod_authn_dbd

2008-09-03 Thread Jorge Medina
Hi, I will appreciate any help on building Apache (2.2.8) to be able to use an Oracle database using basic authentication through the module mod_authn_dbd Do I need to build my own APR and APR-util? Can I use the included APR in Apache? If so, how do I tell that I require support for

Re: [EMAIL PROTECTED] Using Oracle and mod_authn_dbd

2008-09-03 Thread Bradley Giesbrecht
Hi, I will appreciate any help on building Apache (2.2.8) to be able to use an Oracle database using basic authentication through the module mod_authn_dbd Do I need to build my own APR and APR-util? Can I use the included APR in Apache? If so, how do I tell that I require support for Oracle?

[EMAIL PROTECTED] Getting back HTTP as-is like plain text sometimes

2008-09-03 Thread Dobes Vandermeer
For some reason I'm not getting any hits on my google searches for this, so I'm trying this mailing list. The issue I'm running into is that sometimes I get back the HTTP response as plain text, instead of the *content* of the HTTP response as the correct content type. Many of my requests are

Re: [EMAIL PROTECTED] How to start Apache automatically with certificate?

2008-09-03 Thread Krist van Besien
On Wed, Sep 3, 2008 at 18:12, Joseph S D Yao [EMAIL PROTECTED] wrote: Doing everything as root is just plain bad security. Plan around it. That is why sudo is so convenient. I never meant that you would need to do everything as root, only that you needed to be able to do things as root. I