debian/bullseye
|
Last change
on this file since 74c3571 was 74c3571, checked in by Joachim Langenbach <joachim.langenbach@…>, 8 years ago |
|
Added gnuboat_mapservice:
it is a REST webservice designed with Apigility to allow the user to upload data, create waters and so on
|
-
Property mode
set to
100644
|
|
File size:
838 bytes
|
| Rev | Line | |
|---|
| [74c3571] | 1 | RewriteEngine On
|
|---|
| 2 | # The following rule allows authentication to work with fast-cgi
|
|---|
| 3 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
|
|---|
| 4 | # The following rule tells Apache that if the requested filename
|
|---|
| 5 | # exists, simply serve it.
|
|---|
| 6 | RewriteCond %{REQUEST_FILENAME} -s [OR]
|
|---|
| 7 | RewriteCond %{REQUEST_FILENAME} -l [OR]
|
|---|
| 8 | RewriteCond %{REQUEST_FILENAME} -d
|
|---|
| 9 | RewriteRule ^.*$ - [NC,L]
|
|---|
| 10 | # The following rewrites all other queries to index.php. The
|
|---|
| 11 | # condition ensures that if you are using Apache aliases to do
|
|---|
| 12 | # mass virtual hosting, the base path will be prepended to
|
|---|
| 13 | # allow proper resolution of the index.php file; it will work
|
|---|
| 14 | # in non-aliased environments as well, providing a safe, one-size
|
|---|
| 15 | # fits all solution.
|
|---|
| 16 | RewriteCond %{REQUEST_URI}::$1 ^(/.+)(.+)::\2$
|
|---|
| 17 | RewriteRule ^(.*) - [E=BASE:%1]
|
|---|
| 18 | RewriteRule ^(.*)$ %{ENV:BASE}index.php [NC,L]
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.