igorw / CgiHttpKernel

Adapter from HttpKernelInterface to CGI.
MIT License
60 stars 11 forks source link

Serve static files #1

Open igorw opened 11 years ago

igorw commented 11 years ago

The CgiHttpKernel should have some way to serve static files. Perhaps this can be done in a composable manner, i.e. a ChainHttpKernel that tries PHP, then falls back to the filesystem.

igorw commented 11 years ago

Or better: a static file middleware.