Difference between revisions of "User:Rob/Questions"

From Organic Design wiki
(question)
m
Line 8: Line 8:
 
RewriteRule ^$ index.html [QSA]
 
RewriteRule ^$ index.html [QSA]
 
RewriteRule ^([^.]+)$ $1.html [QSA]
 
RewriteRule ^([^.]+)$ $1.html [QSA]
 +
RewriteRule ^([^.]+)$ $1.htm [QSA]
 +
RewriteRule ^([^.]+)$ $1.php [QSA]
 +
RewriteRule ^([^.]+)$ $1.phpi [QSA]
 
RewriteCond %{REQUEST_FILENAME} !-f
 
RewriteCond %{REQUEST_FILENAME} !-f
 
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
 
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
 
</pre>
 
</pre>

Revision as of 20:39, 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]
RewriteRule ^([^.]+)$ $1.htm [QSA]
RewriteRule ^([^.]+)$ $1.php [QSA]
RewriteRule ^([^.]+)$ $1.phpi [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.cgi [QSA,L]