Pages: [1]
  Print  
Author Topic: Configuration/Webserver/Apache  (Read 4762 times)
amlucent23
Newbie
*

Karma: 0
Offline Offline

Posts: 6


View Profile
« on: June 20, 2007, 10:52:29 AM »

Man, I am excited about Bongo! I was really excited about Hula until...  Cry

I thought I would give Bongo a look. I got to configuring the apache server (http://www.bongo-project.org/Configuration/Webserver/Apache)before I got lost.  Huh (I am using ubuntu 7.04) First, it directs me to bongo.conf in the /usr/share/doc/bongo/ directory but I have 3 folders in this (doc) directory none are named bongo. They are named bongoproject-data, bongoproject-web, and bongoproject and none of them contain any bongo.conf.

My next question probably has more to do with me never using apache before, but what file am I suppose to add this to?

Code:
<IfModule mod_python.c>
Alias /bongo_dir $prefix/share/bongo/htdocs/

<Location /bongo_dir>
    Order allow,deny
    Allow from all
    Options +FollowSymlinks
</Location>

<Location /user>
    Order allow,deny
    Allow from all

    SetHandler python-program
    PythonPath "['$prefix/lib/python2.4/site-packages']+sys.path"
    PythonHandler bongo.dragonfly.Server
    PythonOption DragonflyUriRoot "/user"
    PythonDebug On
</Location>

<Location /history>
    Order allow,deny
    Allow from all

    SetHandler python-program
    PythonPath "['$prefix/lib/python2.4/site-packages']+sys.path"
    PythonHandler bongo.dragonfly.HistoryServer
    PythonOption DragonflyUriRoot "/history"
    PythonDebug On
</Location>

<Location /admin>
    Order allow,deny
    Allow from all

    SetHandler python-program
    PythonPath "['$prefix/lib/python2.4/site-packages']+sys.path"
    PythonHandler bongo.hawkeye.Server
    PythonOption HawkeyeUriRoot "/admin"
    PythonOption HawkeyeTmplRoot "$prefix/share/bongo/hawkeye/psp"
    PythonDebug On
</Location>
</IfModule>

The instructions for this part are as clear (to me anyways) as mud. Am I adding it to the dragonfly.html or the bongo.conf or even this mysterious apache script? btw Can someone tell me where to find this apache script it mentions? Huh

Thanks for any help in advance!  Kiss
Logged
barra
Newbie
*

Karma: 0
Offline Offline

Posts: 3



View Profile
« Reply #1 on: June 21, 2007, 03:52:46 AM »

i have the same problem.  Huh Huh
Logged

Barra.....
amlucent23
Newbie
*

Karma: 0
Offline Offline

Posts: 6


View Profile
« Reply #2 on: June 22, 2007, 10:10:26 AM »

LOL.. these forums could be a bit more active.. huh. Too bad to, I think Bongo/Hula was a excellent idea and looked very promising but I think they are having a hard time getting people involved. Man I wish I could program, but then again I'm not even sure what language this is written in.
Logged
amlucent23
Newbie
*

Karma: 0
Offline Offline

Posts: 6


View Profile
« Reply #3 on: June 26, 2007, 07:48:45 PM »

I got the answer!!!!

I caught jonnylamb on irc and brought this to his attention. he told me to do this:

Code:
sudo gedit /etc/apache2/sites-available/bongo
then paste this into the file:

Code:
<IfModule mod_python.c>
Alias / /usr/share/bongo/htdocs/

<Location />
    Order allow,deny
    Allow from all
    Options +FollowSymlinks
</Location>

<Location /user>
    Order allow,deny
    Allow from all

    SetHandler python-program
    PythonPath "['/usr/lib/python2.4/site-packages']+sys.path"
    PythonHandler bongo.dragonfly.Server
    PythonOption DragonflyUriRoot "/user"
    PythonDebug On
</Location>

<Location /admin>
    Order allow,deny
    Allow from all

    SetHandler python-program
    PythonPath "['/usr/lib/python2.4/site-packages']+sys.path"
    PythonHandler bongo.hawkeye.Server
    PythonOption HawkeyeUriRoot "/admin"
    PythonOption HawkeyeTmplRoot "/usr/share/bongo/hawkeye/psp"
    PythonDebug On
</Location>
</IfModule>

then run this command

Code:
sudo a2ensite bongo

just restart apache and try to reach the webmail page!
Logged
tank
Newbie
*

Karma: 0
Offline Offline

Posts: 1


View Profile
« Reply #4 on: September 18, 2007, 04:37:13 PM »

This did not work for me since I don't see the sites-available directory in apache2.  I am running OpenSUSE 10.2.  Can anyone help me find out how to configure apache2 correctly?

Thanks!
Logged
forcev
Newbie
*

Karma: 0
Offline Offline

Posts: 18


View Profile
« Reply #5 on: September 28, 2007, 08:02:48 AM »

tank,

What issues are you having and did you install from the RPMs?
Logged
Pages: [1]
  Print  
 
Jump to: