[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] re: Virtual paths



> If I have created a virtual domain on my RAQ3 and assigned a user as
> siteadmin, if this person wishes to install cgi scripts, the path to
his
> account is shown as /web. Of course, this won't work because the path
is
> actually /home/sites/site#/web/
>
> Is there any way around this or do I have to tell all of my users that

they
> are site#?
>
> Landon

I've had pretty much flawless success running numerous complex Perl
scripts simply using the pointer, like
/home/sites/www.customerdomain.com/web/cgi-bin

This has worked on everything from weather scripts, to custom scripts
for ad banner rotation, to mailing list scripts, to subscription payment
password management, to affiliate program e-commerce systems. You can be
pretty confident that, in most cases, you only need to give your hosting
client the above path as an example.

We found that with some e-commerce systems that use true compiled binary
application (e.g., not perl, php, python, etc.), like Goldpaint, that we
had to create an alias in the proftpd.conf file to run all scripts with
no extension in the cgi-bin for the certain domain, as well as turn off
cgi-wrap (swap out the handler from cgi-wrap to cgi-script in the
proftpd.conf file for the specific site). Anyway, I digress. Point is,
the problem was NOT due to paths being either site# or domain.

The other main problems with perl scripts not working on the RaQ3/4 are:

**change /usr/lib/sendmail   to   /usr/sbin/sendmail
**make sure Perl is pointed to as /usr/bin/perl  and NOT
/ur/local/bin/perl

Personally, it's a pain to have to look up the client's site# and tell
them what it is since it doesn't show up in the GUI.

Only thing I can't get to run on the raQ4 with cgi-wrap is Matt Wright's
venerable (like, 1996) "textcounter.cgi" script. :(

Chris

--
Press Release Service & Website Promotion
    http://www.MindsetNetwire.com
    Member: Public Relations Society of America (PRSA)
   ------------------------------------------------------