Page 1 of 1

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

Posted: Wed Feb 14, 2007 6:22 am
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?

Posted: Wed Feb 14, 2007 9:40 am
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?

Posted: Thu Feb 15, 2007 1:15 am
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) :)

Posted: Thu Feb 15, 2007 2:44 pm
by volka
Sounds like security by obscurity to me.

Posted: Fri Feb 16, 2007 1:14 am
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

Posted: Fri Feb 16, 2007 6:12 am
by volka
Then I suggest not to add any obscurity to your system at all.