This is my code in .htaccess:
RewriteEngine On
RewriteRule ^(.*)$ framework/public_html/index.php/$1 [PT,L]
I’m getting “Internal Server Error”. What’s wrong?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try this:
http://www.domain.com/sub/folder/me=>[REQUEST_URI] => /sub/folder/meFirst, when you want to redirect (.*) it also try to redirect to itself that is why you have a 500 error. so by saying: if it’s not (!^)
/framework/public_html/then redirect to this URL.QSA: Query string append means if you have ?var=1 it will use it and append to the redirected string.
NC: Non Case means capital letters and lower case letters are the same.