File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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
Marshal

Joined: Mar 22, 2005
Posts: 41601
    
  55
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.


Ping & DNS - my free Android networking tools app
 
wood burning stoves
 
subject: Apache / Tomcat / SSL / mod_rewrite