View Full Version : IIS / PHP / MySQL with .htaccess/.htpasswd
udjamaflip
07-09-2009, 09:55 AM
Hi guys,
I know this isn't an Apache configuration, but its kind of similiar? :D Anyway, I know .htaccess and .htpasswd won't work without Apache, but can I get something similiar with IIS?
I need to system password certain directories on the server, and some SEF urls would be a nice touch.
Hope someone can help! :thumbsup:
Andy
ACS - Nick
07-26-2009, 10:05 AM
What you need is ISAPI_Rewrite. Its very similar to mod_rewrite but for IIS.
udjamaflip
07-27-2009, 10:31 AM
Ah bugger, thanks for your help! I've swapped to linux with apache now as I couldn't find a solution that was free. Doh!
Anyone know if I can run .NET pages on PHP? OS is CentOS!
hope someone can help! :thumbsup:
clunk.werclick
07-31-2009, 07:43 PM
Webknight offered a rich set of features for IIS(6) Not sure about 7. The documentation is not up to much, but I've used it in production on a site with around 5000 visitors an hour and it stood up well;
http://www.aqtronix.com/?PageID=99
Inigoesdr
08-01-2009, 09:14 PM
Ah bugger, thanks for your help! I've swapped to linux with apache now as I couldn't find a solution that was free. Doh!
Anyone know if I can run .NET pages on PHP? OS is CentOS!
hope someone can help! :thumbsup:
Not really. There are some ASP emulators for Linux, and some overly-complicated/sketchy (http://php.net/refs.utilspec.windows) methods of using .NET objects in PHP. You basically have to make a choice of whether you want to pay for the licenses to use .NET natively, or port your site to an open-source language.
clunk.werclick
08-02-2009, 09:06 AM
Don't be too disheartened that .net .asp is not really an option with Linux. I don't think there is anything they can do that cannot be done with php/perl and Linux. You may need to find different ways to do things - but they are probably going to be better ways that execute faster without any paid for dependencies.
You probably know that in the land of Linux there are basically two breeds, the Red Hat based and the Debian based. Cent is RH based and is nice and stable. Each has slightly different ways of doing things and slightly different locations for things. Be aware of that when looking for answers online - other than that, excellent choice.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.