[EMAIL PROTECTED] Redirecting public_html?

2006-09-12 Thread Wulf Kaiser
Dear Apacheros, due to political decisions, the User Websites not maintained by our CMS System (e. g., the ordinary public_html pages) should not be reached directly but beeing redirected to a Perl Script which announces some ... you are leaving the official Website stuff. The Perl Script is

Re: [EMAIL PROTECTED] Apache 2.2.3 and MySQL 5.0.24a

2006-09-12 Thread Ben
Haha.. Yes. that is what happened with me - a rebuild and weirdness - the thing works. But I'm not happy. I want to know why it works. I am responsible for a set of production servers, and I don't like the 'randomness' - it's far too much like dark magic. I've been trying to get another

[EMAIL PROTECTED] SSLCACertificatePath option

2006-09-12 Thread Milan Tomic
Have anyone succeeded to run mod_ssl Makefile on Windows platform, to make hash file links? How can I do that? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

[EMAIL PROTECTED] Can I modify the page query string?

2006-09-12 Thread Stephen Brooks
I've got a hosted Apache server without mod_rewrite and am editing an .htaccess file. I want to do something like this: RedirectMatch ^/muon1/banner_(.*)\.jpg$ http://stephenbrooks.org/muon1/banner.php?user=$1 ...so that filenames such as /muon1/banner_me.jpg are served by the script

[EMAIL PROTECTED] Access restriction control

2006-09-12 Thread Pierre . Rust
How can I configure the HTTP server to only allow certain IP addresses to access the site without including _javascript_s in the HTML pages? I am running 2 servers, one for production environment and one for a QA environment, but I want only certain users to access the QA environment.

Re: [EMAIL PROTECTED] Access restriction control

2006-09-12 Thread Joshua Slive
On 9/12/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: How can I configure the HTTP server to only allow certain IP addresses to access the site without including java scripts in the HTML pages? I am running 2 servers, one for production environment and one for a QA environment, but I want only

Re: [EMAIL PROTECTED] Can I modify the page query string?

2006-09-12 Thread Joshua Slive
On 9/12/06, Stephen Brooks [EMAIL PROTECTED] wrote: I've got a hosted Apache server without mod_rewrite and am editing an .htaccess file. I want to do something like this: RedirectMatch ^/muon1/banner_(.*)\.jpg$ http://stephenbrooks.org/muon1/banner.php?user=$1 ...so that filenames such as

Re: [EMAIL PROTECTED] Can I modify the page query string?

2006-09-12 Thread Stephen Brooks
--[Yes, you need mod_rewrite:]-- Thanks. Next step is then persuading my webhost to install it. :) -Stephen - Original Message - From: Joshua Slive [EMAIL PROTECTED] To: users@httpd.apache.org Sent: Tuesday, September 12, 2006 5:02 PM Subject: Re: [EMAIL PROTECTED] Can I modify

[EMAIL PROTECTED] multiple SSL certs on one server behind a NAT router

2006-09-12 Thread milktoast
I have read up on using multiple SSL certs on one server but the thing that no one addresses is how this works on a server behind a router that uses NAT. Example Server 1 has two domains www.foo.com and www.bar.com Both are functional using IP based virtual hosts using 192.168.1.50 The

Re: [EMAIL PROTECTED] multiple SSL certs on one server behind a NAT router

2006-09-12 Thread Serge Dubrouski
If both server share one IP using NameVirtualHost feature then there is no way to have different certificates for them. On 9/12/06, milktoast [EMAIL PROTECTED] wrote: I have read up on using multiple SSL certs on one server but the thing that no one addresses is how this works on a server

Re: [EMAIL PROTECTED] multiple SSL certs on one server behind a NAT router

2006-09-12 Thread milktoast
How should this look? Here the virtual part of my httpd.conf VirtualHost _default_:443 DocumentRoot /home/htdocs/foo ServerName www.foo.com ServerAdmin [EMAIL PROTECTED] ErrorLog /usr/local/apache/logs/error_log TransferLog /usr/local/apache/logs/access_log # Block TRACE/TRACK XSS vector

Re: [EMAIL PROTECTED] multiple SSL certs on one server behind a NAT router

2006-09-12 Thread Serge Dubrouski
If it looks like this then it will work perfect for www.foo.com but won't work for bar com. User will receive an error saying that bar.com uses certificate for foo.com. The rool is easy: one cert per one IP. See http://httpd.apache.org/docs/2.2/ssl/ssl_faq.html On 9/12/06, milktoast [EMAIL

Re: [EMAIL PROTECTED] multiple SSL certs on one server behind a NAT router

2006-09-12 Thread milktoast
I am aware of this... thus my question how should it look to get two certs on one server? If it looks like this then it will work perfect for www.foo.com but won't work for bar com. User will receive an error saying that bar.com uses certificate for foo.com. The rool is easy: one cert per

Re: [EMAIL PROTECTED] multiple SSL certs on one server behind a NAT router

2006-09-12 Thread Serge Dubrouski
On 9/12/06, milktoast [EMAIL PROTECTED] wrote: I am aware of this... thus my question how should it look to get two certs on one server? Look like we do not understand each other. Once more: THERE IS NO WAY TO HAVE 2 CERTIFICATES ON ONE SERVER WITH ONE IP ADDRESS. As I understand your

Re: [EMAIL PROTECTED] multiple SSL certs on one server behind a NAT router

2006-09-12 Thread milktoast
Right, Can I get a second IP address on the router and pass that traffic to a second IP on the server and get it to work? Serge Dubrouski wrote: On 9/12/06, milktoast [EMAIL PROTECTED] wrote: I am aware of this... thus my question how should it look to get two certs on one server?

Re: [EMAIL PROTECTED] multiple SSL certs on one server behind a NAT router

2006-09-12 Thread Serge Dubrouski
That's possible. You have to have 2 VirtualHoosts in your httpd.conf (or ssl.conf, or vhosts.conf whatever you prefer), one per each IP (VirtualHost IP:443). Do not enable NameVirtualHosts for them. Place SSLCertificateFile and SSLCertificateKeyFile directives inside your VirtualHosts. Remove

Re: [EMAIL PROTECTED] multiple SSL certs on one server behind a NAT router

2006-09-12 Thread milktoast
Right on! Thanks. I was hoping not to have to do that ... but I guess I will. Thanks again. Serge Dubrouski wrote: That's possible. You have to have 2 VirtualHoosts in your httpd.conf (or ssl.conf, or vhosts.conf whatever you prefer), one per each IP (VirtualHost IP:443). Do not enable

[EMAIL PROTECTED] Cross-compilation problem with Apache 2.2.3

2006-09-12 Thread Lawrence Stefani
Title: Cross-compilation problem with Apache 2.2.3 Hello, I've researched this problem online but have not found an acceptable solution. When cross-compiling Apache 2.2.3 on Linux, the build fails: ./gen_test_char test_char.h /bin/sh: ./gen_test_char: cannot execute binary file

[EMAIL PROTECTED] Windows max threads

2006-09-12 Thread Alex Turner
All, I have searched the archives etc, but come up blank: I am load testing apache 2.2.3 on windows XP. If I attempt to open 64 or more sockets, it stops serving for a time then recovers. I know this is not that the OS is running out of sockets etc because TAG.net handle 256 sockets

Re: [EMAIL PROTECTED] multiple SSL certs on one server behind a NAT router

2006-09-12 Thread Ricardo Stella
Serge Dubrouski wrote: If it looks like this then it will work perfect for www.foo.com but won't work for bar com. User will receive an error saying that bar.com uses certificate for foo.com. The rool is easy: one cert per one IP. That, or multiple names per certificate, ie multiple names

Re: [EMAIL PROTECTED] Windows max threads

2006-09-12 Thread Joshua Slive
I am load testing apache 2.2.3 on windows XP. If I attempt to open 64 or more sockets, it stops serving for a time then recovers. I know this is not that the OS is running out of sockets etc because TAG.net handle 256 sockets simultaneously without any trouble. You probably need to raise

Re: [EMAIL PROTECTED] SSLSessionCache

2006-09-12 Thread Joshua Slive
On 9/11/06, Matt Bockol [EMAIL PROTECTED] wrote: Hi Folks, I'm running a 2.0.46 server on RedHat Enterprise Linux AS3. It's the stock httpd for that distribution. It sees a lot of SSL connections and the performance has been a little less than I'd expected for a 3GHz Xeon. I'm beginning to

[EMAIL PROTECTED] Mod ssl with Apache 2.2.2

2006-09-12 Thread Roger Harrell
I'm in the process of migrating servers. New server running Apache 2.2.2. It didn't come with mod_ssl.so. What's the current config for getting mod_ssl up and running with Apache 2.2.2. Thanks, Roger - The official User-To-User

Re: [EMAIL PROTECTED] Mod ssl with Apache 2.2.2

2006-09-12 Thread Serge Dubrouski
You didn't say what platform you are on. Did you compile Apache from source? Is it Linux RPM? Is it Solaris package? Is it Windows binary? On 9/12/06, Roger Harrell [EMAIL PROTECTED] wrote: I'm in the process of migrating servers. New server running Apache 2.2.2. It didn't come with mod_ssl.so.

Re: [EMAIL PROTECTED] Mod ssl with Apache 2.2.2

2006-09-12 Thread Nick Kew
On Tuesday 12 September 2006 21:27, Roger Harrell wrote: I'm in the process of migrating servers. New server running Apache 2.2.2. It didn't come with mod_ssl.so. What's the current config for getting mod_ssl up and running with Apache 2.2.2. First, run httpd -M, to see if you've got it

RE: [EMAIL PROTECTED] Mod ssl with Apache 2.2.2

2006-09-12 Thread Roger Harrell
Sorry. Fedora Core 5 with Apache updated by yum Roger You didn't say what platform you are on. Did you compile Apache from source? Is it Linux RPM? Is it Solaris package? Is it Windows binary? I'm in the process of migrating servers. New server running Apache 2.2.2. It didn't come with

RE: [EMAIL PROTECTED] Mod ssl with Apache 2.2.2

2006-09-12 Thread Lawrence Stefani
Hi Roger, I'm cross-compiling Apache 2.2.3 for MIPS under x86 Linux and just added --enable-ssl to my ./configure line to use the built-in mod_ssl. Unfortunately, the build now fails: In file included from ssl_private.h:59, from mod_ssl.c:27:

Re: [EMAIL PROTECTED] Mod ssl with Apache 2.2.2

2006-09-12 Thread Serge Dubrouski
You have that error because you don't have openssl installed on your system. On 9/12/06, Lawrence Stefani [EMAIL PROTECTED] wrote: Hi Roger, I'm cross-compiling Apache 2.2.3 for MIPS under x86 Linux and just added --enable-ssl to my ./configure line to use the built-in mod_ssl. Unfortunately,

Re: [EMAIL PROTECTED] Mod ssl with Apache 2.2.2

2006-09-12 Thread Serge Dubrouski
The you need to install/update mod_ssl rpm a well (mod_ssl-2.2.2-1.2.i386.rpm). Config steps for mod_ssl for 2.2.X are almost the same that for 2.0.XX On 9/12/06, Roger Harrell [EMAIL PROTECTED] wrote: Sorry. Fedora Core 5 with Apache updated by yum Roger You didn't say what platform you

RE: [EMAIL PROTECTED] Mod ssl with Apache 2.2.2 SOLVED

2006-09-12 Thread Roger Harrell
I'm in the process of migrating servers. New server running Apache 2.2.2. It didn't come with mod_ssl.so. What's the current config for getting mod_ssl up and running with Apache 2.2.2. First, run httpd -M, to see if you've got it builtin. If you compile it yourself, run configure --help.

Re: [EMAIL PROTECTED] Mod ssl with Apache 2.2.2 SOLVED

2006-09-12 Thread William A. Rowe, Jr.
Roger Harrell wrote: I'm in the process of migrating servers. New server running Apache 2.2.2. It didn't come with mod_ssl.so. What's the current config for getting mod_ssl up and running with Apache 2.2.2. Otherwise, check your supplier's documentation. Uh, ok yeah. It didn't come