diff --git a/composer.json b/composer.json index 5bc9540ce6b793420001266da20f617a799e2030..c4c0e9fa02563381db8f7c21145c6de185b1967b 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "repositories": [ { "type": "vcs", - "url": "https://github.com/CarstenKarbach/EventsAPIClient" + "url": "https://gitlab.version.fz-juelich.de/jards/EventsAPIClient" } ], "require": { diff --git a/composer.lock b/composer.lock index d56df7afd28417b3d979686d54451d2e3162c3b5..0ea425f58e218deeeca1298766afbe9ffd2c321f 100644 --- a/composer.lock +++ b/composer.lock @@ -4,22 +4,16 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", "This file is @generated automatically" ], - "content-hash": "709a7016e6a91869ad167c8f714f8260", + "content-hash": "ff4e7faae42a7a051abfd4d40e63bca7", "packages": [ { "name": "jards/eventsapiclient", "version": "v2.2", "source": { "type": "git", - "url": "https://github.com/CarstenKarbach/EventsAPIClient.git", + "url": "https://gitlab.version.fz-juelich.de/jards/EventsAPIClient", "reference": "69d8a58854ea6a7cd822a568ba3b6aab70719f7d" }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/CarstenKarbach/EventsAPIClient/zipball/69d8a58854ea6a7cd822a568ba3b6aab70719f7d", - "reference": "69d8a58854ea6a7cd822a568ba3b6aab70719f7d", - "shasum": "" - }, "require": { "ext-curl": "*", "ext-json": "*", @@ -59,10 +53,6 @@ "sdk", "swagger" ], - "support": { - "source": "https://github.com/CarstenKarbach/EventsAPIClient/tree/v2.2", - "issues": "https://github.com/CarstenKarbach/EventsAPIClient/issues" - }, "time": "2017-11-06T10:22:24+00:00" }, { diff --git a/rest/events/htaccess_cert b/rest/events/htaccess_cert new file mode 100644 index 0000000000000000000000000000000000000000..27c858bffb1322e6999afeb3089bc270ae6f7378 --- /dev/null +++ b/rest/events/htaccess_cert @@ -0,0 +1,17 @@ +Satisfy all + +<IfModule mod_rewrite.c> + RewriteEngine On + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^(.*)$ index.php?_url=/$1 [QSA,L] +</IfModule> + +SSLVerifyClient require +SSLVerifyDepth 3 +SSLRequireSSL +SSLOptions +StdEnvVars +ExportCertData +FakeBasicAuth +AuthName "Events API" +AuthType Basic +AuthBasicProvider file +AuthUserFile "/path/to/passwordfile/restcertificates.passwd" +Require valid-user \ No newline at end of file