Candy's not working.htaccess to phpstorm.



  • I wish to make a single point of entry for further development, and PhpStorm (version 2016.1) does not wish to process .htaccess the file and redirect all requests to index.php

    Code:

    php_flag display_errors on
    php_flag display_startup_errors on
    php_value error_reporting 2047
    AddDefaultCharset UTF-8
    

    RewriteBase /
    RewriteEngine on

    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    RewriteRule ^(.*?)(/)?$ index.php?url=$1 [L]

    In index.php normal print_r($_GET)



  • The simplest option is to pointpad+++, and : I've been doing programming for eight years, and files like htaccess,host,vhosts, and even sql open in it. PHPShtorm,notepad+ itp just for code management,a in this case this code is performed on apache servere. Htaccess is intended for apache servers configuration in Runtime mode.




Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2