Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

help with trac and apache alias

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


gnychis at cmu

Oct 14, 2008, 12:00 PM

Post #1 of 3 (112 views)
Permalink
help with trac and apache alias

Hi all,

I have a trac environment setup as my root location:
https://moo.cmcl.cs.cmu.edu/

This is done on line 247:
http://pastebin.com/f74255c0a

However, I want https://moo.cmcl.cs.cmu.edu/perspectives to NOT map into
this environment, I want it to map locally to: /var/www/perspectives

So, I read this document:
http://httpd.apache.org/docs/1.3/urlmapping.html

... and determined I needed to write an alias.

So I put it on line 93:
http://pastebin.com/f74255c0a

However, the server still seems to be mapping it into the trac
environment. How do I properly write this alias?

Thanks!
George

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


hyugaricdeau at gmail

Oct 14, 2008, 1:08 PM

Post #2 of 3 (103 views)
Permalink
Re: help with trac and apache alias [In reply to]

On Tue, Oct 14, 2008 at 3:00 PM, George Nychis <gnychis[at]cmu.edu> wrote:
>
> Hi all,
>
> I have a trac environment setup as my root location:
> https://moo.cmcl.cs.cmu.edu/
>
> This is done on line 247:
> http://pastebin.com/f74255c0a
>
> However, I want https://moo.cmcl.cs.cmu.edu/perspectives to NOT map into
> this environment, I want it to map locally to: /var/www/perspectives
>
> So, I read this document:
> http://httpd.apache.org/docs/1.3/urlmapping.html
>
> ... and determined I needed to write an alias.
>
> So I put it on line 93:
> http://pastebin.com/f74255c0a
>
> However, the server still seems to be mapping it into the trac
> environment. How do I properly write this alias?

It might work if after your Alias directive you put something like:
<Location /perpsectives>
SetHandler None
</Location>

This would prevent mod_python, and thus Trac from handling that path.

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


gnychis at cmu

Oct 14, 2008, 1:15 PM

Post #3 of 3 (97 views)
Permalink
Re: help with trac and apache alias [In reply to]

Erik Bray wrote:

> It might work if after your Alias directive you put something like:
> <Location /perpsectives>
> SetHandler None
> </Location>
>

This worked great, thank you very much!

- George

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

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.