diff options
| author | David Aspinall | 2000-09-29 17:29:12 +0000 |
|---|---|---|
| committer | David Aspinall | 2000-09-29 17:29:12 +0000 |
| commit | 1003dad6f0840aded5b9439bb53ea9b717771100 (patch) | |
| tree | f5ede23118dd2cb03251ec6b2d58bc5334b284b8 /html | |
| parent | 58bf0d27db10a9b20b96777707bbd76ce7904640 (diff) | |
Mention needed server hacks
Diffstat (limited to 'html')
| -rw-r--r-- | html/notes.txt | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/html/notes.txt b/html/notes.txt index b73a7db1..7d73ce30 100644 --- a/html/notes.txt +++ b/html/notes.txt @@ -1,14 +1,38 @@ Developers' Notes about Web Pages --------------------------------- +NEW: server hacks needed to serve these pages, giving nice urls + + PHP3 module included + .html treated as application + + Mime magic configured: + +LoadModule mime_magic_module modules/mod_mime_magic.so +AddModule mod_mime_magic.c +MimeMagicFile /etc/httpd/conf/magic + +to recognize files beginning <?php, by + adding this to /etc/httpd/conf/magic: + +0 string <?php application/x-httpd-php3 + +Then add these links: + + news -> index.html + doc -> index.html + +etc. + +*************** + Notes about php: Some functions I've written - <?php link_root("pagename","text")?> <?php hlink("html file","text","status message")?> -NB: no space after text in each case so you must write +NB: no space after text so you must write <?php ... ?> blah |
