[oe] OE website upgraded to drupal 5.2 => ViewMTN via apache2
Roger Meier
roger at bufferoverflow.ch
Mon Sep 10 10:24:02 UTC 2007
Hi Koen
ViewMTN via apache2 is running on my Debian etch Installation(see
http://www.bufferoverflow.ch/viewmtn/viewmtn.py/)!
Just do the following step's on the server:
apt-get install libapache2-mod-fastcgi python-flup python-cheetah
gnome-icon-theme highlight shared-mime-info
# cheetahtemplate => debian sarge Versions are needed !!!
wget
http://ftp.de.debian.org/debian/pool/main/c/cheetah/python2.4-cheetah_0.9.16-1_i386.deb
wget
http://ftp.de.debian.org/debian/pool/main/c/cheetah/cheetah-common_0.9.16-1_all.deb
dpkg -i python2.4-cheetah_0.9.16-1_i386.deb cheetah-common_0.9.16-1_all.deb
Apache Config:
<Directory "/var/www/viewmtn/">
# ExecCGI privilege is required to run the
# ViewMTN process
Options +ExecCGI
# Make sure you update config.py with this URL.
<Files viewmtn.py>
SetHandler fastcgi-script
</Files>
</Directory>
greetings,
roger
Quoting Koen Kooi <k.kooi at student.utwente.nl>:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Roger Meier schreef:
>> Quoting Koen Kooi <k.kooi at student.utwente.nl>:
>>
>> Koen Kooi schreef:
>>>>> Koen Kooi schreef:
>>>>>> Roger Meier schreef:
>>>>>>> Hi Koen
>>>>>>> Which drupal and module versions did you use before upgrade?
>>>>>>> There are still some issues with the wiki headings.
>>>>>>> e.g. on page http://www.openembedded.org/wiki/GettingStarted
>>>>>> That is manually inserted html, so probably the content-type for
>>>>>> wiki needs to get
>>>>>> cascaded or we have to patch the markup filter.
>>>>> The correct answer was: "we have to patch the markup sanitizer",
>>>>> which I did :) The wiki
>>>>> works as expected now, the only issue left is the reversed news.
>> The reversed news issue turned out to be a case of one
>> 'db_rewrite_sql()' too many, this
>> is fixed now.
>>> Great!
>>
>> The current TODO:
>>> just drop a line if you need a hand on one of these topics!
>
> *drops line* :)
>
>>
>> * unify tinderbox, viewmtn, org.oe.documentation and main website css
>>> It would be great to have viewmtn integrated into apache webserver.
>>
>>> The URL http://www.openembedded.org:1081/ would not be accessible on
>>> every network(e.g. corporate networks)
>>
>>> The following manual describes the way to do this:
>>> http://viewmtn.angrygoats.net/revision/file/6971b1ddbf5c30977d1c306f3baa120d709d474e/INSTALL
>
> That sadly doesn't work since it does somewhere in the fastcgi
> process. I haven't been
> able to figure out was is going wrong :( The interim solution was to
> use the web.py
> approach which is running now.
>
>> * make everything conform to standards (xhtml?)
>>> Most drupal sites conform to xhtml.
>>> There are just a few Error's left:
>>> http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.openembedded.org%2F
>
> I don't know anything about html other than <center> and <br> ;)
>
> regards,
>
> Koen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFG5BycMkyGM64RGpERAgboAKCwsUpiHqxZ6cicGWjlQkfOsWu3TgCfWFS4
> QHX3F2eluir845MJmcURYx8=
> =0MkB
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
# Copyright (C) 2005 Grahame Bowland <grahame at angrygoats.net>
#
# This program is made available under the GNU GPL version 2.0 or
# greater. See the accompanying file COPYING for details.
#
# This program is distributed WITHOUT ANY WARRANTY; without even the
# implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
# PURPOSE.
#
# config.py
#
# This python script is imported by ViewMTN
# Note that changes to the script may not be
# noticed immediately by ViewMTN, as mod_python
# caches imported Python modules.
#
# If config changes are not picked up, reloading
# the web server should solve the issue.
#
import sys
# default addresses should work without modification
# if running viewmtn standalone. You must change these
# if you run viewmtn with a web server, see INSTALL.
dynamic_uri_path = 'http://www.bufferoverflow.ch/viewmtn/viewmtn.py/'
static_uri_path = 'http://www.bufferoverflow.ch/viewmtn/static/'
# if you are running under Apache2, set this.
# don't set it otherwise, it breaks any other configuration
# including running standalone.
running_under_apache2 = True
# the path to the 'mtn' binary
monotone = '/usr/bin/mtn'
# the monotone database to be shared out
# everything in this database should be considered subject
# to disclosure. So don't store your private key in
# it!
dbfile = '/var/www/viewmtn/OE.mtn'
# highlight from http://andre-simon.de/
# if you don't have this available, just comment
# the "highlight_command" line out
highlight_command = '/usr/bin/highlight'
graphopts = {
# a directory (must be writable by the web user)
# in which viewmtn can output graph files
# (you should set up a cronjob to delete old ones
# periodically)
'directory' : '/tmp/viewmtn-graph/',
# a URL, relative or absolute, at which the files
# in the 'graphdir' directory can be found. Should
# end in a '/' character
'uri' : 'graph/',
# the path to the 'dot' program
'dot' : '/usr/bin/dot',
# options to use for nodes in the dot input file
# we generate.
'nodeopts' : { 'fontname' : 'Monaco',
'fontsize' : '8',
'shape' : 'box',
'height' : '0.3',
'spline' : 'true',
'style' : 'filled',
'fillcolor' : '#dddddd' }
}
# Icon Theme to use for icons; 'gnome' is a safe value,
# as is 'hicolor'. Note that icon_size must be a string,
# not an integer
icon_theme = 'gnome'
icon_size = '16'
More information about the Openembedded-devel
mailing list