Hello,
I finished the installation (according the trac installation guide 
available on trac website) but it's not working, i can't load it. I've been 
searching all over the place. 
Thanks Matt for your conf file for trac, i used it to make my own
# Redirect plain requests to the https://
<VirtualHost*:80>
        ServerName trac.fdqn
        ServerAlias lmtrac
        RewriteEngine on
        RewriteRule . https://trac.fdqn/%{REQUEST_URL}
</VirtualHost>

# Rewritelocks can't be in a VirtualHost section
RewriteLock /var/run/apache2.rewritelock

# trac serves trac
<VirtualHost*:443>
        ServerName trac.fdqn
        ServerAlias lmtrac
        # Serve (relatively) static chrome files directly from the
        # filesystem. Use trac-admin's deploy command to create the
        # htdocs directory
Alias   /trac/chrome /var/lib/trac-www/htdocs
        <Directory "/var/lib/trac-www/htdocs">
                Order allow,deny
                Allow from all
        </Directory>


ScriptAlias /trac /var/lib/trac-www/cgi-bin/trac.fcgi/
RewriteEngine on
# SSL config

SSLEngine on
SSLCertificateFile /etc/apache2/ssl/server_cert.perm
SSLCertificateKeyFile /etc/apache2/ssl/private.key
SSLCertificateChainFile /etc/apache2/sss/cert_chain.perm

# Language settings
DefaultInitEnv LANG "en_US.UTF-8"
DefaultInitEnv TRAC_ENV "/var/lib/trac"

RewriteCond %{REQUEST_URL}^/$
ReWriteRule ^(.*)$ https://trac.fdqn/trac%{REQUEST_URL}

# Force fully qualified domain name
RewriteCond %{HTTP_HOST}  !^trac\.fdqn
ReWritecond %{HTTP_HOST}  !^$
ReWriteRule ^/(.*)      https://trac.fdqn/$1

</VirtualHost>

Every thing else i did what is written in the install guid mentionned 
ealier so it's supposed to work now, the only part i didn't do yet is the 
authentification part but i'll do it when i'll be able to access the site 
itself. :p

Thanks 

-- 
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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to