Page 1 of 1

Using htaccess

Posted: Fri Mar 06, 2009 5:50 am
by jayashree
Hi,
I am new to php, I have done url rewriting in htaccess.php , can I know whether the same script will work in IIS, apache server ?

Thanks
Jayashree

Re: Using htaccess

Posted: Fri Mar 06, 2009 7:11 am
by jayshields
.htaccess is used for Apache, IIS has a different mechanism.

Re: Using htaccess

Posted: Fri Mar 06, 2009 9:42 pm
by jayashree
jayshields wrote:.htaccess is used for Apache, IIS has a different mechanism.
Thanks for your reply.

Re: Using htaccess

Posted: Fri Mar 27, 2009 6:18 pm
by jceresini
You can look into using ISAPI Rewrite for IIS. It gives similar functionality for IIS:

http://www.isapirewrite.com/

Joe Ceresini
Network Engineer
jceresini@hostmysite.com
HostMySite.com

Re: Using htaccess

Posted: Sat Mar 28, 2009 3:25 am
by kaisellgren
In general, .htaccess works only on Apache, nginx, LiteSpeed and lighttpd.