Page 1 of 1

Setting up on Bubba Two Webalizer

Posted: 04 Jan 2010, 15:57
by paulchany
Hi,

Happy New Year with Bubba Two! :D

I want to setup webalizer on Bubba Two.
I installed webalizer.

I edited the files:
/etc/apache2/sites-available/@bubba -> /usr/share/bubba-frontend/apache.site
/etc/apache2/sites-enabled/@bubba -> /etc/apache2/sites-available/bubba

I write in the both file in the <VirtualHost *:80> section this:

Code: Select all

        <Directory "/var/wwwwebalizer">                                                                                             
                AllowOverride None                                                                                                   
                Order allow,deny                                                                                                     
                Allow from all                                                                                                       
        </Directory>
and restart apache2 with:
# /etc/init.d/apache2 restart

Then I run the
/etc/cron.daily/webalizer
and get files in '/var/www/webalizer/' directory with index.html too.

and want to open webpage from my desktop system on LAN of Bubba Two:
http://bubba/webalizer
but get:
Not Found

The requested URL /webalizer was not found on this server.
Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 PHP/5.2.6-5ex1 with Suhosin-Patch mod_ssl/2.2.3 OpenSSL/0.9.8c Server at bubba Port 80

So, what am I missing here?

Any advices well be appreciated!

--
Regards,
Paul Chany

Re: Setting up on Bubba Two Webalizer

Posted: 04 Jan 2010, 16:09
by Binkem
<Directory "/var/www/webalizer">
AllowOverride None
Order allow,deny
Allow from all
</Directory>
It's not missing the / slash between www and webalizer?

Re: Setting up on Bubba Two Webalizer

Posted: 04 Jan 2010, 16:17
by paulchany
It's not missing the / slash between www and webalizer?
No! I copied here the lines from there.
--
Regards,
Paul Chany

Re: Setting up on Bubba Two Webalizer

Posted: 05 Jan 2010, 03:22
by asparak
Is var/www/webalizer readable by the webserver user?

Re: Setting up on Bubba Two Webalizer

Posted: 05 Jan 2010, 03:44
by paulchany
asparak wrote:Is var/www/webalizer readable by the webserver user?
root@bubba:/var/www# ls -ld webalizer
drwxr-xr-x 2 root root 4096 2010-01-04 20:25 webalizer

root@bubba:/var/www# ls -ld apache2-default/
drwxr-xr-x 2 root root 4096 2009-11-21 09:06 apache2-default/

but
root@bubba:/home# ls -ld web
drwxrwxr-x 4 www-data users 4096 2010-01-04 15:52 web

So the webserver user 'www-data' hasn't right to read neither '/var/www/apache2-default/' nor '/var/www/webalizer/' directory, but only '/home/web/' directory.

I changed the permissions for webalizer/ directory and now I have:
root@bubba:/var/www# ls -ld webalizer
drwxr-xr-x 2 root www-data 4096 2010-01-04 20:25 webalizer

restarted apache2, but still can't to open webalizer/index.html.

I think that the solution is mayhep that that I configure webalizer to put staff in to the /home/web/webalizer?

Re: Setting up on Bubba Two Webalizer

Posted: 07 Jan 2010, 14:09
by paulchany
I think that the solution is mayhep that that I configure webalizer to put staff in to the /home/web/webalizer?
I tried that but that isn't the solution, I still can't to open webalizer's webpage.
Has anyone the solution?