Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.htaccess and Windows Hosting
#4
I'm aware that PHP_OS only reports the operating system, hence the mention of Apache Windows. I'm a user of XAMPP myself. SERVER_SOFTWARE would be a better check though, just need to check if it contains the string 'Microsoft-IIS' (or just IIS would be fine). Windows Server just appends the version (Microsoft-IIS/6.0, Microsoft-IIS/7.0 etc)

For the times when Windows Server 2008+ is not used, there is always urlrewriting.net. However, it requires that the host has wildcard application mapping set up to allow all requests to pass through the ASP.NET filter (which is probably unlikely).

Other than health-check.php, what else creates .htaccess files?
-- Sam
Reply


Messages In This Thread
.htaccess and Windows Hosting - by SamWM - 2010-11-20, 01:58:01
.htaccess and Windows Hosting - by Zegnåt - 2010-11-20, 02:20:39
.htaccess and Windows Hosting - by yojoe - 2010-11-20, 07:06:47
.htaccess and Windows Hosting - by SamWM - 2010-11-27, 02:13:13
.htaccess and Windows Hosting - by Zegnåt - 2010-11-27, 02:59:04
.htaccess and Windows Hosting - by novagiant - 2011-04-15, 11:58:03



Users browsing this thread: 1 Guest(s)