.htaccess - Magento using HTTPS on all pages -


i have got ssl on site www.bambinies.co.uk

i want checkout pages require https, @ present 500 internal server error on every page uses unsecure base url (http).

i think .htaccess forcing every page have https path, here file:

rewritecond %{http_user_agent} mj12bot rewriterule .* - [f] rewritecond %{http_user_agent} 80legs [nc] rewriterule ^ - [f]  addtype image/svg+xml svg svgz addencoding gzip svgz addtype text/x-component .htc directoryindex index.php   php_value memory_limit 512m  php_value max_execution_time 18000  php_flag magic_quotes_gpc off  php_flag session.auto_start off  php_flag suhosin.session.cryptua off  php_flag zend.ze1_compatibility_mode off  

rewritecond %{http_host} !^www.bambinies.co.uk$ [nc] rewriterule ^(.*)$ http://www.bambinies.co.uk/$1 [r=301,l]  rewritecond %{the_request} ^.*/index.php rewriterule ^(.*)index.php$ http://www.bambinies.co.uk/$1 [r=301,l]  redirect 301 /home http://www.bambinies.co.uk  options +followsymlinks rewriteengine on rewriterule .* - [e=http_authorization:%{http:authorization}] rewritecond %{request_uri} !^/(media|skin|js)/ rewritecond %{request_filename} !-f rewritecond %{request_filename} !-d rewritecond %{request_filename} !-l rewriterule .* index.php [l] 

setoutputfilter deflate browsermatch ^mozilla/4 gzip-only-text/html browsermatch ^mozilla/4\.0[678] no-gzip browsermatch \bmsie !no-gzip !gzip-only-text/html setenvifnocase request_uri \.(?:gif|jpe?g|png)$ no-gzip dont-vary header append vary user-agent env=!dont-vary php_flag zlib.output_compression on 

setoutputfilter deflate   ssloptions stdenvvars  header unset etag header unset last-modified  secfilterengine off  secfilterscanpost off  addoutputfilterbytype deflate text/plain addoutputfilterbytype deflate text/html addoutputfilterbytype deflate text/xml addoutputfilterbytype deflate text/css addoutputfilterbytype deflate application/xml addoutputfilterbytype deflate application/xhtml+xml addoutputfilterbytype deflate application/rss+xml addoutputfilterbytype deflate application/javascript addoutputfilterbytype deflate application/x-javascript browsermatch ^mozilla/4 gzip-only-text/html browsermatch ^mozilla/4\.0[678] no-gzip browsermatch \bmsie !no-gzip !gzip-only-text/html setenvifnocase request_uri \.(?:gif|jpe?g|png)$ no-gzip dont-vary header append vary user-agent env=!dont-vary 

mod_gzip_on yes mod_gzip_dechunk yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text/.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image/.* mod_gzip_item_exclude rspheader ^content-encoding:.*gzip.*   expiresactive on expiresdefault "access plus 1 seconds" expiresbytype text/html "access plus 1 seconds" expiresbytype image/gif "access plus 2592000 seconds" expiresbytype image/jpeg "access plus 2592000 seconds" expiresbytype image/png "access plus 2592000 seconds" expiresbytype text/css "access plus 604800 seconds" expiresbytype text/javascript "access plus 216000 seconds" expiresbytype application/x-javascript "access plus 216000 seconds"  addtype audio/mp4 m4a f4a f4b addtype audio/ogg oga ogg  addtype application/javascript                      js jsonp addtype application/json                            json  addtype video/mp4                                   mp4 m4v f4v f4p addtype video/ogg                                   ogv addtype video/webm                                  webm addtype video/x-flv                                 flv  addtype application/font-woff                       woff addtype application/vnd.ms-fontobject               eot                          addtype application/x-font-ttf                      ttc ttf addtype font/opentype                               otf  addtype application/octet-stream                    safariextz addtype application/x-chrome-extension              crx addtype application/x-opera-extension               oex addtype application/x-shockwave-flash               swf addtype application/x-web-app-manifest+json         webapp addtype application/x-xpinstall                     xpi addtype application/xml                             atom rdf rss xml addtype image/webp                                  webp addtype image/x-icon                                ico addtype text/cache-manifest                         appcache manifest addtype text/vtt                                    vtt addtype text/x-component                            htc addtype text/x-vcard                                vcf 

addcharset utf-8 .atom .css .js .json .rss .vtt .webapp .xml  fileetag none  adddefaultcharset off #adddefaultcharset utf-8  browsermatch msie best-standards-support header set x-ua-compatible ie=8 env=best-standards-support  order allow,deny allow 

how can set site not use https on pages?

follow below step active https page

step1: change base secure , unsecure url  admin>system>configuration>general>unsecure , secure https://www.bambinies.co.uk  step2:use secure urls in frontend makes yes under secure tab step3: add below code  in htaccess file      rewritecond %{server_port} 80     rewriterule ^(.*)$ https://%{http_host}/$1 [r,l]     after rewriteengine on 

Comments

Popular posts from this blog

user interface - How to replace the Python logo in a Tkinter-based Python GUI app? -

objective c - Greedy NSProgressIndicator Allocation -

how to set an OCR language in Google Drive -