Forum Moderators: phranque
This code just stopped working:
<FilesMatch ^(login)$>
ForceType application/x-httpd-php
</FilesMatch>
<FilesMatch "^(activate)$">
SetHandler application/x-httpd-php
</FilesMatch>
I had a company make a dynamic website for me with SEO URLs and this is how they decided to do it:
- a file called just "login" instead of "login.php"
- that file login accessible through myurl.com/login/ rewritten to that login php file as seen above
It was weird, but worked great until now.
Now when you pull up myurl.com/login/ it gets a 404
And when you pull up myurl.com/login (the file itself) it shows the php code like it's a text file.
Any thoughts? I'm pulling hair!
Thanks!