最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
Apache错误提示:Invalid command ScriptAlias
时间:2022-06-25 00:23:01 编辑:袖梨 来源:一聚教程网
在apache启动我们会发现错误日志中会有
Syntax error on line 16 of /etc/apache2/sites-enabled/project: Invalid command 'ScriptAlias', perhaps misspelled or defined by a module not included in the server configuration Action 'configtest' failed. The Apache error log may have more information. ...fail! 提示了
虽然不懂英文但是大概看会发现是别名的原因了,下面我们只要加载一个模块即可解决了。
解决方法:
在终端里输入如下命令即可:
代码如下 | 复制代码 |
sudo a2enmod authz_host; |
相关文章
- 《向僵尸开炮》百分比宝石选择推荐 06-15
- 《幽游白书宿命觉醒》新版神秘商店购买推荐2025 06-15
- 《纸嫁衣1》全章节通关攻略 06-15
- 《世界启元》S8赛季刘秀主动队玩法攻略 06-15
- 《向僵尸开炮》国际服奖牌竞赛活动介绍 06-15
- 《世界启元》S8赛季华莱士贞德阵容攻略 06-15