The problem is this. There is a demo folder. In it. Htaccess with such content

Allow from all

When I go to http: //mee/demo/index.php? Thm = typess, then using PHP displays the contents of GET, but if I go to http: // mee / demo /? Thm = typess, then $ _GET [ 'thm'] is an empty string. What can be wrong? Engine CMS DLE. Maybe the fact that there is a special htaccess in the root?

In general, help pliz. Thank you in advance.

  • The second url does not specify the script to which the get-request is transmitted. - Lucky
  • @Lucky So index.php. Always working, but in this case - no - inferusvv
  • Then try without the last slash. Maybe you are lucky :) - Lucky
  • @Lucky Yes, it's all about it. This is a problem with htaccess. Someone helped me solve this problem, but I don’t remember how. - inferusvv 5:46


1 answer 1

Try writing in .htaccess

DirectoryIndex index.php