Koozali.org: home of the SME Server

How do I install an application in the web root?

Jeff Fox

How do I install an application in the web root?
« on: June 20, 2001, 07:37:26 AM »
I want to install netautor (http://ibm.digiconcept.net/netautor.basic). The installation docs say to put it in the web root. I tried installing it into an ibay but that did not work. What is supposed to happen is when you first goto the URL for netautor an install script runs. When I installed netautor into an ibay the script did not appear to run properly since it did not display anything. I'm hoping that installing netautor into the web root will allow the install script to run.

I assume that IMP is installed in the web root so I assume that it's possible to do so with other apps.
How do I install it into the web root and then how do I access it? I know that I can access IMP with http://localhost/webmail. Where can I add the link http://localhost/netautor?

I searched the forums and howtos for this info. I read the docs but if it's in there then I missed it...

help!

Lloyd Keen

Re: How do I install an application in the web root?
« Reply #1 on: June 20, 2001, 11:45:51 AM »
The webroot is (from memory) /home/e-smith/files/primary/html. You should be able to access it as http://www.yourdomain.com/netautor. If you put it in an i-bay you would need to access it as http://www.yourdomain.com/i-bay_name/netautor and the path to the i-bay is /home/e-smith/files/i-bays/i-bay_name/html.

Jeff Fox

Re: How do I install an application in the web root?
« Reply #2 on: June 20, 2001, 06:50:50 PM »
This won't work. I left something out of my previous post. The install script for netautor is a PHP script. You cannot run php scripts from the primary ibay.

I tried creating an ibay called 'netautor' and then a virutual domain called 'netatuor' that points to that ibay. The install script runs but still does not work.

I've looked in /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf and found what looks like the PERL code to make the Apache Document /home/e-smith/files/primary/html and /webmail = /home/httpd/html/horde/imp. I'm wondering if I can install netautor under /home/httpd/html/netautor and somehow add an alias to point to it there.

Dan Brown

Re: How do I install an application in the web root?
« Reply #3 on: June 20, 2001, 06:55:51 PM »
Sure you can run PHP from the web root--once you've installed the updated e-smith-base package from ftp://ftp.e-smith.org/pub/e-smith/updates/4.1.2/RPMS/noarch/e-smith-base-4.4.0-21.noarch.rpm.