Post by abuaafia » Sun Apr 23, 2017 12:44 pm

Hello
I just install opencart 2.3.0.2 in godaddy windows hosting there using plesk panel.
once complete the installation store appeared without any error. when i access after 10 or 20min it is showing internal server error. i installed 2 time the same error comming
i talk to godaddy supporting their told the issue regarding .htaccess file plesk hosting does not support that file you need to put web.config file instead of that.
please help me.
Thanks in advance
abuaafia
bigsuq.com

Newbie

Posts

Joined
Sun Apr 23, 2017 12:21 pm

Post by rjcalifornia » Mon Apr 24, 2017 11:42 am

Read this:
You can use IIS Manager to convert the .htaccess:


And take a look at this web.config that used to work in 1.4

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
	<rewrite>
	  <rules>
	    <rule name="Imported Rule 1" stopProcessing="true">
	      <match url="^(.*)$" ignoreCase="false" />
	      <conditions>
		<add input="{HTTP_HOST}" pattern="^example\.com$" />
	      </conditions>
	      <action type="Redirect" redirectType="Permanent" url="http://www.example.com/{R:1}" />
	    </rule>
	    <rule name="Imported Rule 2" stopProcessing="true">
	      <match url="^(.*)$" ignoreCase="false" />
	      <conditions>
		<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
		<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
		<add input="{URL}" pattern="^/favicon.ico$" ignoreCase="false" negate="true" />
	      </conditions>
	      <action type="Rewrite" url="index.php?_route_={R:1}" appendQueryString="true" />
	    </rule>
	  </rules>
	</rewrite>
  </system.webServer>
</configuration>

Image


Active Member

Posts

Joined
Fri Sep 02, 2011 1:19 pm
Location - Worldwide
Who is online

Users browsing this forum: No registered users and 8 guests