Re: Ubuntu + Apache + Virtual host + Subversion + SSL tutorial: error about SSL.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hej Javi,


it apprears to me that the tutorial you followed lacks some information.
In debian the directory /etc/apache2/sites-available/ contains
definitions of your hosts. Yet, those files are not parsed by apache
directly. As apache is configured in debian only sites sitting in
/etc/apache2/sites-enabled/ are activated. So, my advice is to check
which symlinks currently reside in /etc/apache2/sites-enabled/.

If the corresponding link isn't there create it as follows and restart
apache:
ln -s /etc/apache2/sites-available/www.domain.com
/etc/apache2/sites-enabled/

Now, check and post the output of "apache2ctl -S" again.


HTH

Dirk


On 19/5/09 17:53, tirengarfio wrote:
> Thanks Eric, you wrote:
> 
>> You can't do SSL and non-SSL with a wildcard like this.  Change your
>> VirtualHosts and NameVirtualHosts to be of the form *:80 and *:443.
> 
> But... where should i do those changes ? In "www.domain.com"? This is i
> wrote inside "www.domain.com" file:
> 
> NameVirtualHost *:443
> <VirtualHost *:443>
>   ServerAdmin yourname@xxxxxxxxxx
>   ServerName svn.domain.com
>   SSLEngine On
>   SSLCertificateFile /etc/apache2/ssl/apache.pem
>   SSLProtocol all
>   SSLCipherSuite HIGH:MEDIUM
>   <Location />
>     Order allow,deny
>     Allow from all
>     DAV svn
>     SVNPath /srv/svn/repos/projectname
>     AuthType Basic
>     AuthName "domain.com Subversion Repository"
>     AuthUserFile /etc/apache2/dav_svn.passwd
>     Require valid-user
>   </Location>
>   ErrorLog /var/log/apache2/error.log
> 
>   # Possible values include: debug, info, notice, warn, error, crit, alert,
> emerg.
>   LogLevel warn CustomLog /var/log/apache2/access.log combined
> </VirtualHost>
> 
> 
>> Turn on SSL in the *:443.
> 
> SSL is turned on in www.domain.com: "SSLEngine On", do you mean that?


-- 
Dirk große Osterhues <digo@xxxxxxxxxxxxxxxxxx>
* Hochschulstrasse 10, Room E322, D-64289 Darmstadt
* Tel: ++49 (6151) 16-6634, Fax: ++49 (6151) 16-5482
* PGP-Key-Fingerprint: E92F410DFF8DABA78B6804A75A426BA67F8FAC70

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux