IIS 6 and .htaccess (php is important in this part)

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
ryuuka
Forum Contributor
Posts: 128
Joined: Tue Sep 05, 2006 8:18 am
Location: the netherlands

IIS 6 and .htaccess (php is important in this part)

Post by ryuuka »

hello again

is it possible for IIS to use htaccess files?
and (if not) what's a good alternative?

bear in mind with this though that i do not want to use passwords its a intranet site for now and uses
the proxy server for passwords.

whaat i do want to do is add a bit of extra security like the one used in htaccess

Code: Select all

AddType application/x-httpd-php .shiznit
this being turning a .php extension into something else
EDIT: .shiznit in this case (sorry i couldn't think of anything better)
oh and one final thing if i have succesfully changed the extension can i still use links wo have the php extension in em or do i need to chance these as well?
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Take a look at http://www.php.net/manual/en/install.windows.iis.php
At some point of the installation you told the iis that files with the extension .php are to be handled by php. Now tell the iis the same for .shiznit
ryuuka wrote:oh and one final thing if i have succesfully changed the extension can i still use links wo have the php extension in em or do i need to chance these as well?
If you have something that tells the iis ".shiznit actually means .php", like for apache http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html
What kind of "bit of extra security" do you want to add?
ryuuka
Forum Contributor
Posts: 128
Joined: Tue Sep 05, 2006 8:18 am
Location: the netherlands

Post by ryuuka »

this is kind of the protection in all

i mean i already got an AD on this thing and a PW for the DB(wich is the login name of the user)
and that is with limited rights. I don't want my users to know what extension i'm using.
And it's highly unlikely the will figure this out (between us they barely know how to start MS word) :)
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Sounds like security by obscurity to me.
ryuuka
Forum Contributor
Posts: 128
Joined: Tue Sep 05, 2006 8:18 am
Location: the netherlands

Post by ryuuka »

it is i guess

but it isn't that much of a problem many people
in this company (as i said) don't know a thing about computers
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

Then I suggest not to add any obscurity to your system at all.
Post Reply