红联Linux门户
Linux帮助

ubuntu apache cgi You don't have permission to access /cgi-b

发布时间:2016-01-14 10:42:40来源:linux网站作者:cos_sin_tan

1:错误提示:You don't have permission to access /cgi-bin/ on this server.

错误截图:

ubuntu apache cgi You don't have permission to access /cgi-b


2:解决方法

网上搜的一堆方法都不是很有效。郁闷下。不过后来看到一句话有点灵感

ubuntu apache cgi You don't have permission to access /cgi-b

不过具体的修改却跟这句话无关,修改的是;

/etc/apache2/sites-available/default   文件

具体修改如下:(#是原文件的内容)

ubuntu apache cgi You don't have permission to access /cgi-b


3:测试apache工作正常

ubuntu apache cgi You don't have permission to access /cgi-b


4:正常解析cgi程序

ubuntu apache cgi You don't have permission to access /cgi-b


Ubuntu 15.04下安装Apache 2.4.16:http://www.linuxdiyf.com/linux/13156.html

Ubuntu 14.04编译安装Apache:http://www.linuxdiyf.com/linux/10693.html

Linux实验报告-源代码编译安装Apache:http://www.linuxdiyf.com/linux/10856.html

Linux下卸载Apache后再安装Apache:http://www.linuxdiyf.com/linux/10293.html

Ubuntu 15.04安装配置Apache和mysql的方法:http://www.linuxdiyf.com/linux/13074.html