FTP problem to Name Based Virtual Server Web Site

Sannyasin Sivakatirswami katir at hindu.org
Mon May 31 17:45:49 EDT 2004


I'm happy to say we finally got our own dedicated, managed server box 
with OLM in Connecticut. Great prices and support. Linux Red Hat 7.2. 
We downloaded the Revolution engine in "engines/current" unzipped it 
and put it in usr/bin/  at root, chmod 775 and it worked right off the 
bat! No missing library issues.... our server and web sites have a lot 
more steriods than we would ever imagine using, and that added 
complexity poses some challenges.

A problem now with remote FTP with libURL to a name based web site on 
the server.  When one sets up a new web site, a CHROOT process is run 
for the domain and an entire new virtual root is established. From 
server root the web site is

/home/virtual/himalayanacademy.com

But FTP is blocked to the server root file system for security reasons, 
and one can only FTP into one or another of the virtual 
servers-webSites.  I can do this in an FTP client, but not with libURL 
in Revolution.  There may be a problem with the fact that to FTP into a 
name based virtual web site the FTP user has to be

USER: someUser at domain.com  ## where the @ sign is part of the string...
PASS: *******


e.g. An FTP client will build the string as follows:


ftp://someUser%40domain.com@55.55.55.55//var/www/html/

(two slashes required after the ip address)  putting one into the 
virtual website's html content directory. i.e. it works...

but

on mouseup
  put  url   
"ftp://someUser%40domain.com:PASSWORD@55.55.55.55//var/www/html/"
end mouseup

Does not work. Any clues?

I also tried

on mouseUp
   put urlEncode("someUser at domain.com") into tUser
   put ("ftp://"&tUser & ":password at 55.55.55.55//var/www/html/") into 
tUrl
   put url tURL
end mouseup

also doesn't work

But from same machine, behind same firewall... it works in InterArchy...

Sannyasin Sivakatirswami
Himalayan Academy Publications
at Kauai's Hindu Monastery
katir at hindu.org

www.HimalayanAcademy.com,
www.HinduismToday.com
www.Gurudeva.org
www.Hindu.org



More information about the use-livecode mailing list