On Nov 15, 9:26 am, Eno <[EMAIL PROTECTED]> wrote:
> On Nov 14, 4:53 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > Presuming you are using mod_python, use something like:
>
> >   Alias /some/url /some/path
>
> >   <Location /some/url>
> >   SetHandler None
> >   </Location>
>
> > If you are using mod_wsgi, then the Alias directive should be
> > sufficient, you just need to ensure you have it appearing before the
> > WSGIScriptAlias for Trac.
>
> > So, how are you hosting Trac under Apache? What method you are using
> > will determine what you need to do.
>
> Thanks,
>
> We are using mod_python under Apache2. I have the following in the
> vhost config (which doesn't work):
>
>     Alias /files /home/www/files

What if you change this to:

  Alias /files/ /home/www/files/

Graham

>     <Directory /home/www/files>
>         AllowOverride FileInfo AuthConfig Limit
>         Options MultiViews Indexes SymLinksIfOwnerMatch
>         <Limit GET POST OPTIONS PROPFIND>
>             Order allow,deny
>             Allow from all
>         </Limit>
>         IndexOptions FancyIndexing
>         IndexOrderDefault Descending Date
>     </Directory>
>
>     <Location /files>
>         SetHandler None
>     </Location>
>
>     <Location />
>         SetHandler mod_python
>         PythonHandler trac.web.modpython_frontend
>         PythonOption TracEnv /usr/local/trac
>         PythonOption TracUriRoot /
>         PythonInterpreter main_interpreter
>     </Location>
>
>     <Location /login>
>         AuthType Basic
>         AuthName "Trac Server"
>         AuthUserFile /usr/local/trac/.htpasswd
>         Require valid-user
>     </Location>
>
>     <Directory "/usr/local/trac">
>         Order allow,deny
>         Allow from all
>     </Directory>


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