Jump to content
zitu4life

Can someone find what is wrong in this htaccess code?

Recommended Posts

Hello there

Can some one find what is wrong in this .htaccess code, and what could be possible solution to try?

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.)crm.php(. )$ /admin/crm.php [QSA, L]

<Limit PUT DELETE OPTIONS>
Order allow,deny
Allow from all
</Limit>

After run this n this website http://www.htaccesscheck.com/

I receive that there is error on line 3

RewriteRule ^(.)crm.php(. )$ /admin/crm.php [QSA, L]

image.png.d4fcd814a50cba38463c74bddef4e448.png

that issue is causing 500 Internal Server Error

Any idea how to fix it?

Thank you!

Share this post


Link to post
Share on other sites

Have you tried removing the bit between the .php and $? 
The "." means a single character, and the empty space? What's the point of that entire part?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated