Sign in to follow this  

Converting .htaccess to web.config

Recommended Posts

Kalint    228

We're switching our hosting providers to a windows platform and thus hit this little problem, IIS dont understand .htaaccess.

 

all I want is for this to work:

 

RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.php -f
RewriteRule ^(.*)$ $1.php
 
DirectoryIndex whats-happening-at-Sheryls.php
 
I've tried the converter apps and they're not working :/

Share this post


Link to post
Share on other sites
Kami-    178

Many (even cheap) Windows platform hosts have URLRewrite installed by default or are willing to install it upon request.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.