Running AWF on Windows
As you can't use the default configuration of XAMPP, here's a short howto for those who want to try AWF 2.10 on a Windows box. I had Windows 2000 SP4, XAMPP 1.5.1 and Firefox 1.5 installed on my system, but Windows XP or Server 2003 and Internet Explorer should work as well.
- Download and install XAMPP in C:\Program Files\xampp. Don't enable FTP, if you don't need it for something else. Run Apache and MySQL as service.
- Open the XAMPP directory.
- Edit apache\conf\httpd.conf. Uncomment mod_rewrite and make sure the other settings look like this:
LoadModule rewrite_module modules/mod_rewrite.so
[...]
<Directory "C:/Program Files/xampp/htdocs">
AllowOverride All
Options Indexes FollowSymLinks Includes
Allow from all
</Directory>
- Edit apache\bin\php.ini and set magic_quotes_gpc = Off:
[...]
; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = Off
; Magic quotes for runtime-generated data
magic_quotes_runtime = Off
; Use Sybase-style magic quotes
magic_quotes_sybase = Off
[...]
- Create user and database using phpMyAdmin. If it's just for testing, you can call them "awf" for example. Make sure, that user has full permissions for the database and remember the password.
- Download AWF (2.10-beta2 or later) and untar/unzip the archive in C:\Program Files\xampp\htdocs. Make sure that empty directories (like C:\Program Files\xampp\htdocs\templates_c) are created. Filzip didn't create them, so I had to install cygwin and extract the archive with tar -xzf awf-daily.tar.gz. Maybe the ZIP software that comes with Windows XP is better. You need the empty directories for caching or you will just see a white page if they don't exist.
- (Re-)Start Apache and MySQL. Make sure Apache has write permissions for all files in the htdocs directory.
- Run http://localhost/admin/install.php and select MySQL >= 4.1 as database. Enter C:/Program Files/xampp/htdocs/ as Base Directory Path.
- AWF should be installed now! Open http://localhost/admin/documents.php to test it.
- Edit the Default URL for the Default site (click on the site icon). If AWF is installed on the local computer, it is http://localhost/ or http://localhost:8080/ (if Apache is running on Port 8080).
Created: 12.01.2006 01:00 CET, Last Change: 19.01.2006 09:51 CET by admin






