New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Setting up on Bubba Two Webalizer

Got problems with your B2 or B3? Share and get helped!
Post Reply
paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Setting up on Bubba Two Webalizer

Post 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
Binkem
Posts: 388
Joined: 10 Jul 2008, 02:26

Re: Setting up on Bubba Two Webalizer

Post 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?
paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Setting up on Bubba Two Webalizer

Post by paulchany »

It's not missing the / slash between www and webalizer?
No! I copied here the lines from there.
--
Regards,
Paul Chany
Best, Pali
asparak
Posts: 173
Joined: 08 Jun 2009, 07:38

Re: Setting up on Bubba Two Webalizer

Post by asparak »

Is var/www/webalizer readable by the webserver user?
paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Setting up on Bubba Two Webalizer

Post 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?
Best, Pali
paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Setting up on Bubba Two Webalizer

Post 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?
Best, Pali
Post Reply