Hi all,

I am trying to use mod_rewrite in apache to have my root directory point 
to /trac/cgran

That way users can visit the site using http://moo.cmcl.cs.cmu.edu and 
not http://moo.cmcl.cs.cmu.edu/trac/cgran

Everything should map directly to /trac/cgran, such that:
   http://cyprus.cmcl.cs.cmu.edu/register -> /trac/cgran/register
   http://cyprus.cmcl.cs.cmu.edu/wiki/SVNtips -> /trac/cgran/wiki/SVNtips

The user should never see /trac/cgran in their address bar.

I have been trying to accomplish this with mod_rewrite but have been 
having no success.  I keep getting log errors such as:
   ValueError: TracUriRoot set to /trac but request URL is /blah/

... when trying to redirect http://cyprus.cmcl.cs.cmu.edu/blah/ to 
/trac/cgran as a first level test.

I am trying to do so with my .htaccess file using:
   RewriteEngine On
   RewriteRule   ^blah/$  /trac/cgran/

I would like to end up putting this somewhere in my config files, but I 
haven't been successful with that yet.  One step at a time.

I'd greatly appreciate any help.

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