Hope this helps,

What I did was setup a script that actually deletes the httpd.conf and php.ini files, and then creates links to my database folders and config files that are stored on my pen memory device. This way, I don't lose any of the data during a reboot.

#!/bin/sh

chmod 777 -R /etc/apache
chmod 777 -R /var/www
chmod 777 -R /etc/php4/apache

rm /etc/apache/httpd.conf

rm /etc/php4/apache/php.ini

ln -s /mnt/sda1/httpd.conf /etc/apache/httpd.conf
ln -s /mnt/sda1/htdocs /var/www/htdocs
ln -s /mnt/sda1/php.ini /etc/php4/apache/php.ini

apachectl start

chmod 777 -R /var/lib/mysql

ln -s /mnt/sda1/citydata /var/lib/mysql/citydata

/usr/bin/mysqld_safe &

echo "Done with setup"


MadWebGuru
Bruce