Hello, i have this URL: mysite.com/recover/KNYtE3gD0xCRlkesoLJK42OhN
that returns Internal Server Error
URL mysite.com/recover works just fine!
where recover is php file and i expect KNYtE3gD0xCRlkesoLJK42OhN is value of GET
And here is my .htaccess:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteCond %{REQUEST_URI} !/$
RewriteRule (.*) $1\.php [L]
ErrorDocument 404 mysite.com/404
Options -Indexes
Whats could be wrong?
Gandalf
2
Iām no expert with htaccess, but I image the serer is looking for
mysite.com/recover/KNYtE3gD0xCRlkesoLJK42OhN.php
Is that what you want?
1 Like
Nope recover is a php file not the code
rpkamp
5
Would you mind sharing how, for posterity?
1 Like
I was using one of my own codes. ā¦ It used modules folder and a if statement to control pages. I tried to do it without it.
system
Closed
7
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.