Tibia 0.1 DOM-based website editor

Robert Brewer fumanchu at amor.org
Fri Dec 10 19:31:18 CET 2004

Dirkjan Ochtman wrote:
> > Stick the single tibia.tba file on your webserver (assuming 
> Python is
> > installed) and you're off and editing files in the same 
> folder or below.
> > Admins can edit any element; non-admins can edit any 
> element for which
> > admins give them permission.
> - Stuck in /var/www/localhost/cgi-bin/
> - Changed permissions to 755
> - Renamed to tibia.cgi
> ... 500 Internal Server Error.
> I don't have a lot of experience with CGI, though, so any 
> help would be welcome.

Tibia expects your file to be named "tibia.tba", and makes requests to
show the toolbar and other resources using that name. You'll have to do
one of the following:

1. Name it back to tibia.tba and tell your webserver that .tba is a CGI
extension. This is the preferred method. In Apache, add the line
"AddHandler cgi-script .tba" to your httpd.conf. You may wish to limit
this to a Directory section.
2. Edit tibia.tba and replace all occurrences of "tibia.tba" with
3. Use mod_python, which would allow you to call tibia.py from your
site-packages directory. Details inside tibia.tba, in the
mod_python_handler function docs.

Robert Brewer
Amor Ministries
fumanchu at amor.org

More information about the Python-list mailing list