Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th November 2007, 02:06
chillifire chillifire is offline
HowtoForge Supporter
 
Join Date: Oct 2007
Posts: 75
Thanks: 3
Thanked 3 Times in 3 Posts
Default The perfect Server Ubuntu 7.10 - CGI and webalizer

Hi,
thanks for the great and detailed guide. Without it, it would have been much harder for sure. I have had some trouble with SSL but have resolved it with some research (google) and have posted a viable resolution as comment to the HowTo for your kind consideration.

I still have two outstanding questions in non-ISPConfig scenarios:
1) Where is the cgi-bin in this installation? Is it the /usr/lib/cgi-bin ? And how can I change that to /var/www/cgi-bin ?

Is that as easy as changing the file /etc/apache2/sites-enabled/ssl ?
I mean changing the lines:
[...]
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
[...]
</Directory>
[...]

to:

[...]
ScriptAlias /cgi-bin/ /var/www/cgi-bin/
<Directory "/var/www/cgi-bin">
[...]
</Directory>
[...]

and of course:
sudo mkdir /var/www/cgi-bin

A little voice tells me there has to be more to it, and I don't want to screw up apache2 now that i finally works. Your thoughts?

2) I thought I installed webalizer through apt-get install webalizer. But all I can see is an empty /var/www/webalizer. What do I need to do to truely activate it? Please advise.

Thanks again

Hanno
Auckland, New Zealand
Reply With Quote
Sponsored Links
  #2  
Old 4th November 2007, 10:19
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 34,642
Thanks: 793
Thanked 5,000 Times in 3,911 Posts
 
Default

1) This should be sufficient. The cgi directory is just any directory defined by the script alias directive.

2) Have a loook at the webalizer configuration files (in /etc/webalizer/ if I remember correctly) and check that the path to the logfiles and output directory is correct. Then check if webalizer is run in cron.daily. You can run the script in cron.daily manually to test webalizer.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 15:18.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.