This repository has been archived on 2025-05-24 . You can view files and clone it, but cannot push or open issues or pull requests.
4dec5cf83e5d7afd1008a29a855a1edb0da7cff1
WineHQ Application Database
#------------------------------------------------------------------------#
Authors:
Jeremy Newman <jnewman@codeweavers.com>
Charles Leop <charles@codeweavers.com>
Contributors:
Paul van Schayck <polleke@gmail.com>
Chris Morgan <cmorgan@alum.wpi.edu>
Tony Lambregts <tony_lambregts@telusplanet.net>
Jonathan Ernst <Jonathan@ErnstFamily.ch>
To install locally for testing/hacking:
#------------------------------------------------------------------------#
# Symlink from /var/www to the appdb directory
# Copy include/config.php.sample to include/config.php
# Edit include/config.php as you see fit, the default name of the database
used in the table creation step below is "apidb", you'll have to modify
these files if you change this in config.php
# cd tables, run ./create_tables to create the database tables
# Try to open up localhost/appdb, if you get a directory listing
Edit your /etc/apache/httpd.conf "DirectoryIndex" to include index.php
so apache will open index.php after not finding index.html/index.htm etc
# Check your /etc/php/php.ini to ensure that
'register_globals = On' (variables won't get passed)
'magic_quotes_gpc = Off' (you would end up with \ everywhere)
'session.bug_compat_42' = On' (Problem with auto-globals and session variables)
# An AppDB admin user has been automatically created while running
the create_tables script
username: admin
password: testing
You should change the password as soon as possible!
#------------------------------------------------------------------------#
You can create ether set up a real bugzilla database or a fake one
# cd tables, run ./create_bugzilla_tables to create the fake bugzilla tables
#------------------------------------------------------------------------#
# or installing a real bugzilla database (hope this helps)
# download buzilla (password for cvs is cvs)
cd /var/www/html
export CVSROOT=:pserver:cvs@cvs.winehq.org:/home/wine
cvs login
cvs -z 0 checkout bugzilla
# change directory to bugzilla and change the group ownership to apache.
cd bugzilla
chgrp -R apache .
chmod -R g+rX .
# change to su and run ./checksetup.pl and fix up what it finds wrong.
# this may take several runs
su
./checksetup.pl
# in the /etc/httpd/conf/hppt.conf file find "AddHandler cgi-script .cgi" and add the following.
<Directory "/var/www/html/bugzilla">
Options ExecCGI
AllowOverride Limit
Order allow,deny
Allow from all
</Directory>
# edit local config as nessary to allow access.
Description
Languages
PHP
56.7%
JavaScript
31%
HTML
9.3%
CSS
2.6%
Perl
0.4%