Location & Directory Structure

machine: roswell
location: SDSU campus
login ID: edcenweb
passwd: Available to webmaster. May be obtained from Dr. Kris Stewart.

Top Level Directory Sturcture

cgi-bin/ --> contains CGI scripts and programs
htdocs/ --> contains all html and image files
mail/
pub@



Directories in
bold represent main menu items from navigation bar.

When new categories are added to the main navigation bar a new dirs should be created for them at this level.

Directory
roswell(edcenweb):[/net/www/www-edcenter/htdocs] % ls
Comments
BAK/
 
Deacon/  
Doc/ The documents of Edcenter's website
DocReview/  
IAB/  
NAV_TEMPLATES/  
NPACI/  
TATE/  
TEMP/  
TRASH/  
faculty-fellows/  
news/ --> "News"
deacon/  
directions/ --> "Directions"
npaci/ --> "NPACI Showroom"
friends/  
oldindex/  
general/  
other/  
gifs/  
presentations/  
index.html --> "Home"
index.html.BAK  
projects/ --> "Projects"
related/ --> "Related Links"
repository/ --> "Resources"
backgrnd/  
training/ --> "Training"
current/  
location/  
kris/  
save/  
letters/  
slides/ The slides created by PowerPoint
staff/ --> "People"
li/  
webfile* script to create tarfile of website(see Kris for details)
map_local.html site has no links to this file, gives maps to EdCenter starting at Love Library.



Server Side Includes:

Server side includes (SSI)s applied to an HTML document, provide for interactive real-time features such as echoing current time, conditional execution based on logical comparisons, querying or updating a database, sending an email, etc., with no programming or CGI scripts. An SSI consists of a special sequence of characters(tokens) on an HTML page. As the page is sent from the HTTP server to the requesting client, the page is scanned by the server for these special tokens. When a token is found the server interprets the data in the token and performs an action based on the token data. The format of a SSI token is as follows :
<!--#'<tag><variable set> '--> where :

 

Currently, the main use for SSI on the EdCenter website is to, without frames, be able to display a navigation bar and information in the browser at the same time while keeping the navigation bar and the informational content of pages in separate files. Navigation templates can be found at roswell:htdocs/NAV_TEMPLATES/ . In each of these templates there is a line containing "<!--#include file="FILENAME HERE"-->". This line will be parsed before the file is served to the client browser and the file "FILENAME HERE" will be inserted into the document to the right of the navigation bar.

For a file located on roswell to be recognized and parsed as a document containing the SSI tag "#include file=" there are two requirements:

  1. File extension of : .shtml
  2. In each directory that contains a .shtml file : create or edit a file called .htaccess to include the line "Options +Includes".

 

For more information on SSI see

NCSA HTTPd Server Side Includes http://hoohoo.ncsa.uiuc.edu/docs/tutorials/includes.html
Tutorial http://www.carleton.ca/~dmcfet/html/ssi.html
New Breed Software's SSI http://www.sonic.net/~nbs/unix/www/ssi/

 

Page Design & Upload Procedure

Suggestions for maintaining a consistent and efficient method of creating and uploading new documents for the EdCenter website:

  1. Use the background image located at http://www.edcenter.sdsu.edu/gifs/sdsubg.jpg
  2. The procedure that upload MicroSoft PowerPoint Slides on this site.

 

UNDER CONSTRUCTION