Index: openacs-4/packages/acs-core-docs/www/tutorial-vuh.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/tutorial-vuh.html,v diff -u -r1.1 -r1.2 --- openacs-4/packages/acs-core-docs/www/tutorial-vuh.html 12 Feb 2004 13:51:40 -0000 1.1 +++ openacs-4/packages/acs-core-docs/www/tutorial-vuh.html 18 Feb 2004 14:43:03 -0000 1.2 @@ -1,4 +1,4 @@ -
.Vuh files are special cases of .tcl files, used for rewriting incoming urls. We can use a vuh file to prettify the uri for our notes. Instead of note-edit?item_id=495, we can use note/495. To do this, we will need a new .vuh file for redirection and we will need to change the referring links in note-list. First, add the vuh:
[service0 service0]$ cd /var/lib/aolserver/service0/packages/myfirstpackage/www +Using .vuh files for pretty urls .Vuh files are special cases of .tcl files, used for rewriting incoming urls. We can use a vuh file to prettify the uri for our notes. Instead of note-edit?item_id=495, we can use note/495. To do this, we will need a new .vuh file for redirection and we will need to change the referring links in note-list. First, add the vuh:
[service0 service0]$ cd /var/lib/aolserver/service0/packages/myfirstpackage/www [service0 www]$ emacs note.vuh
Paste this into the file:
# Transform requests of type: a/b # into this internal request: A?c=b