Scripting
SUPPORT : SCRIPTING


 
 General things about cgi's and SSI's
About UNIX operating system
software pathes on the server
software installed on the server



You can run your own cgi's and SSI's on the server. Please note the following:
  • Executable scripts must have special permissions (chmod 0755, see UNIX-security) and must have the ending .cgi. The script does not need to be in a special folder (cgi-bin etc.). You can set the permissions with a telnet client or with an ftp-client which supports setting permissions (cute_ftp).
  • If your script has the extension .pl you have to change it into .cgi. Possibly you also have to change some pathes inside the cgi-script.
  • SSI's must have the extension .shtml.
  • Do not put a folder with the name cgi-bin into your home directory. Otherwise you will not have access to the scripts wich are installed on the server. If you want to create a cgi-directory you can call it cgibin instead.
  • cgi's must be uploaded in text-modus (not in binary modus).
  • an overview of the most important pathes on the server can be foundhere.
  • We have installed several standard cgi-scripts on the server for general and free use. Among them are form-to-email scripts, a jump-url-script and counters. A simple guestbook and a wwwboard can be installed for you.
  • you can find some interesting cgi-scripts behind the following links:



What you should know about UNIX:
  • Under UNIX every file and every directory has an owner and an owner group.
  • beyond that every file and every directory has so-called permissions (access permissions). These permissions are displayed in the following form:

    drwxrwxrwx - for folders

    (the d in the beginning stands for "directory")

    -rwxrwxrwx - for files

    these are thre "rwx"-groups. The first is for the owner, the second for the owner-group and the third for all users of the file or the directory.
    rwx represents:

    r - reading permissions
    w - writing permissions
    x - execution permissions

    If a file shell be accessable only for the owner then the permissions must be set to -rwx------.
    If a file shell be readable and executable for everybody then the permissions mist be set to -rwxr-xr-x.

  • Please make sure that your files and directories are not writable by everybody.
  • You can change the permissions for a file or a directory in telnet with the command "chmod".



Software-pathes

  • directory for www-files: public_html in your home-directory
  • configuration file for access statistics: public_html/statistik/webalizer.conf
  • directory for public-ftp: public_ftp in your home-directory
  • Perl is in /usr/local/bin/perl
  • Perl Modules are in /usr/local/lib/perl5
  • the quota command for displaying your discspace usage is /usr/sbin/quota
  • mSQL2 is in /usr/local/Hughes
  • Glimpse is in /usr/local/bin/glimpse-4.0.bin.solaris5.5
  • WebGlimpse is in /usr/local/bin/webglimpse-1.1
  • Java and JDK are in /usr/java (/usr/java/bin/java for the executable program)
  • Sendmail is in /usr/lib/sendmail
  • almost all other programs (Compilers etc.) are in /usr/local/bin


Other software installed on the server

  • EWS: Excite for Web Servers (simple search engine)
    You must install Excite yourself, with the -noroot option, since every archive requires its own installation.

  • Glimpse (search engine)

  • WebGlimpse (extended search engine)

  • HTGREP (search engine)

  • PHP3/PHP4 (excellent scripting alternative)
    Use with .php3 / .php4 - extension

  • PGP (E-Mail encryption)

  • ActiveVideo

  • mySQL
    In order to setup a mysql-database for you we need a login, a password (not your ftp-password!) and a name for the database. php is installed with full mysql-support.

  • mSQL2/w3-mSQL (database)
    In order tu setup a msql-database for you we need a login, your domain name and a name for the database.



網頁管理
程式編寫
資料庫
經銷FAQ
本站索引
unternehmen.com > all rights reserved | screendesign > openeyes