Tag Archives: IIS

Basic include() example

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 …

Tags: , , , , | Posted under DotNet/Windows Hosting | Leave a comment

How to do a rewrite rule in web.config

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 …

Tags: , , , | Posted under DotNet/Windows Hosting, Programming/Coding | 15 Comments

How to Get More Detailed Errors from IIS

On the new version of WebSitePanel, you can easily do this through the control panel! Click HERE to find out how! Related documents: Error Reading Web Site Information – WebSitePanel …

Tags: , , , , , , , , , | Posted under ASP .NET 2, DotNet/Windows Hosting, Programming/Coding | 19 Comments