mas01mj@609: Quick Installation mas01mj@609: ================== mas01mj@609: mas01mj@609: Requires: apreq2, audioDB, apxs mas01mj@609: mas01mj@609: Ensure that you have something like the following in your httpd.conf: mas01mj@609: mas01mj@609: #LoadModule directive to aid module installations mas01mj@609: #LoadModule dummy_module /usr/lib/apache2/modules/mod_dummy.so mas01mj@609: LoadModule apreq_module /usr/lib/apache2/modules/mod_apreq2.so mas01mj@609: LoadModule audiodb_module /usr/lib/apache2/modules/mod_audiodb.so mas01mj@609: mas01mj@609: Then you should be able to do: mas01mj@609: mas01mj@609: ./autogen.sh mas01mj@609: ./configure mas01mj@609: make mas01mj@609: sudo make install mas01mj@609: mas01mj@609: Configuration mas01mj@609: ============= mas01mj@609: mas01mj@609: To configure the database, add the following to your site configuration: mas01mj@609: mas01mj@609: mas01mj@616: DatabasePath "/tmp/test_database.adb" mas01mj@609: SetHandler audiodb-sparql-handler mas01mj@609: mas01mj@609: mas01mj@609: Where /tmp/test_database.adb is the location of your audioDB database, mas01mj@609: (the file must be readable by the user that apache runs as), and /sparql mas01mj@609: is the path to your endpoint. mas01mj@609: mas01mj@609: Usage mas01mj@609: ===== mas01mj@609: mas01mj@609: Queries may be submitted to the endpoint by GET or POST, with 'query' mas01mj@609: containing the SPARQL query, and 'output' containing either text/json mas01mj@609: or application/sparql-results+xml (the default). A 400 response occurs mas01mj@609: on error.