Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old June 30th, 2009, 06:45 PM
C4talyst C4talyst is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Jun 2009
Posts: 1 C4talyst User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 26 sec
Reputation Power: 0
IIS - Other - Htaccess in IIS

Hello,

I have a website that's recently been migrated from Linux/Apache to Windows/IIS. It's a rather basic php/mysql system and we've only encountered one issue so far.

This site has a members-only directory which requires a login (handled by php) for access. When the site was developed, a .htaccess file was used to limit access to items in that folder. Basically the .htaccess file instructed the web server to require users to login through auth.php when they attempted to access files with a certain extention.

Here is a copy of the .htaccess file:

Code:
AddHandler admin .jpg
AddHandler admin .gif
AddHandler admin .png
AddHandler admin .tiff
AddHandler admin .bmp
AddHandler admin .txt
AddHandler admin .rtf
AddHandler admin .doc
AddHandler admin .docx
AddHandler admin .docm
AddHandler admin .dotx
AddHandler admin .dotm
AddHandler admin .xls
AddHandler admin .xlsx
AddHandler admin .xlsm
AddHandler admin .xltx
AddHandler admin .xltm
AddHandler admin .xlsb
AddHandler admin .xlam
AddHandler admin .ppt
AddHandler admin .pptm
AddHandler admin .potx
AddHandler admin .potm
AddHandler admin .ppam
AddHandler admin .ppsx
AddHandler admin .ppsm
AddHandler admin .pdf
AddHandler admin .3gp
AddHandler admin .asf
AddHandler admin .asx
AddHandler admin .avi
AddHandler admin .mov
AddHandler admin .mp4
AddHandler admin .mpg
AddHandler admin .qt
AddHandler admin .rm
AddHandler admin .swf
AddHandler admin .wmv
AddHandler admin .aac
AddHandler admin .aif
AddHandler admin .iff
AddHandler admin .m3u
AddHandler admin .mp3
AddHandler admin .mpa
AddHandler admin .ra
AddHandler admin .ram
AddHandler admin .wav
AddHandler admin .wma
AddHandler admin .zip

Action admin /members-only/auth.php


I've seen plenty of discussions around the 'net which address migrating a htaccess file to IIS; however, none of them address the usage of AddHandler in a htaccess file.

Would anyone here be able to point me towards any method which would allow this very simple system to continue working under IIS?

Thanks!

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > IIS - Other - Htaccess in IIS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump





 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 3 Hosted by Hostway
Stay green...Green IT