forked from WardCunningham/Smallest-Federated-Wiki
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
http://uwiki.me is live - using no server side scripts, just this .ht…
…access file
- Loading branch information
1 parent
c5843bc
commit 5a1d963
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters