This forum has been moved here:
Helicon Tech Community Forum

Helicon Ape (Forum Locked Forum Locked)
 Helicon Tech : Helicon Ape
Subject Topic: Problem with page with HTTPS
Author
Message |
M.Serg
Newbie


Joined: 21 September 2009
Location: Ukraine
Posts: 15
Posted: 30 November 2010 at 11:06am

We have number of rules that redirect most of our pages,  but some pages with use without redirection order.cfm, contact.cfm and etc.
And if we tried to use them via HTTPS protocol(for example https://dermnet/checkout.cfm) we receive follow error
File not found : /checkout.cfm.
Our rules can be found below:
# Helicon Ape version 3.0.0.42

RewriteEngine On


# 1.disable isapi-processing for service directories
RewriteRule ^aaDermlecturesCom.*$ - [NC,L]
#RewriteRule ^aaHabifOrg.*$ - [NC,L]
#RewriteRule ^aa80sMusicCom.*$ - [NC,L]
RewriteRule ^admin.*$ - [NC,L]
RewriteRule ^aimages.*$ - [NC,L]
RewriteRule ^atomic.*$ - [NC,L]
RewriteRule ^authors.*$ - [NC,L]
RewriteRule ^images.*$ - [NC,L]
RewriteRule ^imageVerification.*$ - [NC,L]
RewriteRule ^invoices.*$ - [NC,L]
RewriteRule ^PDF.*$ - [NC,L]
RewriteRule ^siteElements.*$ - [NC,L]
RewriteRule ^Templates/.*$ - [NC,L]

# 2.translate some urls
RewriteRule ^menuCasePhotos\.html$ menuCasePhotos.cfm [NC,L,R=301]
RewriteRule ^dermatology-pictures-skin-disease-pictures.?$ menuCasePhotos.cfm [NC,L]
RewriteRule ^videos.?$ videos.cfm [NC,L]
RewriteRule ^index\.html$ index.cfm [NC,L,R=301]
RewriteRule ^menuDermLinks\.html$ Dermatology-Links.cfm [NC,L,R=301]
RewriteRule ^noticesAndLegalDisclaimers\.html$ noticesAndLegalDisclaimers.cfm [NC,L,R=301]
RewriteRule ^copyright\.html$ copyright.cfm [NC,L,R=301]

RewriteRule ^([^/]+)/photos/(\d+).*$ thumbnailIndex.cfm\?groupname=$1&pageNum=$2 [NC,L]
RewriteRule ^([^/]+)/picture/(\d+).*$ image.cfm\?groupname=$1&imageID=$2 [NC,L]
RewriteRule ^([^/]+)/video.*$ lecture.cfm\?groupname=$1 [NC,L]

# 3.video topics
RewriteRule ^hair-loss-treatment-alopecia-videos.?$ topic.cfm\?topicID=18 [NC,L]
RewriteRule ^acne-treatment-videos.?$ topic.cfm\?topicID=12 [NC,L]
RewriteRule ^seborrheic-keratosis-skin-tags-treatment-videos.?$ topic.cfm\?topicID=16 [NC,L]
RewriteRule ^bullous-diseases-pemphigus-vulgaris-treatment-videos.?$ topic.cfm\?topicID=21 [NC,L]
RewriteRule ^dermoscopy-videos.?$ topic.cfm\?topicID=28 [NC,L]
RewriteRule ^skin-cancer-treatment-melanoma-videos.?$ topic.cfm\?topicID=15 [NC,L]
RewriteRule ^skin-cancer-treatment-squamous-cell-basal-cell-videos.?$ topic.cfm\?topicID=17 [NC,L]
RewriteRule ^psoriasis-treatment-videos.?$ topic.cfm\?topicID=13 [NC,L]
RewriteRule ^genital-herpes-simplex-treatment-warts-stds-videos.?$ topic.cfm\?topicID=2 [NC,L]
RewriteRule ^birthmarks-hemangiomas-treatment-vascular-videos.?$ topic.cfm\?topicID=19 [NC,L]
RewriteRule ^vulva-disease-treatment-videos.?$ topic.cfm\?topicID=25 [NC,L]

RewriteRule ^Exanthems-and-Drug-Eruptions.?$ moduleIndex.cfm\?moduleID=23 [NC,L]
RewriteRule ^Vasculitis-Photos.?$ moduleIndex.cfm\?moduleID=22 [NC,L]
RewriteRule ^Warts-Molluscum-and-other-Viral-Infections.?$ moduleIndex.cfm\?moduleID=21 [NC,L]
RewriteRule ^Vascular-Tumors.?$ moduleIndex.cfm\?moduleID=20 [NC,L]
RewriteRule ^Urticaria-Hives.?$ moduleIndex.cfm\?moduleID=19 [NC,L]
RewriteRule ^Tinea-Ringworm-Candidiasis-and-other-Fungal-Infections.?$ moduleIndex.cfm\?moduleID=18 [NC,L]
RewriteRule ^Systemic-Disease.?$ moduleIndex.cfm\?moduleID=17 [NC,L]
RewriteRule ^Herpes-HPV-and-other-STDs-Photos.?$ moduleIndex.cfm\?moduleID=16 [NC,L]
RewriteRule ^Psoriasis-pictures-Lichen-Planus-and-related-diseases.?$ moduleIndex.cfm\?moduleID=15 [NC,L]
RewriteRule ^Melanoma-Skin-Cancer-Nevi-and-Moles.?$ moduleIndex.cfm\?moduleID=14 [NC,L]
RewriteRule ^Nail-Fungus-and-other-Nail-Disease.?$ moduleIndex.cfm\?moduleID=13 [NC,L]
RewriteRule ^Actinic-Keratosis-Basal-Cell-Carcinoma-and-other-Malignant-Lesions.?$ moduleIndex.cfm\?moduleID=12 [NC,L]
RewriteRule ^Light-Diseases-and-Disorders-of-Pigmentation.?$ moduleIndex.cfm\?moduleID=11 [NC,L]
RewriteRule ^Scabies-Lyme-Disease-and-other-Infestations-and-Bites.?$ moduleIndex.cfm\?moduleID=10 [NC,L]
RewriteRule ^Hair-Loss-Photos-Alopecia-and-other-Hair-Diseases.?$ moduleIndex.cfm\?moduleID=9 [NC,L]
RewriteRule ^Eczema-Photos.?$ moduleIndex.cfm\?moduleID=8 [NC,L]
RewriteRule ^Poison-Ivy-Photos-and-other-Contact-Dermatitis.?$ moduleIndex.cfm\?moduleID=7 [NC,L]
RewriteRule ^Lupus-and-other-Connective-Tissue-diseases.?$ moduleIndex.cfm\?moduleID=6 [NC,L]
RewriteRule ^Bullous-Disease-Photos.?$ moduleIndex.cfm\?moduleID=5 [NC,L]
RewriteRule ^Seborrheic-Keratoses-and-other-Benign-Tumors.?$ moduleIndex.cfm\?moduleID=4 [NC,L]
RewriteRule ^Cellulitis-Impetigo-and-other-Bacterial-Infections.?$ moduleIndex.cfm\?moduleID=3 [NC,L]
RewriteRule ^Atopic-Dermatitis-Photos.?$ moduleIndex.cfm\?moduleID=2 [NC,L]
RewriteRule ^Acne-and-Rosacea-Photos.?$ moduleIndex.cfm\?moduleID=1 [NC,L]

RewriteCond %{REQUEST_URI} ^(?!.*\.css).+$ [NC]
RewriteCond %{REQUEST_URI} ^(?!.*\.gif).+$ [NC]
RewriteCond %{REQUEST_URI} ^(?!.*\.jpg).+$ [NC]
RewriteCond %{REQUEST_URI} ^(?!.*\.jpeg).+$ [NC]
RewriteCond %{REQUEST_URI} ^(?!.*\.swf).+$ [NC]
RewriteCond %{REQUEST_URI} ^(?!.*\.html).+$ [NC]
RewriteCond %{REQUEST_URI} ^(?!.*\.cfm).+$ [NC]
RewriteCond %{REQUEST_URI} ^(?!.*\.xml).+$ [NC]
RewriteCond %{REQUEST_URI} ^(?!.*\.txt).+$ [NC]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([^/]+)/?$ thumbnailIndex.cfm\?groupname=$1 [NC,L]



Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 30 November 2010 at 3:16pm

Hello.
Are you sure https website also has Helicon Ape set? You can turn on logs and see the process in rewrite.log file.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage
 
M.Serg
Newbie


Joined: 21 September 2009
Location: Ukraine
Posts: 15
Posted: 06 December 2010 at 12:45pm

Thanks
previous situation was solved but after that appear next question.
I need rule that convert
http://order.cfm or http://checkout.cfm into https://order.cfm and https://checkout.cfm
But all other variants besides mentioned translate https://...  into  http://...
Could you help please.
Back to Top
 
Vyacheslav
Admin Group


Joined: 02 July 2008
Location: Ukraine
Posts: 1542
Posted: 06 December 2010 at 4:58pm

Hello.
Please try the following code:
Code:
RewriteCode %{HTTPS} !on [NC]
RewriteCond %{HTTP_HOST} (.*)
RewriteRule ^((?:order|checkout)\.cfm)$ https://%1/$1 [NC,L,R=301]


Thanks.

__________________
Slavik Shynkarenko,
Helicon Tech.
Back to Top Visit Vyacheslav's Homepage
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version