Could you please also share the relevant code from your mypre_login
function?

Am 13.01.2015 um 11:41 schrieb Tamas Hegedus:
> Hi,
> 
> I have a TG application running fine as a stand alone application.
> TG: Current: 2.3.4
> 
> I place it behind Apache, since I need https.
> It works. Some of the pages.
> If I try to login then the redirection between the "handlers" exhibit an
> error: there is no "/" between the domain name and the function.
> 
> login.html --> action: mypre_login which redirects to login_handler -->
> page is not available: https://tacml.hegelab.orglogin_handler/ in the
> browser
> 
> I tried to redirect with 'redirect' and 'return HTTPFound'
> and got the same result.
> 
> I can not decide whether or not this is an error in my apache
> configuration or something with TG. Below is my virtual host file for
> apache.
> 
> Thanks for your help in advance,
> Tamas
> 
> IfModule mod_ssl.c>
> <VirtualHost 195.111.72.57:443>
>         ServerAdmin [email protected]
>         ServerName tacml.hegelab.org
>         ServerAlias tacml.hegelab.org
>         DocumentRoot /home/****/tg23/mutdb23/mutdb23/public
> 
>     ProxyRequests off
>         <Proxy *>
>            Order deny,allow
>            Allow from all
>     </Proxy>
>     ProxyPass / http://localhost:****/
>     ProxyPreserveHost on
> 
>     ErrorLog ${APACHE_LOG_DIR}/tacml-error.log
>     LogLevel debug
>     CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined
> 
>     SSLEngine on
>     SSLCertificateFile    /etc/ssl/certs/ssl-cert-snakeoil.pem
>     SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key
> 
>     BrowserMatch "MSIE [2-6]" \
>         nokeepalive ssl-unclean-shutdown \
>         downgrade-1.0 force-response-1.0
>     BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
> 
> </VirtualHost>
> </IfModule>
> 

-- 
Moritz Schlarb

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/d/optout.

Reply via email to