Zen Cart samples - web.config file

This article has been archived for one of the following reasons:

  • It contains information that no longer applies, that is inaccurate, or that is duplicated in a current article.
  • It contains inaccurate or incomplete information and is being rewritten. We are working on new content and will replace this article when it’s ready.
  • Published on July 09, 2009 by stjacobs
  • Updated on February 08, 2012 by stjacobs

This is a sample web.config file you can use when deploying Zen Cart on IIS. The file is annotated with a comment where you'll want to set the default document for your implementation.


Sample web.config file


<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <defaultDocument>
      <!-- Set the default document -->
      <files>
        <remove value="index.php" />
        <add value="index.php" />
      </files>
    </defaultDocument>
  </system.webServer>
</configuration>

Submit article feedback

You must Log In to submit feedback.