ScriptAlias /awstats/ "/usr/local/awstats/wwwroot/cgi-bin/" # Directives to allow use of AWStats as a CGIĪlias /awstatsclasses "/usr/local/awstats/wwwroot/classes/"Īlias /awstatscss "/usr/local/awstats/wwwroot/css/"Īlias /awstatsicons "/usr/local/awstats/wwwroot/icon/" Reinstated the AWStats configuration changes to etc/apache2/nf: # Then: a2enmod cgiĬommented out the changes AWStats had made, ran a2enmod, restarted and 'Hello World' worked. To do so, first remove (or comment out) the things you've already added. Note that in Debian, there's an advanced configuration system which would have done all of this for you, if you would have used it -) What you want to do is ensure that you have something like That means you haven't configured authorization for your webserver. Posted a more useful question, joined the Debian email list and was referred to the docs: /usr/share/doc/apache2/README.Debian then got the following SO response: Hmmm: AH01630: client denied by server configuration: /usr/local/apache2 Cool!Ĭhecked Apache error log: $ sudo cat /var/log/apache2/error.log Shows a tree of files, ownerships and permissions. Someone at Linode (web hosting) recommended using to check file permissions: sudo apt-get install tree Played around with changing ownerships of various files to and from root:root, myusername:www-data. Made sure all permissions were 755 for directories and 644 for files. First (useful) thing I did was just post a simple "hello world" script in the cgi-bin: #!/usr/bin/perl
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |