ENCS Home Administration Alumni Departments Research News & Events Jobs
Search Service Desk:
Advanced
Quick links
Contact the Service Desk


Faculty, Staff, Students
Room: EV007.182
Phone ext.: 5713

Students, Staff
Room: H0964-00
Phone ext.: 4181


servicedesk@encs.concordia.ca

Service Desk

FAQ Index
 
System Access
System Access
How do I setup Perl CGI scripts on my ENCS website?
Login

[Modified Thursday, Aug 11th 2005 by andrej]

You can run CGI scripts on your personal and group ENCS web space. If you need information about setting up your web page, see the webpage Setting Up ENCS Webpages.

You can place your .cgi file anywhere on your web space, but take careful note of the following points:

  • The first line in your CGI script file should be:

    #!/encs/bin/perl

  • Make sure the directory containing your CGI script has permissions such that:
    • web users can have access to the scripts inside (world executable)
    • any newly created files in the directory are group owned (group sticky bit)

    For any directory containing your scripts, change the permissions as follows:

    chmod 2771 <directory>

  • Make sure your CGI script files also have the proper permissions:

    chmod 755 <filename>

NOTE: For group-related web space it is important that the permissions on all the directories and files are group owned. That way the files use up the group's quota and not your personal user quota.


 
If you have any comments about the website please Contact us

Copyright © 2005 Faculty of Engineering & Computer Science