That doesn't seem to be working...
Here is a sample piece of my hiawatha.conf file:
UrlToolkit {
ToolkitID = resources
Match ^/resources/(.*) Rewrite /$1
}VirtualHost {
Hostname = jamestheawesomedude.cu.cc
WebsiteRoot = /var/www
StartFile = index.html
ExecuteCGI = yes
TimeForCGI = 4
# UseToolkit = resources
}
VirtualHost {
Hostname = resourcesjamestheawesomedude.cu.cc
WebsiteRoot = /var/www/resources
ExecuteCGI = no
}
When I try to go to jamestheawesomedude.cu.cc/resources/bootstrap/css/bootstrap.css, it works fine, but if I uncomment the UseToolkit line, restart the serwer, and reload the page, it gives a 404 (but the URL never gets changed.) I recomment the line, restart the server, reload the page, and the file's there again.