Re: [us...@httpd] Shell Script to automatically start Apache with SSL passphrase?

2009-04-27 Thread Jeff Sadowski
On Tue, Apr 28, 2009 at 12:05 AM, Mike Lyon wrote: > So I would be able to create new keys without having to get new certs? > Read the howto on how to change the passphrase on your key. I seem to recall changing the passphrase being possible. I also seem to recall there being a stage with the key

[us...@httpd] How to build apache-2.2.11 with IPv6?

2009-04-27 Thread sathya sai
Hi Apache users, I had tried enabling IPv6 support on apache-2.2.11 for Windows platform by setting APR_HAVE_IPv6 in httpd-2.2.11/srclib/apr/include/apr.hw. But Apache is failing to start & is giving following error message in error.log, "[Tue Apr 28 11:29:53 2009] [crit] (OS 109)The pipe has be

Re: [us...@httpd] Shell Script to automatically start Apache with SSL passphrase?

2009-04-27 Thread Mike Lyon
So I would be able to create new keys without having to get new certs? Thanks, Mike On Mon, Apr 27, 2009 at 10:25 PM, Krist van Besien < krist.vanbes...@gmail.com> wrote: > On Tue, Apr 28, 2009 at 1:16 AM, Mike Lyon wrote: > > It's another link in the security of that certificate... I'd prefer

[us...@httpd] Authenticated sessions being switched by reverse proxy

2009-04-27 Thread Fletcher, Duncan
G'Day. We've got a Subversion server (mod_dav_svn under Apache on Windows Server 2003) set up behind another Apache server configured as a reverse proxy (also on Windows Server 2003). We recently upgraded the reverse-proxy box from Apache httpd 2.0.54 to httpd 2.2.11 and found that when two users

Re: [us...@httpd] Shell Script to automatically start Apache with SSL passphrase?

2009-04-27 Thread Krist van Besien
On Tue, Apr 28, 2009 at 1:16 AM, Mike Lyon wrote: > It's another link in the security of that certificate... I'd prefer to keep > it. It guarantees continuity from the creation of the CSR until you get the > cert back from the CA. The passphrase is on the key, not the certificate. The key should

[us...@httpd] mod_proxy: CSS & JavaScript not loaded

2009-04-27 Thread John Ruffin
Working on a MacBook Pro with Mac OS X 10.5.6, I have an app that runs fine on Tomcat standalone. But when I turn Apache on and proxy it to Tomcat the RichFaces CSS and JavaScript are not loaded. Initially, my specific CSS is loaded but if I click on a link then "all" CSS and JS are lost on subse

Re: [us...@httpd] Shell Script to automatically start Apache with SSL passphrase?

2009-04-27 Thread Jeff Sadowski
On Mon, Apr 27, 2009 at 5:40 PM, Nick Kew wrote: > Doug Bell wrote: > >> Perl's Expect module might be able to help you, if you know Perl, but I >> second the notion to remove the passphrase. You don't need to ask the CA to >> resign the cert if I'm not mistaken. > > Yow!  How history gets rewritt

Re: [us...@httpd] Shell Script to automatically start Apache with SSL passphrase?

2009-04-27 Thread Nick Kew
Doug Bell wrote: Perl's Expect module might be able to help you, if you know Perl, but I second the notion to remove the passphrase. You don't need to ask the CA to resign the cert if I'm not mistaken. Yow! How history gets rewritten! (Expect is a Tcl thing, adopted like so many other good

Re: [us...@httpd] Shell Script to automatically start Apache with SSL passphrase?

2009-04-27 Thread Igor Cicimov
Usually I use expect in the shell script for interactive programs. Look at the example bellow I have wrote for SFTP and try to adopt it for your needs. /usr/bin/expect < " send "cd $DIR \r" expect "sftp> " send "lcd $LOCALDIR \r" expect "sftp> " send "get $file \r" expect "sftp> " send "bye \r" EO

Re: [us...@httpd] Shell Script to automatically start Apache with SSL passphrase?

2009-04-27 Thread Doug Bell
On Apr 27, 2009, at 6:16 PM, Mike Lyon wrote: It's another link in the security of that certificate... I'd prefer to keep it. It guarantees continuity from the creation of the CSR until you get the cert back from the CA. -Mike On Mon, Apr 27, 2009 at 4:12 PM, Igor Cicimov wrote: Recrea

Re: [us...@httpd] Shell Script to automatically start Apache with SSL passphrase?

2009-04-27 Thread Mike Lyon
It's another link in the security of that certificate... I'd prefer to keep it. It guarantees continuity from the creation of the CSR until you get the cert back from the CA. -Mike On Mon, Apr 27, 2009 at 4:12 PM, Igor Cicimov wrote: > Recreate the certificate without passphrase, what do you n

Re: [us...@httpd] Shell Script to automatically start Apache with SSL passphrase?

2009-04-27 Thread Igor Cicimov
Recreate the certificate without passphrase, what do you need it for any way? On Tue, Apr 28, 2009 at 8:50 AM, Mike Lyon wrote: > Hello All, > > There has to be an easy answer to this question. When I restart apache, it > prompts me to enter in the passphrase for the SSL certs. How can I create

[us...@httpd] Shell Script to automatically start Apache with SSL passphrase?

2009-04-27 Thread Mike Lyon
Hello All, There has to be an easy answer to this question. When I restart apache, it prompts me to enter in the passphrase for the SSL certs. How can I create a shell script to automatically enter in the passphrase for me when apache starts up at boot-up? Thank you, Mike

Re: [us...@httpd] cannot load c:/php/php5apache2_2.dll into server

2009-04-27 Thread André Warnier
William A. Rowe, Jr. wrote: Issac Goldstand wrote: Alternatively, download depends.exe from microsoft (google around for a link, but it's free to validated windows users), and from the command prompt, go to c:/path/to/apache2/modules and run depends c:\php5\php5apache2_2.dll and it will show you

Re: [us...@httpd] cannot load c:/php/php5apache2_2.dll into server

2009-04-27 Thread William A. Rowe, Jr.
Issac Goldstand wrote: > > Alternatively, download depends.exe from microsoft (google around for a > link, but it's free to validated windows users), and from the command > prompt, go to c:/path/to/apache2/modules and run depends > c:\php5\php5apache2_2.dll and it will show you EXACTLY what's fail

Re: [us...@httpd] cannot load c:/php/php5apache2_2.dll into server

2009-04-27 Thread Issac Goldstand
Make sure that c:\php is on the system PATH - there are other DLLs that need to be loaded from there, but Apache won't necessarily give you details. Alternatively, download depends.exe from microsoft (google around for a link, but it's free to validated windows users), and from the command p

Re: [us...@httpd] Sorry: Trying to Diagnose 403 Error

2009-04-27 Thread jeff00seattle
Thank you Mr. Gingras! It was the command namei -m that did the trick to helped diagnosis this problem (a command I had did know and now I do). This was after reading the very helpful http://wiki.apache.org/httpd/13PermissionDenied # namei -m /home/dev/sites/project_site.admin.8085/web/admin/in

Re: [us...@httpd] cannot load c:/php/php5apache2_2.dll into server

2009-04-27 Thread André Warnier
Sue Tavidian wrote: When I loaded/installed apache 2.2.11-win32-x86-no-msi, I get the error - "cannot load c:/php/php5apache2_2.dll into server, the specified module could not be found" Does anyone know what next step I should take? Just to make sure, from what URL did you download that Apache

[us...@httpd] cannot load c:/php/php5apache2_2.dll into server

2009-04-27 Thread Sue Tavidian
When I loaded/installed apache 2.2.11-win32-x86-no-msi, I get the error - "cannot load c:/php/php5apache2_2.dll into server, the specified module could not be found" Does anyone know what next step I should take? Thanks.

Re: [us...@httpd] Sorry: Trying to Diagnose 403 Error

2009-04-27 Thread Frank Gingras
Jeff, As the link mentioned, you need to check from /. jeff00seattle wrote: And I had mentioned that I believe I had set the permissions correctly: --- Expected Mode 755 prior and within to DocumentRoot--- # cd # cd .. # chmod 755 -R admin/ # ls -al drwxr-xr-x 5 root root 4096 Apr 27 07:10 adm

Re: [us...@httpd] Sorry: Trying to Diagnose 403 Error

2009-04-27 Thread jeff00seattle
And I had mentioned that I believe I had set the permissions correctly: --- Expected Mode 755 prior and within to DocumentRoot--- # cd # cd .. # chmod 755 -R admin/ # ls -al drwxr-xr-x 5 root root 4096 Apr 27 07:10 admin Jeff in Seattle -- View this message in context: http://www.nabble.com/So

Re: [us...@httpd] Sorry: Trying to Diagnose 403 Error

2009-04-27 Thread Frank Gingras
See http://wiki.apache.org/httpd/13PermissionDenied jeff00seattle wrote: Hi Frank I was just about to put this in: (13) Permission denied: access to / denied Jeff in Seattle - The official User-To-User support forum of

Re: [us...@httpd] Sorry: Trying to Diagnose 403 Error

2009-04-27 Thread jeff00seattle
Hi Frank I was just about to put this in: (13) Permission denied: access to / denied Jeff in Seattle -- View this message in context: http://www.nabble.com/Sorry%3A-Trying-to-Diagnose-403-Error-tp23260116p23260427.html Sent from the Apache HTTP Server - Users mailing list archive at Nabble.co

Re: [us...@httpd] Sorry: Trying to Diagnose 403 Error

2009-04-27 Thread Frank Gingras
Jeff, Look in your error log, and you'll see the error. From there, you can diagnose the problem. Frank jeff00seattle wrote: Sorry I know this is the most common error diagnosis request on this site, but I am stumped. --- Telnet Test Failed --- [r...@]# telnet 0 8085 Trying 0.0.0.0...

[us...@httpd] Sorry: Trying to Diagnose 403 Error

2009-04-27 Thread jeff00seattle
Sorry I know this is the most common error diagnosis request on this site, but I am stumped. --- Telnet Test Failed --- [r...@]# telnet 0 8085 Trying 0.0.0.0... Connected to 0 (0.0.0.0). Escape character is '^]'. HEAD / HTTP/1.0 HTTP/1.1 403 Forbidden Date: Server: Apache/2.2.3 (Red Hat) Co

Re: [us...@httpd] Using _default_ vhosts

2009-04-27 Thread Eric Covener
On Mon, Apr 27, 2009 at 11:24 AM, Matus UHLAR - fantomas wrote: >> On Mon, Apr 27, 2009 at 9:24 AM, Matus UHLAR - fantomas >> wrote: >> > No. match on IP address no other virtual host is >> > bound on (and I think only when no NameVirtualHost is specified). >> > >> > So, when someone configures

Re: [us...@httpd] alias using Virtual host

2009-04-27 Thread André Warnier
Melanie Pfefer wrote: Hi. thanks for the clarification. What do you propose as a solution so that I have an alias that redirects then to a specified port? I thought I already did, below. Look at the config lines I inserted. Doesn't that work ? thank you in advance. --- On Mon, 27/4/09, A

Re: [us...@httpd] Using _default_ vhosts

2009-04-27 Thread Matus UHLAR - fantomas
> On Mon, Apr 27, 2009 at 9:24 AM, Matus UHLAR - fantomas > wrote: > > No. match on IP address no other virtual host is > > bound on (and I think only when no NameVirtualHost is specified). > > > > So, when someone configures in addition to > > the _default_ will never match. On 27.04.09 09:35

Re: [us...@httpd] alias using Virtual host

2009-04-27 Thread Melanie Pfefer
Hi. thanks for the clarification. What do you propose as a solution so that I have an alias that redirects then to a specified port? thank you in advance. --- On Mon, 27/4/09, André Warnier wrote: > From: André Warnier > Subject: Re: [us...@httpd] alias using Virtual host > To: users@httpd.

Re: [us...@httpd] libtool problems on Solaris

2009-04-27 Thread Eric Covener
> /home/ihsan/gar/csw/mgar/pkg/apache2/trunk/work/build-isa-sparcv8/httpd-2.2.11/srclib/apr/configure: > line 9748: syntax error near unexpected token > `lt_if_append_uniq(lt_decl_varnames,' > /home/ihsan/gar/csw/mgar/pkg/apache2/trunk/work/build-isa-sparcv8/httpd-2.2.11/srclib/apr/configure: > lin

[us...@httpd] libtool problems on Solaris

2009-04-27 Thread Ihsan Dogan
Hello, Since a libtool upgrade, the configure scripts fails on Solaris. checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for s

Re: [us...@httpd] alias using Virtual host

2009-04-27 Thread André Warnier
Melanie Pfefer wrote: Hi I have the main apache running on port 80. I built another configuration file to have another apache running on port 8094. I can access both servers: http://host http://host:8094 Now I want to have http://MySecondAlias to redirect to http://host:8094 I added MySecond

Re: [us...@httpd] Using _default_ vhosts

2009-04-27 Thread Eric Covener
On Mon, Apr 27, 2009 at 9:24 AM, Matus UHLAR - fantomas wrote: > No. match on IP address no other virtual host is > bound on (and I think only when no NameVirtualHost is specified). > > So, when someone configures in addition to > the _default_ will never match. You sure this doesn't boil down

Re: [us...@httpd] Using _default_ vhosts

2009-04-27 Thread Matus UHLAR - fantomas
> > jeff00seattle wrote: > >> Reference: http://httpd.apache.org/docs/2.2/vhosts/examples.html#default > >> Using _default_ vhosts > >> > >> What does _default_ actually mean??? On 24.04.09 21:08, Davide Bianchi wrote: > Exactly what it says. The "default" VHost is picked when Apache can't > un

Re: [us...@httpd] Re: Remote Browsing of Other Ports than Port 80

2009-04-27 Thread Brian Mearns
On Fri, Apr 24, 2009 at 11:36 PM, Nicholas Sherlock wrote: > jeff00seattle wrote: >> >> ISSUE: >> Opening a browser on localhost can see all declared vhost (3 different >> ports), but browsing remotely I can only see one vhost (port 80). What I >> am >> I missing? >> >> SETUP: >> I have declared u

[us...@httpd] Apache and mod_proxy to tomcat

2009-04-27 Thread Pagano, Michael
I have this: F5 Load Balancer -> One Apache server(mod_proxy) -> Confluence Wiki (wikiserver) running on tomcat On Apache, I'm using mod_proxy to load balance the wiki. User's go through the load balancer to the Wiki with http://www.example.com/wiki With "ProxyPreserveHost On", the url stays as

RE: [us...@httpd] alias using Virtual host

2009-04-27 Thread Melanie Pfefer
Hi the config now looks like: NameVirtualHost *:80 ServerAlias MySecondAlias ProxyPass / http://localhost:8098/ ProxyPassReverse / http://localhost:8098/ Result: http://MySecondAlias goes to the proper port BUT, http://host is equivalent to http://MySecondAlias (While

RE: [us...@httpd] alias using Virtual host

2009-04-27 Thread Steffen Tronstad
Use "ServerAlias MyServerAlias" in the other VirtualHost directive, instead of another ServeRName. -Opprinnelig melding- Fra: Melanie Pfefer [mailto:melanie_pfe...@yahoo.co.uk] Sendt: 27. april 2009 14:21 Til: users@httpd.apache.org Emne: [us...@httpd] alias using Virtual host Hi I h

[us...@httpd] alias using Virtual host

2009-04-27 Thread Melanie Pfefer
Hi I have the main apache running on port 80. I built another configuration file to have another apache running on port 8094. I can access both servers: http://host http://host:8094 Now I want to have http://MySecondAlias to redirect to http://host:8094 I added MySecondAlias to DNS and I adde