RE: [EMAIL PROTECTED] adding SSL - is a distinct virtual host mandatory?

2005-10-04 Thread Axel-Stéphane SMORGRAV
If you are planning on serving both SSL and non-SSL connections, then yes, a separate virtual host is necessary for one of the two. The fact is that the SSLEngine directive is only valid in a server or virtual host context. I do not know the reason for that, but I am sure there is one. The

Re: [EMAIL PROTECTED] apache Read/Write permissions problems ???

2005-10-04 Thread Dmitriy Kirhlarov
On Mon, Oct 03, 2005 at 03:00:37PM +0200, Vincent Blondel wrote: My society needs a package containing apache that must meet next requirements : - all data , software and configuration must be isolated in /opt/apache - the package needs to run on FreeBSD ports(7) about PREFIX -

Re: [EMAIL PROTECTED] adding SSL - is a distinct virtual host mandatory?

2005-10-04 Thread Andrew Clarke
On Tue, 04 Oct 2005 16:07, Axel-Stéphane SMORGRAV wrote: If you are planning on serving both SSL and non-SSL connections, then yes, a separate virtual host is necessary for one of the two. The fact is that the SSLEngine directive is only valid in a server or virtual host context. I do not

RE: [EMAIL PROTECTED] Cluster Question

2005-10-04 Thread Boyle Owen
-Original Message- From: Brian [mailto:[EMAIL PROTECTED] Sent: Montag, 3. Oktober 2005 18:45 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Cluster Question Before I begin, let me make it clear I'm new to apache and open to suggestion/ direction to references. Thanks in

Re: [EMAIL PROTECTED] adding SSL - is a distinct virtual host mandatory?

2005-10-04 Thread William A. Rowe, Jr.
Boyle Owen wrote: Just to clear up some apparent confusion on this thread: I think the point everyone is missing is that an SSL-encrypted website uses a *different protocol* than plain old HTTP. Instead of thinking of SSL as some sort of add-on (like mod_perl) to a normal website, look

Re: [EMAIL PROTECTED] adding SSL - is a distinct virtual host mandatory?

2005-10-04 Thread Andrew Clarke
On Tue, 04 Oct 2005 16:44, Boyle Owen wrote: Just to clear up some apparent confusion on this thread: I think the point everyone is missing is that an SSL-encrypted website uses a *different protocol* than plain old HTTP. Instead of thinking of SSL as some sort of add-on (like mod_perl) to a

RE: [EMAIL PROTECTED] adding SSL - is a distinct virtual host mandatory?

2005-10-04 Thread Boyle Owen
-Original Message- From: William A. Rowe, Jr. [mailto:[EMAIL PROTECTED] Sent: Dienstag, 4. Oktober 2005 08:50 To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] adding SSL - is a distinct virtual host mandatory? Boyle Owen wrote: Just to clear up some apparent

RE: [EMAIL PROTECTED] adding SSL - is a distinct virtual host mandatory?

2005-10-04 Thread Boyle Owen
-Original Message- From: Andrew Clarke [mailto:[EMAIL PROTECTED] As I mentioned on my last reply, I'm hoping that http://myserver and https://myserver both work; the first on :80 and the 2nd on :443. Am I expecting too much? Is this unpossible? This is fine. The use of https in

Re: [EMAIL PROTECTED] adding SSL - is a distinct virtual host mandatory?

2005-10-04 Thread Andrew Clarke
On Tue, 04 Oct 2005 17:06, Boyle Owen wrote: Well, I was trying to clear some confusion without everyone's eyes glazing over. That inevitably means taking shortcuts with the precise details of HTTPS session negotiation. Heh. Computers are tricky things. Sometimes our eyes NEED to glaze over.

Re: [EMAIL PROTECTED] adding SSL - is a distinct virtual host mandatory?

2005-10-04 Thread William A. Rowe, Jr.
Andrew Clarke wrote: You've all been great helps so far. I hope I haven't inspired a flame-war amongst yourselves. The help here is quite speedy and of high quality. Congratulate yourselves, and please, buy yourselves a beer on my behalf. Feel free to buy a draft for Boyle (should he get

[EMAIL PROTECTED] https configuration issue on solaris box

2005-10-04 Thread Aravind J
Hi , I am facing a problem with https configuaration for apache , when i gives https://myhostname.com/abc.cgi i am getting [Wed Sep 28 02:55:13 2005] [error] [client *.*.*.*] Invalid method in request \\x80g\\x01\\x03\\x01 [Wed Sep 28 02:55:36 2005] [error] [client *.*.*.*] Invalid method in

RE: [EMAIL PROTECTED] https configuration issue on solaris box

2005-10-04 Thread Boyle Owen
-Original Message- From: Aravind J [mailto:[EMAIL PROTECTED] Sent: Dienstag, 4. Oktober 2005 10:46 To: users@httpd.apache.org Subject: [EMAIL PROTECTED] https configuration issue on solaris box Hi , I am facing a problem with https configuaration for apache , when i gives

Re: [EMAIL PROTECTED] adding SSL - is a distinct virtual host mandatory?

2005-10-04 Thread Paul Annesley
Yes, I can see the need for a separate port, but it's not clear why VH's are/must be used to separate off the HTTPS activity on port 443. As I mentioned on my last reply, I'm hoping that http://myserver and https://myserver both work; the first on :80 and the 2nd on :443. Am I expecting too

RE: [EMAIL PROTECTED] https configuration issue on solaris box

2005-10-04 Thread Aravind J
Hi , did you enable SSL when you compiled apache? - Ans: Don't know, I was not the person who did the installation. About configuration of /etc/httpd.conf -- 1 I have manually added following lines in httpd.conf IfDefine SSL LoadModule ssl_module

Re: [EMAIL PROTECTED] https configuration issue on solaris box

2005-10-04 Thread Paul Annesley
On 10/4/05, Aravind J [EMAIL PROTECTED] wrote: Apache was already installed on that machine. when i start apachectl start , only http is running, ps -ef|grep https shows nothing. Generally you need to run 'apachectl startssl' to start http and https. Sounds like you may have config issues

Re: [EMAIL PROTECTED] https configuration issue on solaris box

2005-10-04 Thread Aravind J
Hi , when i tried with apachectl startssl , i got a message like this usage: ./apachectl (start|stop|restart|fullstatus|status|graceful|configtest|help) looks like i need a fresh apache installation, do i need to ? --- Paul Annesley [EMAIL PROTECTED] wrote: On 10/4/05, Aravind J [EMAIL

[EMAIL PROTECTED] rotatelogs - fatal: libldap50.so: open failed

2005-10-04 Thread Greg Thomas
Hi, I've recently compiled Apache 2.0.54 with the experimental mod_auth_ldap module. Since then, rotatelogs has failed with the following; ld.so.1: /export/home/svnuser/apache/bin/rotatelogs: fatal: libldap50.so: open failed: No such file or directory I've added /usr/local/iplanet/lib to the

Re: [EMAIL PROTECTED] Looking for a good Apache2 book

2005-10-04 Thread Nick Kew
On Sunday 02 October 2005 18:06, Boysenberry Payne wrote: Anyone know of a good book written for Apache2 similar to the O'Reilly Writing Apache Modules with Perl and C? Watch this space. But would love any suggestions for good online references too, other than the obvious Apache 2 docs...

Re: [EMAIL PROTECTED] Cannot install Apache2. (From a beginner at programming and really confused...)

2005-10-04 Thread Joost de Heer
I was successfully able to install Apache 2.0.54, but even if I enter 'localhost' into my browser window, the welcome page won't appear. On my toolbar, it says that Apache is running so I don't have a clue what is wrong. Will somebody please help me?? (My computer is running on Windows XP)

[EMAIL PROTECTED] Re: Looking for a good Apache2 book

2005-10-04 Thread Joost de Heer
Boysenberry Payne said: Anyone know of a good book written for Apache2 similar to the O'Reilly Writing Apache Modules with Perl and C? The module development mailing list is probably a better place to ask. Joost - The

Re: [EMAIL PROTECTED] Best place for .htaccess to work ... multiple sites

2005-10-04 Thread Joshua Slive
On 10/3/05, Erik Sorenson [EMAIL PROTECTED] wrote: Using Suse 9.3, Apache 2 and hosting two sites currently, let's say X and Y. Absolute paths and document roots are specified in vhost files as /srv/www/X and /srv/www/Y. I have a ~400-line entry .htaccess file that has a lot of setenvifcase's

Re: [EMAIL PROTECTED] Modifying mod_access

2005-10-04 Thread Joshua Slive
On 10/2/05, Mike Cardwell [EMAIL PROTECTED] wrote: Joshua Slive wrote: Hmmm. This doesn't seem to have fixed it. The rewrite rules always seem to get processed before the .htaccess files. Let's see the actual config. Here's a slightly cut down version of the VirtualHost in question. The

RE: [EMAIL PROTECTED] rotatelogs - fatal: libldap50.so: open failed

2005-10-04 Thread Axel-Stéphane SMORGRAV
I think that you have pretty much identified the problem yourself: the LD_LIBRARY_PATH environment variable is not passed by Apache to the shell executing the rotatelog command. I guess one possibility would be to replace your piped log with command with CustomLog |( .

[EMAIL PROTECTED] Simple way to make directories display a list of its files

2005-10-04 Thread Harry Putnam
What is the simpliest way to make apache display a list of files when a directory is hit with browser? I'm reading the online manual about Options Indexes but I don't think I'm getting the full picture since my attempts fail. On gentoo linux with apache2 I'm inserting this into a stock gentoo

[EMAIL PROTECTED] Apache running with PID of 0

2005-10-04 Thread Duncan Drury
I am having some trouble with my installation of Apache and PHP, which had previously been running fine on FreeBSD. I think there may be an error with my installation of PHP, but I am still trying to track that down. However, one of the symptoms is Apache ends up running with a PID of 0 (or

Re: [EMAIL PROTECTED] Apache running with PID of 0

2005-10-04 Thread Boysenberry Payne
What happens when you do an apachectl restart or stop? Boysenberry boysenberrys.com | habitatlife.com | selfgnosis.com On Oct 4, 2005, at 1:15 PM, Duncan Drury wrote: I am having some trouble with my installation of Apache and PHP, which had previously been running fine on FreeBSD. I think

RE: [EMAIL PROTECTED] Apache running with PID of 0

2005-10-04 Thread Duncan Drury
It tells me that apache isn't running and fails to start apache. I failed to mention that this is Apache 1.3. The problem I am having is almost certainly to do with PHP. If I do apachectl graceful, Apache won't start up until I comment out the Load and AddModule directives for php5 in

Re: [EMAIL PROTECTED] Simple way to make directories display a list of its files

2005-10-04 Thread Joshua Slive
On 10/4/05, Harry Putnam [EMAIL PROTECTED] wrote: Directory /hpweb/TrainingVids/DigitalPhotography Options +Indexes /Directory Directory refers to filesystem directories, not web directories. You need to tag /var/www/localhost/htdocs on the front. In general, always check the error log

[EMAIL PROTECTED] spurious user not found with basic auth

2005-10-04 Thread Daniel McBrearty
Hi I'm using Apache 1.3.33 on Debian system. Server runs behind an ADSL modem/router with dynamic IP. I use perl cgi and mod_perl (I use extension .cgm the tell apache when something is mod_perl rather than plain cgi). To autheticate a small group of users I use a very simple .htaccess file :

[EMAIL PROTECTED] Problem loading apache Module

2005-10-04 Thread Uzo Madujibeya
Hi, I have just upgraded to Apache 2.1.8 on OS X 10.4.2 and am having a problem trying to load php. At the bottom of my httpd.conf file I specify the following: # PHP4 configuration LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php .php .phtml AddType

Re: [EMAIL PROTECTED] Apache running with PID of 0

2005-10-04 Thread Scott Gifford
Duncan Drury [EMAIL PROTECTED] writes: [...] one of the symptoms is Apache ends up running with a PID of 0 (or shows up as doing so when I ps -aux | grep httpd) Can you paste the output of ps -aux |head -1 and ps -aux |grep httpd which shows this into an email back to the list? Unless

[EMAIL PROTECTED] moving .htaccess rewrite cond to httpd.conf

2005-10-04 Thread Boysenberry Payne
I have a server that has .htaccess files with mod_rewrite instructions. Now I want to move the instructions into httpd.conf so I don't have to put into each of our clients sites anymore. It's nothing special (the rewrite conditions) and I want it for all of our virtual hosts. How do I need to

[EMAIL PROTECTED] Basic Authentication and mod_auth_mysql form login

2005-10-04 Thread YEL
hello everyone, i'm using apache2 tomcat5 mod_jk i set Basic authentication with mod_auth_mysql to have my users authenticated on a mysql DB. users who try to access restricted areas are than prompted with the standard browser identification pop up window to log in everything works fine and my

[EMAIL PROTECTED] Nood needs help with SSL certs on apache 1.2

2005-10-04 Thread Scott Haneda
Hello, I am running Apache 1.2 on OS X, today, I need to install a self signed SSL cert for a client. I managed to get one going in the past, but seemingly, unless I am very careful, I tend to break other sites from working, so I thought I would learn to do this right. I suspect the breakage is

[EMAIL PROTECTED] rewriterule causing [redirect/302] error

2005-10-04 Thread Josh Greenwood
Hello, I am using Apache 2.0.54. I am having difficulty with the following rewritecond/rewriterule: # See if the requested page is http://www.test.com RewriteCond %{SERVER_NAME} www.test.com # It is. Now see if www.test.com is a folder in the webcontent/ directory RewriteCond

[EMAIL PROTECTED] Re: Simple way to make directories display a list of its files

2005-10-04 Thread Harry Putnam
Joshua Slive [EMAIL PROTECTED] writes: On 10/4/05, Harry Putnam [EMAIL PROTECTED] wrote: Directory /hpweb/TrainingVids/DigitalPhotography Options +Indexes /Directory Directory refers to filesystem directories, not web directories. You need to tag /var/www/localhost/htdocs on the

[EMAIL PROTECTED] Install failure on WinXP

2005-10-04 Thread Bob Hartung
Hi all, No flame please. I tried to install the latest apache for Windows and when I start the installer it just hangs. All firewall and antivirus software is turned off. Any ideas. Bob - The official User-To-User

Re: [EMAIL PROTECTED] adding SSL - is a distinct virtual host mandatory?

2005-10-04 Thread Andrew Clarke
On Tue, 04 Oct 2005 17:20, William A. Rowe, Jr. wrote: Feel free to buy a draft for Boyle (should he get there) and myself at ApacheCon/US '05 (www.apachecon.com). If but someone would pay for me to take a junket overseas for a conference. I'm in Sydney. Shouldn't you guys schedule these

Re: [EMAIL PROTECTED] adding SSL - is a distinct virtual host mandatory?

2005-10-04 Thread Andrew Clarke
On Tue, 04 Oct 2005 20:00, Paul Annesley wrote: Specifying http:// will cause the browser to use port 80 by default. Specifying https:// will cause the browser to use port 443 by default. However, apache does not automatically assume that 80 == http and 443 == https, you need to use the

Re: [EMAIL PROTECTED] Install failure on WinXP

2005-10-04 Thread William A. Rowe, Jr.
First, be sure you have TCP/IP correctly installed, then review http://www.apache.org/dist/httpd/binaries/win32/TROUBLESHOOTING.html Bob Hartung wrote: Hi all, No flame please. I tried to install the latest apache for Windows and when I start the installer it just hangs. All firewall and

Re: [EMAIL PROTECTED] adding SSL - is a distinct virtual host mandatory?

2005-10-04 Thread William A. Rowe, Jr.
Andrew Clarke wrote: On Tue, 04 Oct 2005 17:20, William A. Rowe, Jr. wrote: Feel free to buy a draft for Boyle (should he get there) and myself at ApacheCon/US '05 (www.apachecon.com). If but someone would pay for me to take a junket overseas for a conference. I'm in Sydney. Shouldn't you