简体   繁体   中英

Apache : SetEnv not allowed here in apache logs

I have problems to launch a web application : i get the following error :

C:/wamp/www/dev/htdocs/.htaccess: SetEnv not allowed here

Does anyone know how to fix this ? thanks in advance

In order to use SetEnv within a .htaccess file, you need to set... AllowOverride FileInfo ...within the relevant virtualhost directory block. (And then restart the httpd service as per usual.)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM