1

How to preview websites in Internet Explorer 6 on Vista with IE6 Emulator

Posted by Paul@outside5.com on Dec 23, 2008 in Development, How To, Testing

We are often asked how we test our sites in IE6 and earlier on our Vista x64 development machines as it is not possible to install IE6 - even as a standalone browser - on Vista.

We did - for a while -rely on various sites (Netrenderer for example) to take a snapshot of pages under construction.  While this allowed us to view a page in IE6, we were unable to “use” the site to check for those oh-so-frequent IE6 CSS bugs.

The best method of testing in older browsers on older operating systems is to run a browser on that operating system, but having several machines purely for testing is expensive and takes more space that we would like.

Having a dual boot machine is an option, but switching between operating systems gets to be time consuming and frustrating.

Our weapon of choice for testing is Windows Virtual PC. Virtual PC for windows allow you to run a windowed version of Windows 98, NT Workstation, 2000, XP, Vista,  NT Server, 2000 Server, Server 2003, Server 2008 and even OS/2 with various configurations.  This means full testing in IE6 on an XP machine, through a Vista machine.

You can download the Virtual PC from Microsoft here.

Tags: , , , ,

 
1

How to use Wordpress SEO Friendly URLs on Windows Server using ISAPI_Rewrite

Posted by Paul@outside5.com on Dec 1, 2008 in How To

The SEO friendly URLs in Wordpress don’t seem to work natively on a Windows server as Windows doesn’t support URL rewriting without addons.

You can download ISAPI_Rewrite 2 here.  Just install it and add the following regular expressions into the httpd.ini file:

[ISAPI_Rewrite]

# Wordpress Rewrites
RewriteRule /([0-9]{4})/([0-9]{1,2})/ /index.php\?year=$1&monthnum=$2 [I,U,O]
RewriteRule /([0-9]{4})/([0-9]{1,2})/(.*)/(feed|rdf|rss|rss2|atom|rss2_comments)/?$ /index.php\?feed=$4&name=$3 [I,U,O]
RewriteRule /([0-9]{4})/([0-9]{1,2})/(.*)/trackback/?$ /wp-trackback.php\?year=$1&monthnum=$2&name=$3 [I,U,O]
RewriteRule /category/(.*)/(feed|rdf|rss|rss2|atom|rss2_comments)/?$ /index.php\?category_name=$1&feed=$2 [I,U,O]
RewriteRule /category/(.*) /index.php\?category_name=$1 [I,U,O]
RewriteRule /tag/(.*)/(feed|rdf|rss|rss2|atom|rss2_comments)/?$ /index.php\?tag=$1&feed=$2 [I,U,O]
RewriteRule /tag/(.*) /index.php\?tag=$1 [I,U,O]
RewriteRule /author/(.*)/(feed|rdf|rss|rss2|atom|rss2_comments)/?$ /index.php\?author_name=$1&
amp;feed=$2 [I,U,O]
RewriteRule /author/?(.*) /index.php\?author_name=$1 [I,U,O]
RewriteRule /([0-9]{4})/([0-9]{1,2})/?(.*) /index.php\?name=$3 [I,U,O]
RewriteRule /feed/(.*) /wp-rss2.php [I,U,O]
RewriteRule /comments/feed/(.*) /wp-commentsrss2.php [I,U,O]
RewriteRule /about/? /\?page_id=2 [I,L]
RewriteRule /page/? /index.php\?paged=$1 [I,L]

The above rules will rewrite your urls to work with the following mask:

/%year%/%monthnum%/%postname%/

to output http://blog.outside5.com/2008/12/how-to-use-wordpress-seo-friendly-urls-on-windows-server-using-ASAPI_Rewrite

Tags: , ,

 
2

How to add a SQL Server Express datasource to ColdFusion

Posted by Paul@outside5.com on Jul 31, 2008 in How To

At last, a definitive method of that troublesome task of adding a SQL Server Express 2005 datasource to Coldfusion.  For anyone else facing the same frustrating situation, see the instructions below.

What you will need:

How to add a SQL Server Express 2005 datasource to ColdFusion 8

  1. Enable TCP/IP connectivity.
    1. Open SQL Server Configuration Manager (Start > All Programs > Microsoft SQL Server 2005 > Configuration Tools > SQL Server Configuration Manager).
    2. Expand SQL Server 2005 Network Configuration and click Protocols for SQLEXPRESS.  In the right panel, right click on TCP/IP and choose enable.
    3. Restart SQL Server Express.
  2. Add SQL Server as an exception to the firewall rules.
    1. Open Windows Firewall (Control Panel > Windows Firewall).
    2. Click on the Exceptions tab.
    3. Click on Add Program, then locate the SQL Server executable, which on our dev machines is under C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Binn\sqlservr.exe).
    4. Click OK to close Windows Firewall.
  3. Confirm the port that SQL Server Express 2005 is running on - Not all installations use the default of 1433.
    1. Open SQL Server Configuration Manager (Start > All Programs > Microsoft SQL Server 2005 > Configuration Tools > SQL Server Configuration Manager).
    2. Expand SQL Server 2005 Network Configuration and click Protocols for SQLEXPRESS.  In the right panel, right click on TCP/IP and choose Properties.
    3. Go to the IP Addresses tab, scroll to the IPAll section and note the TCP Port displayed.
  4. Open CFAdministrator and add your datasource using your SQLEXPRESS\WHATEVER as the server, your database username and password as username and password and desired datasource name as datasource name.

Tags: , ,

Copyright © 2017 Inside Outside5 All rights reserved. Theme by Laptop Geek.