| |
Setting Virtual Link to IU Northwest Styles
By setting a virtual link to the iunhome/iunstyles.css
cascading style sheet will allow use the styles when editing your
web pages.without changing the style sheet. This means you can see and
use the style locally when editing without fear of changing the stylesheet.
Also, make the styles directory read only so that it is not accidentally
written over or erased.
The virtual link should be set when your pages were created. If you wish
to check it, the following steps shows how to verify that there is a virtual
link and create one if needed.
Note: When ftping files to the web server, if it is set properly, there
will be an error message when your local copy of the file tries to replace
the virtual link.
- SSH2 telnet to yourwebaccount -
login using the webaccount password
- at the veritas:yourwebaccount> prompt, type ls to
list the folders

- change the directory to the www directory, type cd www
- determine if styles directory exists, type ls -d styles
Styles Directory Exists - Verify Virtual Link Set
- change directory to styles - type, cd styles
- show the virtual link, type ls -all
- iunstyle.css -> /ip/iunhome/www/iunstyle.css
- indicates virtual link exists -no further action is needed
- iunstyle.css
- indicates no virtual link exists - further action
needed
Styles Directory Missing - Create Virtual Link
- styles not found - indicates no styles directory exists
- make styles directory - type, mkdir styles
- verify styles directory created - type, ls -d styles
- styles - indicates styles directory exists
- change directory to styles - type, cd styles
- list files to determine no files in directory
- create virtual link - type, ln -s -f /ip/iunhome/www/iunstyle.css
- show file was created and virtual link, type ls -all
- iunstyle.css -> /ip/iunhome/www/iunstyle.css
- indicates virtual link exists
- no further action is needed

View Virtual Link Codes
From the Styles Directory
- type ls -all
- if it lists /ip/iunhome/www/iunstyle.css that indicates the virtual
link is set.

View Not a Virtual Link - Remove Incorrect Link Codes
From the styles directory:
- type ls -all
- if it lists iunstyle.css that indicates the virutal link is NOT set
- type rm iunstyle.css to remove the file
- type ls -all to see that there are no files in the
directory

Create virtual link
- create virtual link - type, ln -s -f /ip/iunhome/www/iunstyle.css
- show file was created and virtual link, type ls -all
- iunstyle.css -> /ip/iunhome/www/iunstyle.css
- indicates virtual link exists
- no further action is needed
Do the same for iunstyle_print.css
Make Styles Folder Read Only
By making the styles folder read only, the user won't accidentally write
over or erase the folder.
- type ls -all -d styles to see the styles directory.
- If you do not see the styles directory, type cd .. to
move up a directory level
- repeat the ls -d styles until you see you the
folder styles
- w in the third position indicates that changes can be made to the
directory
- Type chmod u-w styles to make the directory styles
read only
- type ls -all -d styles to list the direcotry styles
- the third character should be a dash (-) which indicates the directory
is read only
-

|
|