Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-Cart 8.0 Hint''s and Tips
 use https for entire site
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jayceew
VP-CART New User

USA
114 Posts

Posted - November 11 2017 :  10:16:41  Show Profile  Reply with Quote
Hello,
Anyone know how to set v8 to use https for the entire site ?
Thanks
Jack

swampthink
VP-CART New User

68 Posts

Posted - November 16 2017 :  06:03:37  Show Profile  Reply with Quote
you need to set "const l" in config/shop$config.asp and admin/config/shop$config.asp with your site address

example
const xssl = "https://www.yoursitename.com"

Also if you want to direct all http request to https, you can use web.config rule as below:


<?xml version="1.0" encoding="UTF-8"?>
<configuration>
 <system.webServer>
 <rewrite>
 <rules>
		<rule name="HTTP to HTTPS redirect" stopProcessing="true">
		 <match url="(.*)" />
			<conditions>
			 <add input="{HTTPS}" pattern="off" ignoreCase="true" />
			</conditions>
		 <action type="Redirect" redirectType="Found" url="https://{HTTP_HOST}/{R:1}" />
		</rule>
 </rules>
 </rewrite>
 </system.webServer>
</configuration>
Go to Top of Page

albertblackmer
Starting Member

1 Posts

Posted - November 17 2017 :  18:34:31  Show Profile  Visit albertblackmer's Homepage  Reply with Quote
Hey swampthink, thanks for the instructions for set "const l". But where to use the web.config rule that you''ve mentioned? I mean, which file to edit and in which folder?
Go to Top of Page

LelandBrown
Starting Member

1 Posts

Posted - January 05 2019 :  01:32:04  Show Profile  Visit LelandBrown's Homepage  Reply with Quote
quote:
Originally posted by albertblackmer

Hey swampthink, thanks for the instructions for set "const l". But where to use the web.config rule that you''ve mentioned? I mean, which file to edit and in which folder?



Dude, did you read the second post carefully? The very first line suggests "you need to set "const l" in config/shop$config.asp and admin/config/shop$config.asp with your site address"

So, the answer to your query would be:

config/shop$config.asp
and
admin/config/shop$config.asp

Hope this helps. :)
Go to Top of Page

Alex123
VP-CART New User

USA
171 Posts

Posted - January 07 2019 :  13:28:38  Show Profile  Reply with Quote

You can find web.config file under root folder of your website. If it is not found just create a file named web.config and add rewrite rules in that file.

Alex
Go to Top of Page

joedenly
Starting Member

USA
1 Posts

Posted - March 19 2019 :  06:41:45  Show Profile  Visit joedenly's Homepage  Reply with Quote
As https is secure to use so while transaction it must be there, https://errorcode0x.com/error-code-0x80070002/ helped m eto know about this.

https://errorcode0x.com/error-code-0x80070002/
Go to Top of Page

GoldenCrow
Starting Member

1 Posts

Posted - July 19 2019 :  13:04:17  Show Profile  Visit GoldenCrow's Homepage  Reply with Quote
quote:
Originally posted by Alex123
You can find web.config file under root folder https://www.fitnessetsante.com/phenq-avis-france/ of your website. If it is not found just create a file named web.config and add rewrite rules in that file.
Alex



Thanks for your advice Alex, I will do exactly how you have recommended.

Edited by - GoldenCrow on July 29 2019 09:15:58
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00