2014-03-01 4 views
0

가상 머신에 apache2에 Ubuntu 13.10을 설치하려고합니다. Awstats installation우분투와 함께 apache2에 awstats 설치하기 13.10

내가 이렇게 내 가상 머신에 액세스하기 위해 포트를 사용 : "myname.es:port"

내가이 줄에 포트를 추가해야 이것은 내가 다음 튜토리얼은? 내가 다음 코드를 /etc/apache2/sites-available/000-default.conf에

Alias /awstatsclasses "/usr/share/awstats/lib/" 
    Alias /awstats-icon "/usr/share/awstats/icon/" 
    Alias /awstatscss "/usr/share/doc/awstats/examples/css" 
    ScriptAlias /awstats/ /usr/lib/cgi-bin/ 
    Options ExecCGI -MultiViews +SymLinksIfOwnerMatch 

을 붙여 가지고 내가 오류를 참조 아파치를 다시로드 할 때

SiteDomain="yourdomain.ext" 
    HostAliases="localhost 127.0.0.1 yourdomain.ext" 

나는 또 다른 문제가있다 : 내가 000-default.conf에서 "옵션 ExecCGI를 -MultiViews + SymLinksIfOwnerMatch가"선을 언급하는 경우

* Reloading web server apache2            * 
    * The apache2 configtest failed. Not doing anything. 
    Output of config test was: 
    AH00526: Syntax error on line 20 of /etc/apache2/sites-enabled/000-default.conf: 
    Either all Options must start with + or -, or no Option may. 
    Action 'configtest' failed. 
    The Apache error log may have more information. 

오류가 사라하지만 난 사용 awstats에 액세스 할 수 없습니다

,536,
http://mydomain.ext/awstats/awstats.pl 

내 폴더에는 "/ var/www"에 awstats.pl 파일이 포함 된 awstats라는 폴더가 없기 때문입니다.

많은 자습서를 시도했지만 잘못하고 있는지 모릅니다. 누구든지 나를 도울 수 있습니까? 감사합니다

답변

3

+ 앞에 ExecCGI을 추가하십시오. 그런 다음 다시로드하십시오.