| www.opensourcewebbook.com | ||
| Page Path - Sourcecode | ||
|
Sourcecode The souce code for all of the examples from Open Source Web Development with LAMP is available for download (to access this tar file, you need a username/password). To use this tarfile, save it in a convenient location, such as /tmp/oswb.tar.gz and do the following:
# cd /var
# mv www www.old
# mkdir www
# chown jrl www
# su - jrl
$ cd /var/www
$ tar xzvf /tmp/oswb.tar.gz
The user jrl can be whatever user you want that will be able to modify the files on the website. Then, add the contents of /var/www/conf/httpd.conf to the bottom of /etc/httpd/conf/httpd.conf. You are now ready to restart the server:
# /etc/init.d/httpd restart
Now, http://localhost/ should be a familiar-looking website. And all the examples from the book will be resident under /var/www. The sourcecode for the Open Source products discussed in Open Source Web Development with LAMP:
|