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? Quote 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? Quote 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. Quote Link to comment https://forums.phpfreaks.com/topic/92529-internal-server-error/#findComment-480003 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.