Apparently IIS does not work with .htaccess files, I get only an HTTP 500 error when accessing that directory, I discovered this attempting to work on a dynamic sig for PHP forums, I am curious if there is another way to mock this or a work around all together? Thanks.
Page 1 of 1
Is there an alt. way of using .htaccess file in IIS?
#2
Posted 21 November 2006 - 02:01 PM
For those that would like an answer for this, I got some outstanding assistance, (via another forum BTW.)
[ QUOTE ] the .htaccess is the file that IIS won't like. All you have to do is change sig.jpg to sig.php and link to it in forums by:
If forums won't allow that as an image, you'll have to change what your server thinks of .jpg files. Set it to parse them as php.
To do this in IIS you need to (as far as I know):
open IIS
right click on the folder containing your sig.jpg file
select 'properties'
click on the 'http headers' tab
click 'file types' in the 'MIME map' section
add a new type with
Associated extension: .jpg
Content type (MIME): application/x-httpd-php [ /QUOTE ]
[ QUOTE ] the .htaccess is the file that IIS won't like. All you have to do is change sig.jpg to sig.php and link to it in forums by:
[CENTER][URL="HTTP://WebsiteAddress.EXT/Directorie(s)/FileName.EXT"][IMG]HTTP://WebsiteAddress.EXT/Directorie(s)//Sig.PHP[/IMG][/URL][/CENTER]
If forums won't allow that as an image, you'll have to change what your server thinks of .jpg files. Set it to parse them as php.
To do this in IIS you need to (as far as I know):
open IIS
right click on the folder containing your sig.jpg file
select 'properties'
click on the 'http headers' tab
click 'file types' in the 'MIME map' section
add a new type with
Associated extension: .jpg
Content type (MIME): application/x-httpd-php [ /QUOTE ]
This post has been edited by RexxCrow: 21 November 2006 - 02:03 PM
- ← High IIS Priority
- Server - Side Help (IIS, Apache, etc.)
- Anyone know a good transparent caching proxy for windows? →
Share this topic:
Page 1 of 1



Help
Back to top








