NGINX / Tomcat / pass thru rewrite rules - NGINX rewrite rules guru needed!

  • Status: Closed
  • Prize: $100
  • Entries Received: 1
  • Winner: knowlonix

Contest Brief

A few people already tried without success, so please do not apply if you think you can just google nginx rewrites. What I need is more complex than that. Thank you.

I'm looking for an elegant and SEO friendly solution and willing to pay a premium price for this!

2 very important prerequisites:
-------------------------------------------------
a) All rewrites MUST be SEO friendly, so that search engines don't ding me for duplicating content at multiple URLs.

b) I have hundreds of JSP pages, so utilizing [login to view URL] solution to map each JSP is not an option. I need some sort of pass through solution from NGINX.

You may want to confirm the url is not a directory or a file that does exist if NGINX is fronting and serving the non-jsp resources. Confirm that the JSP exists, and do a pass thru rather than redirect, and append any possible query string.

Also, all of this is on a test server, so I use IP address as server name for now.

Requirements:
-----------------------
1) Tomcat MUST be able to compile and execute JSP pages without .jsp extension in the URL without mapping each JSP in [login to view URL]
Example: [login to view URL] or [login to view URL]

2) Tomcat also must be able to execute my Servlets that are mapped in [login to view URL]

3) Hide JSP extension from the URL.
Example: If user accesses [login to view URL] URL should be SEO friendly rewritten to [login to view URL]

4) Some pages are located in folders, so folders need to be considered in the URL for rewrites.
Example: [login to view URL] -> [login to view URL]


I had a similar solution with Apache httpd and Tomcat where I was using mod_jk module and Apache rewrites to achieve the above. I think I was passing all extensions to Tomcat but with mod_jk config was un-mounting the ones that Tomcat should not be handling.

Old and new configs are attached. I will need to try your solution to confirm it works. If you can handle this task - more work is available. Thank you.

Recommended Skills

Employer Feedback

“Simply amazing! Was pleasure working with Dan and I will definitely hire him in the future!”

Profile image xovvw, United States.

Top entries from this contest

View More Entries

Public Clarification Board

No messages yet.

How to get started with contests

  • Post your contest

    Post Your Contest Quick and easy

  • Get tons of entries

    Get Tons of Entries From around the world

  • Award the best entry

    Award the best entry Download the files - Easy!

Post a Contest Now or Join us Today!