RexxCrow Posted November 19, 2006 Share Posted November 19, 2006 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. Link to comment Share on other sites More sharing options...
RexxCrow Posted November 21, 2006 Author Share Posted November 21, 2006 (edited) 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:[CENTER][URL="HTTP://WebsiteAddress.EXT/Directorie(s)/FileName.EXT"][img=HTTP://WebsiteAddress.EXT/Directorie(s)//Sig.PHP][/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 IISright click on the folder containing your sig.jpg fileselect 'properties'click on the 'http headers' tabclick 'file types' in the 'MIME map' sectionadd a new type withAssociated extension: .jpgContent type (MIME): application/x-httpd-php [ /QUOTE ] Edited November 21, 2006 by RexxCrow Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now