Tag Archives: IIS

IIS 7 Reverse Proxy with the Application Request Routing module

I recently setup a new web server and wanted an easy way to point a public site to an internal server. Fortunately this is very easy in IIS, download both the URL Rewrite module and the Application Request Routing module: http://www.iis.net/download/URLRewrite http://www.iis.net/download/ApplicationRequestRouting Then, in the …

Read more »

IIS URL Rewrite Rule to automatically point all traffic to a new location

A new release of a site meant that a certain page was in a new location, but many users had the old location bookmarked. The easy solution was to a a rewrite rule to point anybody accessing this page to …

Read more »

Using LDAP authentication with MediaWiki and IIS

I wanted MediaWiki to use Windows Authentication automatically when users visited the Wiki. This wasn’t as straight forward as I had hoped but I finally managed to get it working, this is roughly how I went about it: Install PHP Install LDAP …

Read more »

IIS ODBC SQL Logging

I was basically after a way to make better use of the IIS log files. We use Google Analytics on most of our sites but with all the information being stored in the IIS logs, it made sense to work …

Read more »

IIS7 SSL Host Headers

If you want to use multiple SSL sites on the same IP in IIS7 then you will need to hack it a little. It’s pretty straight forward though: Navigate to the Inetsrv folder: Cd “C:\Windows\System32\Inetsrv\” Run this command: appcmd set …

Read more »

IIS URL Rewrite Rule HTTP to HTTPs

Just a quick snippet for a url rewrite rule in IIS7: <rules> <rule name=”HTTP to HTTPS redirect” stopProcessing=”true”> <match url=”(.*)” /> <conditions> <add input=”{HTTPS}” pattern=”off” ignoreCase=”true” /> </conditions> <action type=”Redirect” redirectType=”Found” url=”https://{HTTP_HOST}/{R:1}” /> </rule> </rules> And if you want to …

Read more »

Simple Cookies in PHP

For one of our public sites we have different sites for different countries and to make things easier for the end users I put together a landing page where they can then choose a flag (based on the country they …

Read more »

PHP optimisation in Windows IIS

Firstly, use the non-thread-safe version of PHP, its more efficient, see here. If you are unsure which version you have, check the very top of phpinfo() Then you can make some slight changes to php that will save some processing …

Read more »

Using hMailServer with RoundCube front end (DCOM Errors)

I installed hMailserver and then installed the RoundCube front end. I then installed a few of the plugins (‘archive’, ‘settings’, ‘userinfo’, ‘emoticons’, ‘markasjunk’, ‘additional_message_headers’, ‘jqueryui’, ‘rss_feeds’, ‘google_contacts’, ‘hmail_password’) but was having an issue with the hmail_password plugin, which was fairly …

Read more »