Thread: web-confiq File
View Single Post
Old 01-03-2013, 04:23 PM   PM User | #1
africaon
New to the CF scene

 
Join Date: Sep 2012
Posts: 8
Thanks: 9
Thanked 0 Times in 0 Posts
africaon is an unknown quantity at this point
Post web-confiq File

Hi I have hosting package with Godaddy and some of my website displays error messages

I was given this code to insert in my web-confiq File but do not know where and also the indentation. Please assist

Code:
<configuration>
    <system.webServer>
        <httpErrors errorMode="Detailed" />
        <asp scriptErrorSentToBrowser="true"/>
    </system.webServer>
    <system.web>
        <customErrors mode="Off"/>
        <compilation debug="true"/>
    </system.web>
</configuration>

This is my web confiq file below


Code:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <system.webServer>
    <rewrite>
      <rules>
			<rule name="wordpress" patternSyntax="Wildcard">
				<match url="*"/>
					<conditions>
						<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/>
						<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true"/>
					</conditions>
				<action type="Rewrite" url="index.php"/>
			</rule></rules>
    </rewrite>
  </system.webServer>
</configuration>
Please assist in combining the two codes. I need to come up with a new web-confiq file to locate the error message

kind regards
africaon is offline   Reply With Quote