RE: [us...@httpd] ProxyPass and Internal URLs

2009-05-07 Thread Gund Wehsling
Hi Thanks for the quick response. It sounds like your ProxyPassReverse failed to do the right thing, and a redirect leaked out. I assume for most users, "internaladdress1.com" in the browser would be game over. Yes, internaladdress1.com is not routable or resolvable unless you are on the LAN

Re: [us...@httpd] accessing files on another hard drive possible?

2009-05-07 Thread André Warnier
Jonathan Zuckerman wrote: On Thu, May 7, 2009 at 2:05 PM, Kevin law wrote: I have 3 hard drives hooked up. they are labeled c,e, and d. i have an index.html page setup in my documentroot folder. So i can manage links to folders and files in an organized way. i have tried making a link to e:\f

Re: [us...@httpd] accessing files on another hard drive possible?

2009-05-07 Thread Jonathan Zuckerman
On Thu, May 7, 2009 at 2:05 PM, Kevin law wrote: > I have 3 hard drives hooked up. they are labeled c,e, and d. > > i have an index.html page setup in my documentroot folder. So i can manage > links to folders and files in an organized way. > > i have tried making a link to e:\files\ > but it just

Re: [us...@httpd] accessing files on another hard drive possible?

2009-05-07 Thread André Warnier
Kevin law wrote: I have 3 hard drives hooked up. they are labeled c,e, and d. i have an index.html page setup in my documentroot folder. So i can manage links to folders and files in an organized way. i have tried making a link to e:\files\ but it just tells me that its forbidden is it possibl

[us...@httpd] LDAPS Apache 2.2

2009-05-07 Thread Robert Gonzales
Server Details Windows server 2003 Apache 2.2 .10 Client certificate installed using certificate services server. I exported the certificate and copied to c:\ldap\ldap.cer I reference the certificate in the httpd.conf file below. Objective for Intranet site Authenticat

[us...@httpd] accessing files on another hard drive possible?

2009-05-07 Thread Kevin law
I have 3 hard drives hooked up. they are labeled c,e, and d. i have an index.html page setup in my documentroot folder. So i can manage links to folders and files in an organized way. i have tried making a link to e:\files\ but it just tells me that its forbidden is it possible to access folders

Re: [us...@httpd] VirtualHost hostname1.com:0 overlaps with VirtualHost hostname2.com:0

2009-05-07 Thread Eric Covener
On Thu, May 7, 2009 at 4:05 PM, André Warnier wrote: > Eric Covener wrote: >> >> On Thu, May 7, 2009 at 12:29 PM, Noah wrote: >>> >>> Hi there, >>> >>> I've googled this issue and still not able to Make sense of a cure. Also >>> the >>> error message does explain what is happening but nothing jum

Re: [us...@httpd] VirtualHost hostname1.com:0 overlaps with VirtualHost hostname2.com:0

2009-05-07 Thread André Warnier
Eric Covener wrote: On Thu, May 7, 2009 at 12:29 PM, Noah wrote: Hi there, I've googled this issue and still not able to Make sense of a cure. Also the error message does explain what is happening but nothing jumps out as to how to fix the problem. "VirtualHost hostname1.com:0 overlaps with V

RE: [us...@httpd] Apache recycle

2009-05-07 Thread Richard Schoenig
I am referring to when Apache reaches max connections and should start a new child process. -Original Message- From: André Warnier [mailto:a...@ice-sa.com] Sent: Thursday, May 07, 2009 2:53 PM To: users@httpd.apache.org Subject: Re: [us...@httpd] Apache recycle Richard Schoenig wrote:

Re: [us...@httpd] A couple of questions about mod_authz_ldap

2009-05-07 Thread Tom Evans
On Wed, 2009-05-06 at 00:21 -0400, Edward Ned Harvey wrote: > I have mod_authnz_ldap_module loaded and working properly. Users can > login and navigate to pages where they are granted "Require User" but > when the user navigates to a page where they have no access, it > prompts them again to login

Re: [us...@httpd] Apache recycle

2009-05-07 Thread André Warnier
Richard Schoenig wrote: We are having issues with Apache 2.059 on windows when it recycles. I have been hanging around for a while here, but I've never heard of the word "recycle" in connection with Apache. Would you mind to explain ? --

[us...@httpd] Setting a proxy timeout on a RewriteRule

2009-05-07 Thread Tim Hanson
If I have a rewrite rule that proxies to a backend app server, is there a way to set the proxy timeout for that rule and that rule only? If I set ProxyTimeout, that will affect all proxy definitions, which is not what I want. I also looked at using ProxyPassMatch, which would allow me to set a sp

Re: [us...@httpd] apache tuning

2009-05-07 Thread Eric Covener
On Thu, May 7, 2009 at 1:18 PM, inas inassen wrote: > > Hi all, > > is there any way to tune apache parameters for prefork or worker modules? > > >  StartServers 5 >  MinSpareServers 5 >  MaxSpareServers 10 >  MaxClients 150 >  MaxRequestsPerChild 0 > > > >  StartServers 2 >  MaxClients 150 >  

Re: [us...@httpd] VirtualHost hostname1.com:0 overlaps with VirtualHost hostname2.com:0

2009-05-07 Thread Eric Covener
On Thu, May 7, 2009 at 12:29 PM, Noah wrote: > Hi there, > > I've googled this issue and still not able to Make sense of a cure. Also the > error message does explain what is happening but nothing jumps out as to how > to fix the problem. > > "VirtualHost hostname1.com:0 overlaps with VirtualHost

Re: [us...@httpd] mixing * ports and non-* ports with a NameVirtualHost address is not supported

2009-05-07 Thread Eric Covener
On Thu, May 7, 2009 at 12:27 PM, Noah wrote: > > > Hi there, > > I am getting the following error message.  Here is a truncated version. >  I've googled about 10 sites and still cant figure out the cure. > Also the error message does not mean anything to me. > > "mixing * ports and non-* ports wit

Re: [us...@httpd] VirtualHost hostname1.com:0 overlaps with VirtualHost hostname2.com:0

2009-05-07 Thread Frank Gingras
Noah, Perhaps you could attach the output to this thread and we can explain it to you then. Frank. Noah wrote: ugh - this is confusing. Is there a sample out there of what needs to go where for an apache2 ubuntu installation. Cheers, Noah Frank Gingras wrote: Noah, Start by looki

Re: [us...@httpd] VirtualHost hostname1.com:0 overlaps with VirtualHost hostname2.com:0

2009-05-07 Thread Noah
ugh - this is confusing. Is there a sample out there of what needs to go where for an apache2 ubuntu installation. Cheers, Noah Frank Gingras wrote: Noah, Start by looking at the output from apache2ctl -S, and make sure all your vhosts either use *:80 or *:443. Of course, your NameV

[us...@httpd] apache tuning

2009-05-07 Thread inas inassen
Hi all, is there any way to tune apache parameters for prefork or worker modules? StartServers 5 MinSpareServers 5 MaxSpareServers 10 MaxClients 150 MaxRequestsPerChild 0 StartServers 2 MaxClients 150 MinSpareThreads 25 MaxSpareThreads 75 ThreadsPerChild 25

Re: [us...@httpd] VirtualHost hostname1.com:0 overlaps with VirtualHost hostname2.com:0

2009-05-07 Thread Frank Gingras
Noah, Start by looking at the output from apache2ctl -S, and make sure all your vhosts either use *:80 or *:443. Of course, your NameVirtualHost must match that value. Frank. Noah wrote: Hi there, I've googled this issue and still not able to Make sense of a cure. Also the error message d

[us...@httpd] VirtualHost hostname1.com:0 overlaps with VirtualHost hostname2.com:0

2009-05-07 Thread Noah
Hi there, I've googled this issue and still not able to Make sense of a cure. Also the error message does explain what is happening but nothing jumps out as to how to fix the problem. "VirtualHost hostname1.com:0 overlaps with VirtualHost hostname2.com:0, the first has precedence, perhaps yo

[us...@httpd] mixing * ports and non-* ports with a NameVirtualHost address is not supported

2009-05-07 Thread Noah
Hi there, I am getting the following error message. Here is a truncated version. I've googled about 10 sites and still cant figure out the cure. Also the error message does not mean anything to me. "mixing * ports and non-* ports with a NameVirtualHost address is not supported" Cheers, Noah

[us...@httpd] Apache recycle

2009-05-07 Thread Richard Schoenig
We are having issues with Apache 2.059 on windows when it recycles. Occasionally the error.log will lock and not be accessible to the system at all anymore. The other issue we are having is with the recycling itself. It just stops and the web server will no longer recycle when it reaches max re

Re: [us...@httpd] ProxyPass and Internal URLs

2009-05-07 Thread John Oliver
On Thu, May 07, 2009 at 12:02:40PM -0400, Eric Covener wrote: > On Wed, May 6, 2009 at 11:31 PM, Gund Wehsling wrote: > > 4. But, for some reason, if I open https://publicaddress1.com, I get 404 and > > the browser address bar shows http://internaladdress1.com and all the > > relevant link work fi

Re: [us...@httpd] ProxyPass and Internal URLs

2009-05-07 Thread Eric Covener
On Wed, May 6, 2009 at 11:31 PM, Gund Wehsling wrote: > 4. But, for some reason, if I open https://publicaddress1.com, I get 404 and > the browser address bar shows http://internaladdress1.com and all the > relevant link work fine, the site functions well and as exzpected. I tried > to rewrite wit

Re: [us...@httpd] running Apache on a 10Mbps Comcast upload account but can download at 160kbps only

2009-05-07 Thread John Hudak
I have Comcast. Comcast download speed is higher than the upload speed wrt a workstation. From your server's perspective the speed nomenclature is reversed. The speed that a client connected to your server sees is the 'upload' speed. I have not measured my speeds in quite a while. IIRC, the quo

Re: [us...@httpd] dynamic/mass virtual hosts with www.* alias and localhost...

2009-05-07 Thread wayne
On Thu, 2009-05-07 at 10:19 -0400, Eric Covener wrote: > On Thu, May 7, 2009 at 10:08 AM, wayne wrote: > > ahoy, > > > > this is the first problem: unless i create a link with > > > "www.example1.org" to the "example1.org" directory of sites, apache will > > only server requests to example1.o

Re: [us...@httpd] dynamic/mass virtual hosts with www.* alias and localhost...

2009-05-07 Thread Eric Covener
On Thu, May 7, 2009 at 10:08 AM, wayne wrote: > ahoy, > >     this is the first problem: unless i create a link with > "www.example1.org" to the "example1.org" directory of sites, apache will > only server requests to example1.org, not www.example1.org .  thus, i am > trying to setup some directi

Re: [us...@httpd] dynamic/mass virtual hosts with www.* alias and localhost...

2009-05-07 Thread wayne
ahoy, first, thanks for the reply. i apologize for the confusion of my question. i will try to clarify and address the issues in-line and below. what i am trying to do is use apache's dynamic/mass virtual host in the following manner: to add a host, i would like to simply: 1. create a

RE: [us...@httpd] ssl on apache

2009-05-07 Thread Julien Gerhards
Hi Maybe try : - put myhost in your /etc/hosts - Servername myhost in your conf -Message d'origine- De : Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk] Envoyé : jeudi 7 mai 2009 14:50 À : users@httpd.apache.org Objet : Re: [us...@httpd] ssl on apache Hi, Just not to take the risk,

Re: [us...@httpd] ssl on apache

2009-05-07 Thread Melanie Pfefer
Hi, Just not to take the risk, what are the missing steps then? Should I export the tomcat certification and then issue c_rehash? Is there a need to redo this if I just want to renew the certificate on apache and not tomcat? Just an aside question: [warn] RSA server certificate CommonName (CN

Re: [us...@httpd] ssl on apache

2009-05-07 Thread Krist van Besien
On Thu, May 7, 2009 at 2:31 PM, Melanie Pfefer wrote: > > Hi Krist, > > I am proxying (I think): > > RewriteRule ^/(abc.*) https://tomcat:port/$1 [P,L] > > Yes it is ssl to ssl Odd then that it works after you removed the tomcat server's certificate from the apache server. Apache needs to be able

[us...@httpd] running Apache on a 10Mbps Comcast upload account but can download at 160kbps only

2009-05-07 Thread liketo findoutwhy
I was running Apache 2.2 on a residential user account. If I try speedtest.net, my uplink is about 10Mbps. But if I set up Apache and then try downloading from my other ISP (AT&T DSL), I only can download at about 20 kByte / s... which is about 160 kbps. Is there something I should set for Apac

Re: [us...@httpd] ssl on apache

2009-05-07 Thread Melanie Pfefer
Hi Krist, I am proxying (I think): RewriteRule ^/(abc.*) https://tomcat:port/$1 [P,L] Yes it is ssl to ssl thanks --- On Thu, 7/5/09, Krist van Besien wrote: > From: Krist van Besien > Subject: Re: [us...@httpd] ssl on apache > To: users@httpd.apache.org > Date: Thursday, 7 May, 2009, 3:14

Re: [us...@httpd] ssl on apache

2009-05-07 Thread Krist van Besien
On Thu, May 7, 2009 at 2:04 PM, Melanie Pfefer wrote: > > Hi > > Things went OK now. > I can access apache on the secure port and using a real certificate. > > Now, I want to redirect to tomcat that is also on ssl. Tomcat has a > self-signed and expired certificate. > > The redirection went OK wi

Re: [us...@httpd] ssl on apache

2009-05-07 Thread Melanie Pfefer
Hi Things went OK now. I can access apache on the secure port and using a real certificate. Now, I want to redirect to tomcat that is also on ssl. Tomcat has a self-signed and expired certificate. The redirection went OK without certificate warning. Now my question is: What’s the point of ex

Re: [us...@httpd] apache windows ssl service

2009-05-07 Thread Eric Covener
On Thu, May 7, 2009 at 6:43 AM, cpanon wrote: > Hello > Is/what possible to start apache as a windows service and force the IfDefine > to work to load modssl?  I have tried all permutations of ...httpd.exe" -k > runservice -D SSL and it fails. You probably need to register the service itself with

Re: [us...@httpd] ssl on apache

2009-05-07 Thread Krist van Besien
On Thu, May 7, 2009 at 11:23 AM, Melanie Pfefer wrote: > > Hi. > > I am getting this error after I received the certificate from the root CA: > > [error] Init: Unable to read server certificate from file > /usr/local/apache/conf/ssl/server.crt > [error] SSL Library Error: 218529960 error:0D0680A8

Re: [us...@httpd] Newbie. Apache doesnt start ok

2009-05-07 Thread tirengarfio
> You will find 2 logfiles there : an "access log" and an "error log". > The access log contains 1 line for each request that a browser makes to > the server. The error log starts with a line each time you restart > Apache, and after that it usually only shows when an error occurred. I look in

[us...@httpd] apache windows ssl service

2009-05-07 Thread cpanon
Hello Is/what possible to start apache as a windows service and force the IfDefine to work to load modssl?  I have tried all permutations of ...httpd.exe" -k runservice -D SSL and it fails.  If I rem out the IfDefine it also does not start up.  Any insight appreciated. 

[us...@httpd] Clustering Apache HTTP Servers

2009-05-07 Thread Waggott Dave (OHIS)
Can Apache http server be configured for failover so that the Apache server is not a single point of failure ? We have a windows NLB environment that load balances between 3 Tomcat server instances and for scalability and high availability we would like the following set up Windows NLB between

Re: [us...@httpd] Newbie. Apache doesnt start ok

2009-05-07 Thread André Warnier
Allright, now we can really start helping. tirengarfio wrote: Intel 32 bits + Ubuntu 8.04 LTS Apache 2.2.8 /etc/init.d/apache2 start good http://localhost Where is that browser running ? on the same machine as Apache ? If it is ... Failed to Connect Firefox can't establish a connection

Re: [us...@httpd] ssl on apache

2009-05-07 Thread Davide Bianchi
Melanie Pfefer wrote: > Is it a problem with the certificate or something I should change in > httpd.conf? > > openssl x509 -noout -text -in /usr/local/apache/conf/ssl/server.crt > unable to load certificate > 25764:error:0906D06C:PEM routines:PEM_read_bio:no start > line:pem_lib.c:647:Expecting

Re: [us...@httpd] ssl on apache

2009-05-07 Thread Melanie Pfefer
Hi. I am getting this error after I received the certificate from the root CA: [error] Init: Unable to read server certificate from file /usr/local/apache/conf/ssl/server.crt [error] SSL Library Error: 218529960 error:0D0680A8:asn1 encoding routines:ASN1_CHECK_TLEN:wrong tag [error] SSL Librar

[us...@httpd] Are ssi pages cacheable?

2009-05-07 Thread Thorsten Scherler
Hi all, I have a site that uses ssi to include parts of the content dependent on the url and a file that contains information about the latest news. The state can be seen in http://www.juntadeandalucia.es/BOJA which points to the latest bulletin. As you can see the right hand navigation has highl

Re: [us...@httpd] Newbie. Apache doesnt start ok

2009-05-07 Thread tirengarfio
To get good help, you may want to : - say on what kind of system this is Intel 32 bits + Ubuntu 8.04 LTS - what version of Apache this is 2.2.8 - with what command you are "starting Apache" /etc/init.d/apache2 start - what you enter in the browser as URL http://localhost - what error you s

Re: [us...@httpd] ssl on apache

2009-05-07 Thread Prasanna Ram Venkatachalam
Yes Correct! On Thu, May 7, 2009 at 1:50 PM, Melanie Pfefer wrote: > > Hi > > Let’s start from 0: > > I am following http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html to create > a real certificate. > openssl genrsa -des3 -out server.key 1024 > openssl req -new -key server.key -out server.csr > >

Re: [us...@httpd] ssl on apache

2009-05-07 Thread Melanie Pfefer
Hi Let’s start from 0: I am following http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html to create a real certificate. openssl genrsa -des3 -out server.key 1024 openssl req -new -key server.key -out server.csr now I need to send server.csr to the root CA to sign it. I should expect a certifica

Re: [us...@httpd] ssl on apache

2009-05-07 Thread Davide Bianchi
Melanie Pfefer wrote: > Hi, > > I had an official signature from the root CA. > > Now how to generate the server.key and server.crt? If you have a 'key' that is used to sign the certificate, simply use THAT key to sign the certificate instead of using the key you generated yourself. Otherwise,

[us...@httpd] ssl on apache

2009-05-07 Thread Melanie Pfefer
Hi, I had an official signature from the root CA. Now how to generate the server.key and server.crt? What I did so far is using a self-signed certificate: file.pem was generated by keytool openssl req -new -x509 -key file.pem openssl genrsa -des3 -out server.key 2048 thanks,