Fixing the environment on the .htaccess file