Web ServicesUsing web services in the LIONS Environment. Web Services
Please Read!LIONS was developed to provide the university with UNIX-based high-performance
computing and research facilities. While LIONS is perfectly
capable of serving web pages, the University supports an environment that may be more
appropriate for web sites. Additional information on university web development resources
is available at: As explained in Introduction to LIONS page, faculty and staff may request the ability to host a university related web page from their LIONS account by sending a request to 'unixhelp@odu.edu' and then creating a public_html directory via the directions which follow in the next section. In most cases students may obtain this ability through the authorization of a department representative, meaning, that their instructor or faculty advisor needs to make the request in behalf of the student. Please note that in neither case is this ability on by default unless it was requested at the time the account was created. Just having a public_html directory will not make its contents accessible via the web. If you wish to house your departmental or organizational web pages under LIONS, we recommend that you do not store them under your LIONS user id. Rather, we can set up specific directories in the LIONS web hierarchy to house your pages and give whomever you desire access to update them. Please contact us via 'unixhelp@odu.edu' for more details on this service. DISCLAIMERPLEASE NOTE THE FOLLOWING: While the LIONS support staff maintains the web server software, we are unable to assist with the creation and design of your web site. There are several online tutorials as well as some excellent books on how to make your pages as professional as possible. In addition, the central university web services is more than capable of assistance in creation of web pages which utilize their services - please email 'webadmin@odu.edu' for more information. Creating The public_html DirectoryIn order for your web pages to appear, your files should be placed into a folder in your home directory called 'public_html'. In addition, this directory should have the proper permissions set so that the web server can access it's contents. (Departmental and organizational directories should already have their permissions set correctly by us - if not, please let us know.) Once we have made your LIONS account "web-capable", please follow these instructions for setting up the public_html directory:
Please note that even if you create the public_html directory without issuing the 'mkpublic_html' command, you can always rerun 'mkpublic_html' over again at any time, and your file permissions will be set properly.. Creating and Updating your Web PagesTo create/update your pages, you can use these methods:
Accessing Your Web PagesYou may access your personal web pages by pointing your browser to the following URL: For departmental pages, they can be accessed by: For organizational pages, they can be accessed by: Note that every directory, including the public_html directory, needs to have a 'index.html' or 'index.htm' file in them. If not, you will receive a 403 Forbidden error message. The reason for this is to prevent open directories from being exposed to the world.. Setting Up The "cgi-bin" DirectoryOnce you have access to display web pages, you also have the ability to create and run CGI scripts. All of your CGI scripts must be placed in a directory called cgi-bin located in the public_html folder in your home directory. If they're not there, your CGI scripts won't work. To create it, follow these instructions after creating your public_html directory as described earlier in this document:
Document Actions |
