You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by pionier <pi...@interia.pl> on 2010/01/07 13:47:52 UTC

add port number to rul after login or logout

Hi, 

I dont know where to ask or exacly what is source of this problem but...
I deployed my grails + acegi application on tomcat6 i bought a domain and
point it to ip of my serwer
in apatch i placed connfiguration 
<VirtualHost *:80>
        ServerName example.com
        Include /etc/apache2/vhosts.d/default_vhost.include

        ProxyRequests On
        ProxyPass / http://www.example.com:8080/

        <IfModule mpm_peruser_module>
                ServerEnvironment apache apache
        </IfModule>
</VirtualHost>

and when i enter my domain address everything works fine, but when i try to
login or logout application add to my url addres tomcat port number ie:

im entering address www.example.com
i try to login in and im redirected to my domain name addres but with
default tomcat port number
www.example.com:8080 
-- 
View this message in context: http://old.nabble.com/add-port-number-to-rul-after-login-or-logout-tp27059426p27059426.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: add port number to rul after login or logout

Posted by pionier <pi...@interia.pl>.


markt-2 wrote:
> 
> 
> Try adding:
> ProxyPassReverse / http://www.example.com:8080/
> 
> Mark
> 
> 

Thx it helped!!
:* :]

-- 
View this message in context: http://old.nabble.com/add-port-number-to-rul-after-login-or-logout-tp27059426p27059649.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: add port number to rul after login or logout

Posted by Mark Thomas <ma...@apache.org>.
On 07/01/2010 12:47, pionier wrote:
> 
> Hi, 
> 
> I dont know where to ask or exacly what is source of this problem but...
> I deployed my grails + acegi application on tomcat6 i bought a domain and
> point it to ip of my serwer
> in apatch i placed connfiguration 
> <VirtualHost *:80>
>         ServerName example.com
>         Include /etc/apache2/vhosts.d/default_vhost.include
> 
>         ProxyRequests On
>         ProxyPass / http://www.example.com:8080/
> 
>         <IfModule mpm_peruser_module>
>                 ServerEnvironment apache apache
>         </IfModule>
> </VirtualHost>
> 
> and when i enter my domain address everything works fine, but when i try to
> login or logout application add to my url addres tomcat port number ie:
> 
> im entering address www.example.com
> i try to login in and im redirected to my domain name addres but with
> default tomcat port number
> www.example.com:8080 

Try adding:
ProxyPassReverse / http://www.example.com:8080/

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org