Difference between revisions of "User:Rob/Questions"

From Organic Design wiki
m (New page: *How to ''sanitise'' the title so that...)
 
(question)
Line 4: Line 4:
 
**htaccess from rails
 
**htaccess from rails
 
**inclusive or exclusive
 
**inclusive or exclusive
 +
**This from rails looks for the existence of a file and invokes the cgi if it's not found
 +
<pre>
 +
RewriteRule ^$ index.html [QSA]
 +
RewriteRule ^([^.]+)$ $1.html [QSA]
 +
RewriteCond %{REQUEST_FILENAME} !-f
 +
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
 +
</pre>

Revision as of 20:38, 3 October 2007

  • How to sanitise the title so that workspaces like Research/Graphics become something nice like Research - Graphics
  • How to get those extra things out of $data[] in the template object
  • Best way to deal with wiki and non-wiki content in the same namespace
    • htaccess from rails
    • inclusive or exclusive
    • This from rails looks for the existence of a file and invokes the cgi if it's not found
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]