phpcode Posted February 23, 2008 Share Posted February 23, 2008 I've created a .htaccess file but when I goto a php page I get an internal server error. I've got it to work for protecting directorys but it wont work for this: <FilesMatch "^.*.png"> SetHandler application/x-httpd-php </FilesMatch> It worked in http.conf but I just want it to run in 1 directory not all of them. Can anyone tell me why it's giving me an error? Link to comment https://forums.phpfreaks.com/topic/92529-internal-server-error/ Share on other sites More sharing options...
phpcode Posted February 29, 2008 Author Share Posted February 29, 2008 Can anyone help? Link to comment https://forums.phpfreaks.com/topic/92529-internal-server-error/#findComment-479987 Share on other sites More sharing options...
PFMaBiSmAd Posted February 29, 2008 Share Posted February 29, 2008 Check your web server log file to find out what the error actually is. Link to comment https://forums.phpfreaks.com/topic/92529-internal-server-error/#findComment-480003 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.