1
General Discussion / A lil apachectl help please?
« on: August 22, 2004, 02:28:06 pm »Quote
OK, that's the same version that I'm running on my SL-C860.Sweet Jesus, it worked!
I didn't bother with the extra scripts, just modified the version of apachectl that was in the IPK as follows...
PIDFILE=/home/www/logs/httpd.pid
HTTPD='/home/www/bin/httpd'
Then made a couple of symlinks as follows...
ln -s /home/www/bin/apachectl /etc/rc.d/init.d/apachectl
ln -s /etc/rc.d/init.d/apachectl /etc/rc.d/rc5.d/S99apache
Then either restart or 'su -' and run /etc/rc.d/init.d/apachectl start to start the server.
I also made couple of mods to httpd.conf because I wanted the server to run on a different port and use a different userid to nobody:nobody but you shouldn't need these to get going.
Hope this helps,
Andy
I owe you my first-born; comes complete with dirty diapers, sleep-less nights, and a hefty college tuition.
Thanks!