Mailing List Archive

New FAQ Item
Hello all,

I would like to add the following code to the FAQ, but I haven't been
successful in making the change. Are anonymous users are allowed to
make changes to the FAQ? In any case, I would appreciate it if someone
else on the list could add this to the first section. It would have
been very helpful for me. Thanks.

--
Peter Centgraf
Research Programmer,
Human-Computer Interaction Institute
Carnegie Mellon University

How can I create a nice URL to access trac.cgi?
------------------------------------------------------------------
If you are serving Trac with Apache 2, you can use directives of the
following form to translate the url "http://myserver.com/trac" to
"$APACHE_PATH$/cgi-bin/trac.cgi". Note the URL in the Location
directives is the same one that the end-user would see. With this
example, you would also need to change the `TracIni`:trac: file to find
static files at a location other than /trac.


::

# translates /trac to /cgi-bin/trac.cgi
ScriptAliasMatch ^/trac(.*) "C:/Program Files/Apache
Group/Apache2/cgi-bin/trac.cgi$1"

# sets up environment for Trac
<Location "/trac">
# For 0.7 release
SetEnv TRAC_ENV "C:/Subversion/trac/CogTool.db"
</Location>

# authentication
<Location "/trac/login">
AuthType Basic
AuthName "CogTool Project Trac"
AuthUserFile C:/Subversion/Repo/svn-users
Require valid-user
</Location>

# static files used to display images and templates
# you will need to change the conf/trac.ini file to point to
/trac-docs instead of /trac
Alias /trac-docs "C:/Subversion/trac/htdocs"
<Directory "C:/Subversion/trac/htdocs">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
New FAQ Item [ In reply to ]
I added it.

You can be anon. But the save/preview/cancel at the bottom of
the page dont work. Which is a bug and in trunk the buttons
at the bottom have been removed.

/T

> -----Original Message-----
> From: trac-bounces@lists.edgewall.com
> [mailto:trac-bounces@lists.edgewall.com]On Behalf Of Peter Centgraf
> Sent: Wednesday, October 13, 2004 8:45 PM
> To: trac@lists.edgewall.com
> Subject: [Trac] New FAQ Item
>
>
> Hello all,
>
> I would like to add the following code to the FAQ, but I haven't been
> successful in making the change. Are anonymous users are allowed to
> make changes to the FAQ? In any case, I would appreciate it
> if someone
> else on the list could add this to the first section. It would have
> been very helpful for me. Thanks.
>
> --
> Peter Centgraf
> Research Programmer,
> Human-Computer Interaction Institute
> Carnegie Mellon University
>
> How can I create a nice URL to access trac.cgi?
> ------------------------------------------------------------------
> If you are serving Trac with Apache 2, you can use directives of the
> following form to translate the url "http://myserver.com/trac" to
> "$APACHE_PATH$/cgi-bin/trac.cgi". Note the URL in the Location
> directives is the same one that the end-user would see. With this
> example, you would also need to change the `TracIni`:trac:
> file to find
> static files at a location other than /trac.
>
>
> ::
>
> # translates /trac to /cgi-bin/trac.cgi
> ScriptAliasMatch ^/trac(.*) "C:/Program Files/Apache
> Group/Apache2/cgi-bin/trac.cgi$1"
>
> # sets up environment for Trac
> <Location "/trac">
> # For 0.7 release
> SetEnv TRAC_ENV "C:/Subversion/trac/CogTool.db"
> </Location>
>
> # authentication
> <Location "/trac/login">
> AuthType Basic
> AuthName "CogTool Project Trac"
> AuthUserFile C:/Subversion/Repo/svn-users
> Require valid-user
> </Location>
>
> # static files used to display images and templates
> # you will need to change the conf/trac.ini file to point to
> /trac-docs instead of /trac
> Alias /trac-docs "C:/Subversion/trac/htdocs"
> <Directory "C:/Subversion/trac/htdocs">
> Options Indexes MultiViews
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
>
> _______________________________________________
> Trac mailing list
> Trac@lists.edgewall.com
> http://lists.edgewall.com/mailman/listinfo/trac
>