httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: [users@httpd] Ubuntu + Apache + Virtual host + Subversion + SSL tutorial: error about SSL.
Date Tue, 19 May 2009 16:45:10 GMT
Dirk GROSSE OSTERHUES wrote:
> 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/

Or just enter
a2ensite www.domain.com

As long as you are using the Debian package, you may as well use the 
commands that go with it.
an2ensite
prints help.


> 
> 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@domain.com
>>   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?
> 
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message