How to Get More Detailed Errors in IIS
Last Updated on Sunday, 20 November 2011 12:41 Written by Arian Jahansouz Monday, 17 October 2011 01:37
This article will give you a step by step guide on how to get more detailed errors in IIS within the new control panel of WebsitePanel.
Sign into your WebsitePanel and follow these steps:
1) Click Websites
Learn MoreHow to Install DotNetNuke for IIS From Your WebsitePanel Using Microsoft Web App Gallery
Last Updated on Saturday, 19 March 2011 01:38 Written by Arian Jahansouz Saturday, 19 March 2011 01:36
Related documents:
1. How to Install DotNetNuke From Your WebsitePanel Using Microsoft Web App Gallery
This article will give you a step by step guide on how to install DotNetNuke for IIS from your WebsitePanel. Sign into your WebsitePanel and follow these steps:
1) Click Domains
Learn MoreBasic include() example
Last Updated on Wednesday, 14 July 2010 11:24 Written by Shai Ben-Naphtali Wednesday, 14 July 2010 11:17
Related documents:
- http://php.net/manual/en/function.include.php
- http://forum.arvixe.com/smf/general/php-script-errors/
vars.php:
<?php
$color = ‘green’;
$fruit = ‘apple’;
?>
index.php:
<?php
define(‘BASE_PATH’,'c:/hostingspaces/shai/shai-arvixe.com/wwwroot/’);
include BASE_PATH . ‘inc/vars.php’;
echo “A $color $fruit”; // A green apple
?>
Result and expected output:
Learn MoreA green apple
How to do a rewrite rule in web.config
Last Updated on Wednesday, 28 April 2010 05:22 Written by Shai Ben-Naphtali Monday, 1 March 2010 01:26
If you would like to do a domain URL redirection from domain.com to www.domain.com or vise versa, you can do something like this:
Place either of these (depending on what you’d like done. And edit to match your domain) inside the <system.webServer></system.webServer> tags in the web.config of the domain.
<rewrite><rules>
<rule name=”Add WWW prefix” >
<match url=”(.*)” ignoreCase=”true” />
<conditions>
<add input=”{HTTP_HOST}” pattern=”^domain\.com” />
</conditions>
<action type=”Redirect” url=”http://www.domain.com/{R:1}”
redirectType=”Permanent” />
</rule>
—
<rule name=”Remove WWW prefix” >
<match url=”(.*)” ignoreCase=”true” />
<conditions>
<add input=”{HTTP_HOST}” pattern=”^www\.domain\.com” />
</conditions>
<action type=”Redirect” url=”http://domain.com/{R:1}”
redirectType=”Permanent” />
</rule>
</rules></rewrite>
How to Get More Detailed Errors from IIS
Last Updated on Wednesday, 14 December 2011 09:45 Written by Shai Ben-Naphtali Tuesday, 17 November 2009 08:05
On the new version of WebSitePanel, you can easily do this through the control panel! Click HERE to find out how!
Related documents:
Say you work on your website on whatever language that may be, for this example, I’ll use ASP.
Then you encounter an error message, for this example, say the dreaded 500 – Internal server error (picture 1).
So you sit there thinking “Ok, thanks! That doesn’t give me a clue on what my problem is!”
Learn More

Recent Comments