Re: 404 issue1 not found

"John P. Rouillard" <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
Hi Martin:

In message <[email protected]>,
Martin Thomas Swaton writes:
>
>Thanks John!
>the hint with the trailing / was exactly what I needed.
>
>the old version and implementation with mod_python needed:
>
># roundup requires a slash after tracker name - add it if missing
>#RedirectMatch permanent ^/([^/]+)$ /$1/
>and also had no problems with the trailing slash that is added by the 
>browser automatically, when there is no filename at the end of the url.
>
>e.g. issue1 gets a slash by the browser, issue.1 won't.
>
>So I added:
>
>RedirectMatch permanent ^/(.*)/$ /$1
>
>and everything is working. Maybe someone could add the information about 
>the trailing / to the documentation how to set up roundup with wsgi.

Could you suggest where that should go and some example text?

>By the way, how would I set the language for the webinterface with 
>mod_wsgi? With mod_python I could set that in the vhost.conf as python 
>option. Where would I do that now with mod_wsgi?

I thought roundup would use the language header in the http request.

Then again I have never had to use it in any language but
English. However I think there is a language setting in the tracker
section of the config.ini file.

The code says:

        (NullableOption, "language", "",
            "Default locale name for this tracker.\n"
            "If this option is not set, the language is determined\n"
            "by OS environment variable LANGUAGE, LC_ALL, LC_MESSAGES,\n"
            "or LANG, in that order of preference."),

so I assume any valid LC_ALL value would work.

>Thanks for your great and quick response,

Glad it worked out for you.

It sounds like you are upgrading/converting an existing roundup.

If you don't mind my asking what are you using it for?

Have a great week.

--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.