This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Security and the fly likes Apache / Tomcat / SSL / mod_rewrite Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Engineering » Security
Bookmark "Apache / Tomcat / SSL / mod_rewrite " Watch "Apache / Tomcat / SSL / mod_rewrite " New topic
Author

Apache / Tomcat / SSL / mod_rewrite

Tomoto
Greenhorn

Joined: Jan 17, 2007
Posts: 1
Can anyone tell me if this rewite from apache to tomact would still count as secure?

RewriteCond %{THE_REQUEST} "^(GET|POST) https://.*"
RewriteRule ^/(.*) https://localhost:80/ [F,L]

RewriteCond %{REQUEST_URI} "!^/sub_domain_name/.*"
RewriteRule ^/(.*) http://localhost:8080/sub_domain_name/$1 [P]
RewriteCond %{REQUEST_URI} ^/sub_domain_name/.*
RewriteRule ^/(.*) http://localhost:8080/$1 [P]
Ulf Dittmer
Rancher

Joined: Mar 22, 2005
Posts: 42958
    
  73
Hello "Tomoto"-

Welcome to JavaRanch.

On your way in you may have missed that we have a policy on screen names here at JavaRanch. Basically, it must consist of a first name, a space, and a last name, and not be obviously fictitious. Since yours does not conform with it, please take a moment to change it, which you can do right here.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Apache / Tomcat / SSL / mod_rewrite
 
jQuery in Action, 3rd edition