> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of drew2008
> Sent: 28 February 2011 21:25
> To: Trac Users
> Subject: [Trac] How to setup up trac.ini file, for example: 
> Notifications
> 
> I am trying to add Notifications. My default trac.ini file doesnt have
> much. Here is what is was:
> 
> <Directory "C:\Program Files\BitNami Trac Stack">
>    Options Indexes MultiViews
>    AllowOverride None
>    Order allow,deny
>    Allow from all
> </Directory>
> 
> <Location /trac>
>  SetHandler mod_python
>  PythonInterpreter main_interpreter
>  PythonHandler trac.web.modpython_frontend
>  PythonOption TracEnvParentDir "C:\Users\Bilal\BitNami Trac Stack
> projects"
>  PythonOption TracUriRoot /trac
> </Location>
> 
> <LocationMatch "/trac/[^/]+/login">
>  AuthType Basic
>  AuthName "Trac"
>  AuthUserFile "C:\Program Files\BitNami Trac Stack\trac/conf/
> htpasswd"
>  Require valid-user
> </LocationMatch>

That lot is not the usual contents of trac.ini ~ it is apache
configuration information.  

> I tried adding the following to the bottom and tried to restart the
> computer but Trac did not restart until I restored the trac.ini to the
> original. Any suggestions?
> 
> [trac]
> base_url = "http://184.106.183.167:8888/trac/Project";
> 
> [notification]
> smtp_enabled = true
> use_tls = true
> mime_encoding = base64
> smtp_server = smtp.gmail.com
> smtp_port = 587
> smtp_user =  [email protected]
> smtp_password = xxx
> 
> Thanks,
> -Andrew

You need to find your proper trac.ini file, it should be in each of your
trac environment directories...  I'm not familiar with the bitnami stack
but going by your config above it should be in:-

C:\Users\Bilal\BitNami Trac Stack projects\ <env-dir> \conf\trac.ini

...where each <env-dir> is a separate trac project.

~ mark c

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to