louissobel / drapache Goto Github PK
View Code? Open in Web Editor NEWServe a website through your dropbox
Home Page: get.drapache.com
License: MIT License
Serve a website through your dropbox
Home Page: get.drapache.com
License: MIT License
So I went to try drapache and I've chose random domain just to give it a try. Everything worked great and after that I've try to register another domain - didn't work. I've tried to manually delete all files, apps inside "my apps", everything that has something to do with Drapache and every time was the same. When I've tried to register new domain, it pointed out that I already have another domain registered (and my Apps/Drapache folder was recreated - but just with one dropbox file inside).
Any solution for that? Thanks.
A simple URL rewriting mechanism would be very very welcomed. The good news is it's perfectly safe to add URL rewriting to Drapache and I will surely enable certain kinds of apps and scripts to be much more easily written this way.
Something with all of the power of mod_rewrite in Apache would be cool but I guess we don't need it since we got Python, right?
How about redirecting all 404s to a top level _rewrite.dbpy script if it's present?
Once you have that you would only need to provide us with a way to read the original requested path and we can put together our own pattern matching and URL rewriting mechanism.
Here's some code sample to help illustrate the idea:
import re
request = dbpy.http.get_request()
m = re.compile('^/posts/(?P<post_id>\d+)$')
if m.matches(request.redirect_uri):
post_id = m.groupdict()['post_id']
dbpy.http.redirect('/read_post.dbpy?post_id=%d' % post_id)
Hi. Looks like your domain name, http://drapache.com/ is down.
Today we can read this message: NOTICE: This domain name expired on 03/11/2013 and is pending renewal or deletion.
I want to talk. Do you have a twitter account? I'm @colevscode.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.