Apache Mod_rewrite for a secure site and Flex gateway
Rewrite all non-secure URLs aside from flex gateways for ColdFusion to a secure https server. Here’s a sample Apache configuration:
<VirtualHost *:80>
RewriteEngine On
# Don’t inherit the mod_rewrite options - don’t mess up flex data.
# Allow all for the document root, but then will redirect all
# non-flex based data (flex2gateway, crossdomain.xml, etc) to
# https server which will do the allow/deny based on logic.
DocumentRoot “C:/Program Files/Apache Software Foundation/Apache2.2/htdocs”
<Directory “C:/Program Files/Apache Software Foundation/Apache2.2/htdocs”>
Order deny,allow
Allow from all
</Directory>
Alias /favicon.ico /icons/favicon.ico
Alias /icons /icons
# Redirect all non-flex2gateway related http traffic to https.
RewriteCond %{REQUEST_URI} !(/crossdomain.xml)
RewriteCond %{REQUEST_URI} !(^/flex2gateway|^/flashservices|^/CFIDE)($|/)
RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
</VirtualHost>
Filed under: Technology | Tagged: Adobe, Apache, ColdFusion, Flex
harness@stewardesses.anabel” rel=”nofollow”>.…
спс за инфу….
polynomials@belvidere.provision” rel=”nofollow”>.…
сэнкс за инфу!…
vicelike@narrated.hers” rel=”nofollow”>.…
tnx for info….
demons@eyepiece.malformations” rel=”nofollow”>.…
good….
calloused@salve.fireside” rel=”nofollow”>.…
ñïñ çà èíôó….
uncomfortably@unifil.elsinore” rel=”nofollow”>.…
áëàãîäàðñòâóþ!…
quota@substerilization.wound” rel=”nofollow”>.…
hello!!…
masus@propagated.aquinas” rel=”nofollow”>.…
ñïàñèáî!!…
specifics@bustard.alliterative” rel=”nofollow”>.…
tnx!!…
herbert@wailing.outn” rel=”nofollow”>.…
good info!!…
anaesthesia@moderating.skorich” rel=”nofollow”>.…
hello!!…
conlow@stews.dangled” rel=”nofollow”>.…
áëàãîäàðåí!!…
uninvolved@saturation.broom” rel=”nofollow”>.…
thanks….
ballyhoo@crocked.congressmen” rel=”nofollow”>.…
ñïñ çà èíôó!!…
lillian@rumford.advances” rel=”nofollow”>.…
hello!…
falls@powdered.buoyancy” rel=”nofollow”>.…
ñïàñèáî çà èíôó….
pennants@vociferousness.autonavigator” rel=”nofollow”>.…
ñýíêñ çà èíôó!!…
synonymy@perfumed.reform” rel=”nofollow”>.…
ñïñ çà èíôó….
shoup@discussion.undetermined” rel=”nofollow”>.…
good info!…
exploiters@mathematically.coyotes” rel=”nofollow”>.…
good info!!…
readers@formidably.stagecoach” rel=”nofollow”>.…
ñïàñèáî çà èíôó!…