Skip to content

Commit

Permalink
http://uwiki.me is live - using no server side scripts, just this .ht…
Browse files Browse the repository at this point in the history
…access file
  • Loading branch information
SvenDowideit committed Oct 11, 2011
1 parent c5843bc commit 5a1d963
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .htaccess
@@ -0,0 +1,18 @@

RewriteEngine On

RewriteRule ^$ /server/views/static.html
RewriteRule ^style.css$ /server/views/style.css

RewriteCond %{REQUEST_URI} !^/client/
RewriteRule ^(.*\.js)$ /client/$1


RewriteCond %{REQUEST_URI} !^/data/
RewriteRule ^(.*)\.json$ /data/pages/$1 [T=application/json]

RewriteCond %{REQUEST_URI} ^/data/
RewriteRule .* - [T=application/json]

RewriteRule ^favicon.png$ http://en.gravatar.com/userimage/3255925/c3addcadf86caced332408a2e0b4d68b.jpeg

2 changes: 1 addition & 1 deletion server/views/static.html
Expand Up @@ -15,7 +15,7 @@
</div>
</div>
<br clear='all'>
<input class='local_editing clickable' id='localEditing' type='checkbox'>
<input class='local_editing clickable' id='localEditing' type='checkbox' checked=checked disabled=true>
<label class='clickable' for='localEditing'>Local editing</label>
</body>
</html>

0 comments on commit 5a1d963

Please sign in to comment.