Jump to content

Internal Server Error


phpcode

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.