Re: [PATCH] gitweb: use action dispatcher for non-project actions, too.
- From
Junio C Hamano <junkio@cox.net>
- Date
- Aug 17, 2006, 02:06 UTC
- Message-ID
- <7vk65815h1.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <11557673281583-git-send-email-tali@admingilde.org>
Martin Waitz <tali@admingilde.org> writes:
Show 14 quoted lines
> Allow to use the global action dispatcher for all actions by introducing > "/actions". If no project directory is given then a / is prepended to the > action and the normal dispatcher is called. > Project list and OPML generation are now hooked into the list as "/summary" > and "/opml". > > As "/" is not an allowed character in actions accepted through the CGI > parameters, it is still ensured that no normal action can be called without > giving a valid project directory. > > Signed-off-by: Martin Waitz <tali@admingilde.org> > --- > gitweb/gitweb.perl | 17 ++++++++--------- > 1 files changed, 8 insertions(+), 9 deletions(-)
You completely lost me. What are you trying to achieve here?
I suspect this kind of funkies (and PATH_INFO) might be easier to do in mod_rewrite() outside gitweb, but that is probably just me.