Apache

Page last edited 1 140 giorni 10 ore fa
Da wiki.betaingegneria.it.

Attivare mod_rewite[modifica]

  marcob@jsbach:/var/www/html/api$ sudo a2enmod rewrite
  [sudo] password for marcob: 
  Enabling module rewrite.
  To activate the new configuration, you need to run:
    service apache2 restart
  marcob@jsbach:/var/www/html/api$ sudo service apache2 restart
   * Restarting web server apache2                       [ OK ]

Controllo che il modulo sia stato attivato invocando phpinfo

  Configuration
  apache2handler
  Loaded Modules       core mod_so mod_watchdog http_core mod_log_config mod_logio mod_version mod_unixd mod_access_compat mod_alias mod_auth_basic mod_authn_core mod_authn_file mod_authz_core mod_authz_host mod_authz_user
                       mod_autoindex mod_deflate mod_dir mod_env mod_filter mod_mime prefork mod_negotiation mod_php5 mod_rewrite mod_setenvif mod_status

OK