On Sat, Jun 9, 2012 at 11:50 PM, pbreit <pbreitenb...@gmail.com> wrote:
> Hmmm...I still don't totally understand what you are trying to do and what 
> your setup looks like.

I have a series of applications:
    ProjectX2012, ProjectX2011, ProjectX2010, etc....
I want to provide a short-cut URL:
    ProjectX
that resolves to the current project.

I thought I was going to have to use URL rewriting to do that, until I
came across
      http://web2py.com/books/default/chapter/29/4
              Here are four ways to set the default application:

              Call your default application "init".
              Set default_application to your application's name in routes.py
              Make a symbolic link from "applications/init" to your
application's folder.
              Use URL rewrite as discussed in the next section.

So, what I am trying to find out is how I should choose between the
last two options mentioned above, specifically, for simple application
name aliasing, should I use symbolic links or should I use URL
rewrite?

Since, as far as I have been able to find, that is the only place that
symbolic links are mentioned, I have no idea what the implication and
repercussions of using symbolic links are.

>From what I can tell of reading the URL rewrite description, to change
routing I have to either:
    restart the server   OR
    get to the admin interface and use the reload routes button (which
for all I know, restarts the server behind my back).

Both of those options are a lot more involved and disruptive than just
changing a symbolic link.
BUT would changing a symbolic link on a running server cause problems?
Where do I find that out?

Thanks,
     --Doug

Reply via email to