7 Commits

Author SHA1 Message Date
Daniel Rudolf
6465c2b0a9
Support REQUEST_URI routing method
With Pico 1.0 you had to setup URL rewriting (e.g. using `mod_rewrite` on Apache) in a way that rewritten URLs follow the `QUERY_STRING` principles. Starting with version 1.1, Pico additionally supports the `REQUEST_URI` routing method, what allows you to simply rewrite all requests to just `index.php`. Pico then reads the requested page from the `REQUEST_URI` environment variable provided by the webserver. Please note that `QUERY_STRING` takes precedence over `REQUEST_URI`.
2016-04-24 20:11:05 +02:00
Daniel Rudolf
b77c9da29b Force Apache's MultiViews feature to be disabled
Thanks @sonst-was for reporting this. Resolves #329
2016-02-24 23:28:41 +01:00
Daniel Rudolf
fbb744dd43 Deny access to config, content, content-sample, lib and vendor dirs
Send 404 Not Found instead of 403 Forbidden
2015-10-01 22:42:23 +02:00
Daniel Rudolf
c44afd396d Update .htaccess 2015-08-28 18:37:36 +02:00
theshka
a335eec82a add rewrite base directive 2015-05-25 07:51:18 -04:00
theshka
b11a358505 add comments and RewriteBase directive 2015-05-25 07:41:08 -04:00
Gilbert Pellegrom
92b792e8f2 Initial commit. 2012-04-04 14:45:09 +01:00