Re: Enabling apache2 and ssl - is there an easy way?

2005-06-27 Thread Robert S
 2. For some reason, my browser tries to download the output of 
 index.php in my root directory, but not in a subdirectory ie: 
 http://mysite does not work, but http://mysite/another and 
 http://mysite/inded.php are OK.
I would need to see the relevant config to understand this one..

Solved -- due to an obscure problem in Moz Firefox.  Apache OK.

Think I've almost got things running properly.  Will upgrade at some stage!




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Enabling apache2 and ssl - is there an easy way?

2005-06-21 Thread Robert S

Andy Smith [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Please explain exactly what you are having problems with.

The first problem is that apache2 - ssl does not work out of the box like 
it does in apache1.  You need to generate certificate files etc manually, 
and create a new config file.  Are there any official guides on how to do 
this?  Other problems include:

1. Unable to make the DocumentRoot for http and https different (its simple 
with apache1 - config files are in different locations)
2. For some reason, my browser tries to download the output of index.php 
in my root directory, but not in a subdirectory ie: http://mysite does not 
work, but http://mysite/another and http://mysite/inded.php are OK.

I note that the official version of apache for sarge is still 1.3.33 
(listed in distrowatch.com).  I suspect that apache2 is for brave souls 
willing to get their hands dirty.

I think I'll stick to 1.3.xx - its worked very well for the last year. 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Enabling apache2 and ssl - is there an easy way?

2005-06-21 Thread Andy Smith
On Tue, Jun 21, 2005 at 07:18:06PM +1000, Robert S wrote:
 
 Andy Smith [EMAIL PROTECTED] wrote in message 
 news:[EMAIL PROTECTED]
  Please explain exactly what you are having problems with.
 
 The first problem is that apache2 - ssl does not work out of the box like 
 it does in apache1.

Maybe not, but it is really very simple.

 You need to generate certificate files etc manually, 
 and create a new config file.  Are there any official guides on how to do 
 this?

I am not aware of any but this is one I found useful:

http://deb.riseup.net/web-server/apache2/ssl/
http://deb.riseup.net/web-server/ssl/self-signed-certs/

Other problems include:
 
 1. Unable to make the DocumentRoot for http and https different (its simple 
 with apache1 - config files are in different locations)

Just make a new file in sites-available/ with a vhost that is ssl
only, e.g.:

VirtualHost 192.168.1.2:443
DocumentRoot /var/www-ssl/
ServerName secure.example.com

SSLEngine on
SSLCertificateFile /etc/ssl/certs/apache2.secure.example.com_cert.pem
SSLCertificateKeyFile 
/etc/ssl/private/apache2.secure.example.com_key.pem
/VirtualHost

and then enable that site.

 2. For some reason, my browser tries to download the output of index.php 
 in my root directory, but not in a subdirectory ie: http://mysite does not 
 work, but http://mysite/another and http://mysite/inded.php are OK.

I would need to see the relevant config to understand this one..

 I note that the official version of apache for sarge is still 1.3.33 
 (listed in distrowatch.com).  I suspect that apache2 is for brave souls 
 willing to get their hands dirty.

Not at all.  As far as I can see, apache2 and apache 1.3 have equal
status within sarge.  It works very well for me.  Apache2, PHP,
mod_ssl, DAV, ...

 I think I'll stick to 1.3.xx - its worked very well for the last year. 

Argh, wish I'd read to the end before bothering to reply. :)


signature.asc
Description: Digital signature


Re: Enabling apache2 and ssl - is there an easy way?

2005-06-21 Thread Robert S
Andy Smith [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 I think I'll stick to 1.3.xx - its worked very well for the last year.
 Argh, wish I'd read to the end before bothering to reply. :)

No need to despair.  All a very valuable learning experience.  Actually I've 
had a problem with self-signed certificates in Apache 1.3.xx - its not 
recognised by MS Internet explorer for Mac OS-9, which I was forced to use 
at a conference recently (yuk).  Will check out your links.

Thanks. 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Enabling apache2 and ssl - is there an easy way?

2005-06-20 Thread Robert S
I've just been spending a lot of time trying to enable apache2 and ssl in 
sarge.  I finally found a method in 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=267477, but am still having 
problems - like using a different DocumentRoot from the non-ssl apache2. 
There must be an easier way than this!  Can somebody enlighten me? 




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Enabling apache2 and ssl - is there an easy way?

2005-06-20 Thread kalasala
On 6/20/05, Robert S [EMAIL PROTECTED] wrote:
I've just been spending a lot of time trying to enable apache2 and ssl insarge.I finally found a method inhttp://bugs.debian.org/cgi-bin/bugreport.cgi?bug=267477
, but am still havingproblems - like using a different DocumentRoot from the non-ssl apache2.There must be an easier way than this!Can somebody enlighten me?
what you mean by different DocumentRoot ? 
every VirtualHost entry can have different DocumentRoot, even you want
https://somedomina and http://somedomain to be different.-- http://www.axeltabs.com/
http://roundhound.com/http://linuxarcher.net/bb/http://divx-subtitles.org/http://guitar-tabs-lyrics.com/
--


Re: Enabling apache2 and ssl - is there an easy way?

2005-06-20 Thread Andy Smith
On Mon, Jun 20, 2005 at 09:10:19PM +1000, Robert S wrote:
 I've just been spending a lot of time trying to enable apache2 and ssl in 
 sarge.  I finally found a method in 
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=267477, but am still having 
 problems - like using a different DocumentRoot from the non-ssl apache2. 
 There must be an easier way than this!  Can somebody enlighten me? 

Please explain exactly what you are having problems with.


signature.asc
Description: Digital signature