Hello together!


I have configured an Ubuntu 16.04 Server with Apache and installed Trac 
1.2.2 on it. I would like to access the Trac installation using SSL via 
https://subdomain.domain.com

I have the following two .conf-files in /etc/apache2/sites-available/ right 
now:


*ssl.conf:*


<VirtualHost *:443>
SSLEngine on
SSLCertificateFile /etc/ssl/certs/apache.crt
SSLCertificateKeyFile /etc/ssl/private/apache.key
DocumentRoot /var/www/html/

 

*testinstallation.conf:*


WSGIScriptAlias /trac/testinstallation 
/var/www/html/trac/testinstallation/cgi-bin/trac.wsgi

<Location /trac/testinstallation>
  AuthType Digest
  AuthName "testinstallation"
  AuthUserFile /var/lib/trac/testinstallation/.htdigest
  Require valid-user    
</Location>
 

When I open https://subdomain.domain.com/trac/testinstallation, everything 
works as it should - but I would like to access my Trac-environment via 
https://subdomain.domain.com. When I change the DocumentRoot in ssl.conf to 
/var/www/html/trac/testinstallation, I only get to see two folders, but not 
the Trac-environment (I don't know how to implement the WSGIScriptAlias to 
the ssl.conf). Can anybody help me with this problem?


Another question: Can I run multiple installations of Trac on one server 
using SSL? If yes, I would probably need another VirtualHost-file - but 
what should be in there?


Thank you for any kind of help!

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to