HostHawk
04-08-2001, 08:18 AM
I have just purchased raq4i and i am very confused on how to give my clients a link to manage the akopia shopping cart through their control panel... and how can i automate the auto uploading of certain files in cgi when new virtual site is created. Is it a cron job?
Hawk
Phiberop
04-08-2001, 03:45 PM
Not sure what exactly you are trying to do by auot uploading but if you mean you want to have a cgi-bin that is linked to each users web directory then this is how you do it.
via telnet as admin
mkdir /home/sites/home/web/cgi-pub/
chmod 755 /home/sites/home/web/cgi-pub/
Change to root (su -)
edit /etc/httpd/conf/httpd.conf with your favorite text editor
add this line anywhere in there:
ScriptAlias /cgi-pub/ /home/sites/home/web/cgi-pub/
then type: /etc/rc.d/init.d/httpd restart
Any scripts you want to allow other users to add must be uploaded as admin.
Regards,
Mike