You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mark Maciolek <ml...@sr.unh.edu> on 2015/07/06 16:11:06 UTC

Tomcat 7 redirect issue

hi,

I have Tomcat 7 up and running on Scientific Linux 7 system. Works 
great. I then used the RewriteRule in the web site config file for it to 
go to port 80 instead of 8080.

http://tds-opal.sr.unh.edu/thredds/catalog.html

Now my non Tomcat needed site shows the Tomcat welcome page.

http://northeastclimatedata.org/

Is there any way to make the standard web site redirect/go to its 
correct index.php page which it was doing before I made Tomcat redirect 
to port 80?

I have tried the url rewrite in the

-- 

Mark Maciolek
Network Administrator
Morse Hall Room 338
603-862-3050
https://www.unh.edu/research/support-units/research-computing-center


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


Re: Tomcat 7 redirect issue

Posted by Mark Maciolek <ml...@sr.unh.edu>.

On 7/6/2015 1:03 PM, Christopher Schultz wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> Mark,
>
> On 7/6/15 10:11 AM, Mark Maciolek wrote:
>> I have Tomcat 7 up and running on Scientific Linux 7 system. Works
>> great. I then used the RewriteRule in the web site config file for
>> it to go to port 80 instead of 8080.
> So you are using httpd in front of Tomcat. How are you connecting
> them? mod_proxy_http?
>
>> http://tds-opal.sr.unh.edu/thredds/catalog.html
>>
>> Now my non Tomcat needed site shows the Tomcat welcome page.
>>
>> http://northeastclimatedata.org/
>>
>> Is there any way to make the standard web site redirect/go to its
>> correct index.php page which it was doing before I made Tomcat
>> redirect to port 80?
>>
>> I have tried the url rewrite in the
> ??!
>
> You should post your mod_proxy or mod_jk configuration.
>
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Comment: GPGTools - http://gpgtools.org
>
> iQIcBAEBCAAGBQJVmrTfAAoJEBzwKT+lPKRYCmoP/A56l37oGE/q0ak4uns6gYRS
> YwWr0C0qSsYnfzxSQ3meXfdBTAEqi6ojWBIUFVXgCIy+YCJveGsACgXY44e/btnA
> uEdV8FxLKgfMDLEOnfDuOmIIvieGL6W2npfsBbed7qFmc1cTK76d+Zs3PW4uo+E4
> qC+qemcVjyLx3B9e30CgGUqpuwxwt5Tp2Tqe3k3y8TSljr26DyY7YdCp8gP4tUwj
> CKIR20FyJzhIsLVBSurne1CiKhwh6w/Ume9MWec2/YACQlI4VimOvpT4namwn3BZ
> qQQHzojlRV2H6RdNr3LxFRJKt4qP/0/adfP7dmqoJcylv5yhM2iRBYs8+0FvlSiP
> 7nklVIl2azwq6JJYzxmh571dPTXoj0sG3vvSVL4mxkuNK10bcb9YjdPK1zWlmA1v
> pNgDmz/s0nSTFakDB9VHLvznzPebNW58qTAAj/xkoSE43r6vGKUzYUjSDZB2Fmt7
> TmbuAYBz3fL3Jv1Y0DagcwWLKUZJG4VcEG4BJVTx7pTWfGloVBIWqqHA5udeu10/
> tFT4M2jmnC9CdEhboGLkirUGNdbMe0A9SpuZJuZWFhXlMw3Rx4immOpzVG60n/+r
> r4Sb/1UV5U48gjtJRvfGEmakQiZ5rNqHAKIf2wNPYIE9bMu1rrIRuKHG0SoOagfV
> Yz1FrDbetZk5YytOjhmk
> =q8hb
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
hi,

Thanks for the hint, for the right answer on using ajp proxypass and it 
is now working.

Mark

-- 

Mark Maciolek
Network Administrator
Morse Hall Room 338
603-862-3050
https://www.unh.edu/research/support-units/research-computing-center


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


Re: Tomcat 7 redirect issue

Posted by Christopher Schultz <ch...@christopherschultz.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 7/6/15 10:11 AM, Mark Maciolek wrote:
> I have Tomcat 7 up and running on Scientific Linux 7 system. Works 
> great. I then used the RewriteRule in the web site config file for
> it to go to port 80 instead of 8080.

So you are using httpd in front of Tomcat. How are you connecting
them? mod_proxy_http?

> http://tds-opal.sr.unh.edu/thredds/catalog.html
> 
> Now my non Tomcat needed site shows the Tomcat welcome page.
> 
> http://northeastclimatedata.org/
> 
> Is there any way to make the standard web site redirect/go to its 
> correct index.php page which it was doing before I made Tomcat
> redirect to port 80?
> 
> I have tried the url rewrite in the

??!

You should post your mod_proxy or mod_jk configuration.

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJVmrTfAAoJEBzwKT+lPKRYCmoP/A56l37oGE/q0ak4uns6gYRS
YwWr0C0qSsYnfzxSQ3meXfdBTAEqi6ojWBIUFVXgCIy+YCJveGsACgXY44e/btnA
uEdV8FxLKgfMDLEOnfDuOmIIvieGL6W2npfsBbed7qFmc1cTK76d+Zs3PW4uo+E4
qC+qemcVjyLx3B9e30CgGUqpuwxwt5Tp2Tqe3k3y8TSljr26DyY7YdCp8gP4tUwj
CKIR20FyJzhIsLVBSurne1CiKhwh6w/Ume9MWec2/YACQlI4VimOvpT4namwn3BZ
qQQHzojlRV2H6RdNr3LxFRJKt4qP/0/adfP7dmqoJcylv5yhM2iRBYs8+0FvlSiP
7nklVIl2azwq6JJYzxmh571dPTXoj0sG3vvSVL4mxkuNK10bcb9YjdPK1zWlmA1v
pNgDmz/s0nSTFakDB9VHLvznzPebNW58qTAAj/xkoSE43r6vGKUzYUjSDZB2Fmt7
TmbuAYBz3fL3Jv1Y0DagcwWLKUZJG4VcEG4BJVTx7pTWfGloVBIWqqHA5udeu10/
tFT4M2jmnC9CdEhboGLkirUGNdbMe0A9SpuZJuZWFhXlMw3Rx4immOpzVG60n/+r
r4Sb/1UV5U48gjtJRvfGEmakQiZ5rNqHAKIf2wNPYIE9bMu1rrIRuKHG0SoOagfV
Yz1FrDbetZk5YytOjhmk
=q8hb
-----END PGP SIGNATURE-----

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