conf-enabled/trac.conf

<Location /trac>
  SetHandler mod_python
   PythonInterpreter main_interpreter
   PythonHandler trac.web.modpython_frontend
   PythonOption PYTHON_EGG_CACHE /tmp/python_egg_cache
   PythonOption TracEnvParentDir /servicos/trac/repositorios
  AuthType Basic
  AuthName "Makito"
  AuthUserFile /servicos/svn/dav_svn.passwd
  Require valid-user
</Location>

sites-enabled/000-default.conf


<VirtualHost *:80>
        # The ServerName directive sets the request scheme, hostname and 
port that
        # the server uses to identify itself. This is used when creating
        # redirection URLs. In the context of virtual hosts, the ServerName
        # specifies what hostname must appear in the request's Host: header 
to
        # match this virtual host. For the default virtual host (this file) 
this
        # value is not decisive as it is used as a last resort host 
regardless.
        # However, you must set it for any further virtual host explicitly.
        #ServerName www.example.com

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html

        # Available loglevels: trace8, ..., trace1, debug, info, notice, 
warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        # For most configuration files from conf-available/, which are
        # enabled or disabled at a global level, it is possible to
        # include a line for only one particular virtual host. For example 
the
        # following line enables the CGI configuration for this host only
        # after it has been globally disabled with "a2disconf".
        #Include conf-available/serve-cgi-bin.conf
</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

Meu trac está em /servicos/trac/repositorios/tarefas4 no linux.

Em quarta-feira, 15 de fevereiro de 2017 15:49:19 UTC-2, RjOllos escreveu:
>
>
>
> On Wednesday, February 15, 2017 at 9:38:29 AM UTC-8, Paulo Vitor Chornobay 
> wrote:
>>
>> Ubuntu Server 16.04.1 LTS x64 MySQL e Apache.
>>
>>
>>
>> System information 
>>
>> User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 
>> Firefox/51.0
>> PackageVersion 
>> Trac 1.2 
>> Babel 2.3.4 
>> Docutils 0.12 
>> Genshi 0.7 (with speedups) 
>> GIT 2.7.4 
>> mod_python 3.3.1 
>> MySQL server: "5.7.17-0ubuntu0.16.04.1", client: "5.7.17", thread-safe: 1 
>> MySQLdb 1.3.7 
>> Pygments 2.0.1 
>> Python 2.7.12 (default, Nov 19 2016, 06:48:10) [GCC 5.4.0 20160609] 
>> pytz 2016.7 
>> setuptools 29.0.1 
>> Subversion 1.9.3 (r1718519) 
>> Textile 2.3.6 
>> jQuery 1.11.3
>> jQuery UI 1.11.4
>> jQuery Timepicker 1.5.5
>>
>
> There should be a virtualhosts configuration file for your Trac in 
> /etc/apache2/sites-enabled. Could you post the contents of that file?
>
> - Ryan
>  
>

-- 
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