Thank you both for reply.

404 is from TG, after examination, I believe there is a problem with
paths as Diez has hinted out.

Just to be on the safe side I will describe situation step by step:

Application is mounted in its directory
http://10.0.0.1/register/

When I try to access admin TG asks me about credentials.
http://10.0.0.1/register/login
I fill them and I get 404:
http://10.0.0.1/register/register/login?__logins=1&came_from=/register/

>From what Diez hinted I believe that a problem arises due to the fact
that there is one more /register
reference in the url.

I didn't mess with authentication logic generated by quickstart and
post action is the default one from
the: templates/login.html

Best,

wAnt




On 1 Gru, 04:59, Graham Dumpleton <[email protected]> wrote:
> On Dec 1, 10:53 am, working_ant <[email protected]> wrote:
>
> > Hello,
>
> > I succesfully deployed TG 2 application with apache 2.2 and mod_wsgi
> > on Ubuntu 9.04.
>
> > Unfortunatelly, the authentication provided by quickstart fails in
> > production environment, every time I fill user and password form I get
> > 404 error. Rest of application works fine, I simply cannot access
> > anything handled by authentication infrastructure.
>
> > Is there some special tweak to wsgi configuration to make
> > authentification work or any other thing I can do?
>
> The only mod_wsgi issue which could arise is if you were using HTTP
> basic authentication and not HTML form based login mechanism. See:
>
>  http://code.google.com/p/modwsgi/wiki/FrequentlyAskedQuestions#Access...
>
> I doubt this is the problem in your case though.
>
> You need to indicate whether the 404 error is from Apache or TG and
> what URL is trying to be accessed and how that fits into your
> application.
>
> Graham

--

You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears?hl=en.


Reply via email to