我尝试在.htaccess文件中定义一个环境变量,然后使用该变量运行重写条件。以下是我的.htaccess文件中的内容,但重写不起作用:#set to 'live' or 'maintenance'RewriteCond %{ENV:ENVIRONMENT} maintenance
RewriteRule ^(.*)$ /maintenanc
现在我的站点显示drupal内部服务器错误。Internal Server Error
The server encountered an internal error or misconfiguration and was unable toPlease contact the server administrator, webmaster@xxxxxx.xx and inform them of the time the error occurredMore in