Converting .Htaccess to web.config

Bazinga

Posting Freak
Aug 3, 2010
819
54
Recently we've been trying to use IIS rather than apache but I need to convert the .Htaccess file to web.config which is supported by IIS which I have no idea how to do. Here's the htaccess:

Code:
ErrorDocument 404 /404_error.php
ErrorDocument 403 /403_error.php

Options +FollowSymLinks
Options -Indexes

RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^\.]+)$ $1.php [NC,L]
Can anyone help us? It would be much appreciated ;)
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,906
OFF TOPIC: I've been trying out IIS 7 on my computer, I've fixed PHP, But, I'm stuck for SQL. Are you using Navicat? Or the SQL community server?

ON TOPIC: Here are a few tutorials for it they look kinda legit.





Also, You could try the windows forum posts, I've been using them.
 

Bazinga

Posting Freak
Aug 3, 2010
819
54
OFF TOPIC: I've been trying out IIS 7 on my computer, I've fixed PHP, But, I'm stuck for SQL. Are you using Navicat? Or the SQL community server?

ON TOPIC: Here are a few tutorials for it they look kinda legit.





Also, You could try the windows forum posts, I've been using them.

We're using IIS 6.0 and I use Navicat.

I've managed to get some of it done, I still need:
Code:
Options +FollowSymLinks

RewriteEngine on
RewriteCond %{SCRIPT_FILENAME} !-d
RewriteRule ^([^\.]+)$ $1.php [NC,L]
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,195
3,906
Al-right thanks for that ^^, And I recommend you asking Aaron of Otaku, He runs all of his hotels on IIS, Blah, Habboon and HabboRP, He did it for me once, But me + Paul lost it all.
 

Users who are viewing this thread

Top