Access via ftp and directories structure


Main information

Your site is represented as domain on Internet.

Work with ftp-client

Our support gives you:
  1. Server address, where your site will be placed, in form of e3.gfns.net
  2. Login name 'user'
  3. password 'password'
Typical access via ftp (for example, from FAR ftp client):
ftp://user:password@e3.gfns.net/
(note! You may use @domain in this line. But if this domain is created just now, or moved from another server, it may be resolved incorrectly. If you use @xx.gfns.net, you may be sure to connect to OUR hosting server properly.

Directory structure


From root via ftp (except 3dlevel domains *.rema.ru and *.gfns.net):
 rightsownergroup

/home/www
   servers
      domain
         |___cgi-bin
         |___html
            |___large
         |___logs
/home/user



drwsr-s---
drwxrwxr-x
drwsr-s---
drwxr-xr-x
lrwxrwxrwx



user
user
user
user
user



user
user
apache
apache
apache

For 3dlevel domains *.rema.ru and *.gfns.net
(for example, domain=dom.rema.ru):
 rightsownergroup

/home/www
  servers
    murk.ru
      3dlevel
       scat.murk.ru
          |___cgi-bin
          |___html
             |___large
          |___logs
/home/user





drwsr-s---
drwxrwxr-x
drwsr-s---
drwxr-xr-x
lrwxrwxrwx





user
user
user
user
user





user
user
www
www
www

Note, that /user/domain is softlink to /www/servers/domain/, and it's convinient to use this 'shortcut'. But some ftp clients refuse to navigate via softlinks. In this case - use full path.

Index of your site MUST be placed in folder "html". If not mentioned some another option, reference "/cgi-bin" points to "domain/cgi-bin".

Three additional references exist:
/cgi/ - to your folder /cgi-bin/

user.user MUST be owner of CGI script running on your site

First line of PERL script must be:
#!/usr/bin/perl

Scripts and directories, where they are placed MUST be NOT writable by others. Rights must be 755 or rwxr-xr-x.

After new host creating - you may find files: index.shtml in html subdirectory, and ibanner in cgi-bin subdirectory. These files demonstrate you, that CGI and SSI WORK on your host properly. If you think, that something is wrong - it means, that YOU are wrong.

If you upload your own content, but DO NOT delete or update index.shtml with your own, this default index.shtml will be shown instead of your index.htm or index.html (according to default webserver sonfiguration).

When uploading CGI scripts on server from Windows-based workstation - turn ON 'ASCII' mode. Otherwise 'carridge return' symbols cause 'Error 500'.

First line of any Perl script must be: #!/usr/bin/perl

Common scripts in two last folders are used for advertisement and promotion of your sites.

If you need to place some info to be used, but cannot be viewed via http:// by users, place files to directory /www/servers/domain/, i.e. above directories html and cgi-bin.

SSI works on *.shtml files. If you want more - use .htaccess. read documentation on Apache Webserver.

Note, that when using SSH, you have longer paths, than via FTP. ftp path / is equivalent to /home in shell, and so on.

Full path to SENDMAIL: /usr/sbin/sendmail



[ ]