ubuntu apache cgi You don't have permission to access /cgi-bin/ on this server.

1:

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

错误截图:

ubuntu apache cgi You don't have permission to access /cgi-bin/ on this server._第1张图片

2:解决方法

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


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

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

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

ubuntu apache cgi You don't have permission to access /cgi-bin/ on this server._第2张图片



3:测试apache工作正常


ubuntu apache cgi You don't have permission to access /cgi-bin/ on this server._第3张图片

4:正常解析cgi程序

ubuntu apache cgi You don't have permission to access /cgi-bin/ on this server._第4张图片

你可能感兴趣的:(apache,工作,测试,ubuntu,cgi,Access)