Removed access to source files

This commit is contained in:
Yann Esposito (Yogsototh) 2011-05-16 10:21:52 +02:00
parent c5060fecef
commit fbccd2ef44

View file

@ -9,8 +9,19 @@ require 'pony'
use Rack::Deflater
use Rack::ETag
# 301 Permanent Redirect
# 302 Found
# 303 See Other
# 304 Not Modified
# 305 Use Proxy
# 306 Unused
# 307 Temporary Redirect
use Rack::Rewrite do
r302 %r{^/support}, '/Scratch/en/support/index.html'
r306 %r{^/src}, '/404.html'
r306 %r{^/build}, '/404.html'
r306 %r{^/html5boilerplate}, '/404.html'
r306 %r{^/test}, '/404.html'
end
$rootdir="site"