feRedirect.do download

fabiano petrone
fabiano petrone used Ask the Experts™
on
Hello,
I start by saying that I'm not an Apache expert, so I'll do my best for describe the strange (IMHO) thing happen.
Before all, here's the result of a telnet to the problematic site served by an Apache (IP & address are fantasy names):

telnet www.problematicsite.com 80

Trying 11.118.251.179...

Connected to www.problematicsite.com.

Escape character is '^]'.

GET / HTTP/1.0


HTTP/1.1 302 Found

Server: Apache-Coyote/1.1

Set-Cookie: JSESSIONID=30A1322E0051FE076012575109C79528; Path=/; HttpOnly

Location: http://localhost:1701/problematicsite_library/libweb/action/feRedirect.do

Content-Type: text/html

Content-Length: 0

Vary: Accept-Encoding

Date: Mon, 03 Jun 2019 06:46:36 GMT

Connection: close

Set-Cookie: sto-id-%3FSaaS-A_prod%3FPMTEU02.prod.problematicsite.1701-sg=FGHIBAAK; Expires=Thu, 31-May-2029 06:46:37 GMT; Path=/


Connection closed by foreign host.

Open in new window


Regarding the feRedirect.do 'file' it is indeed not supposed to have any contents it only provides http headers to tell the browser to redirect to a different location using the below header:

Location: /problematicsite.com/libweb/action/search.do?vid=39UDN_VIEW

Theoretically it's all perfect but....in some (apparently random) client PCs I can't use the http://www.problematicsite.com url because these machines permits only the download of the zero-byte "feRedirect.do" file without a correct redirection!!
I've made some tests with the web admins and we're sure that the cause of this is NOT on the PCs clients  but in the Apache server.
Sadly the web admins doesn't understand the cause...any clue?
Thanks,
Fabiano
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Fractional CTO
Distinguished Expert 2018
Commented:
And... Might be that whatever content or headers feRedirect.do is producing might simply be incorrect/broken, so newer clients refuse to handle the response.

Better to use curl than telnet.

Provide the output of...

curl -I -L www.problematicsite.com

Open in new window


This command will follow the entire redirect chain, returning all headers from every server request in the chain.

Best to actually provide your real/clickable link for others to test.

Author

Commented:
Hi, David
Thanks a lot for the suggestion
Sadly now the factory made a rollback to the old (functioning) site so I can't compare the output of this one to the output of the problematic one.
But I've suggested your idea to the webmaster and I'll let you know if it will resolve the thing
For now, Great Thanks!!
Fabiano
David FavorFractional CTO
Distinguished Expert 2018

Commented:
You're welcome!

I always pull curl from my toolbelt first, when testing sites.

Good luck!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial