Skip to content

Instantly share code, notes, and snippets.

@hardyoyo
Created December 5, 2014 15:55
Show Gist options
  • Save hardyoyo/9de9cee857665cd85414 to your computer and use it in GitHub Desktop.
Save hardyoyo/9de9cee857665cd85414 to your computer and use it in GitHub Desktop.
hunting localhost in vanilla dspace
[vagrant@dspace config]$ grep -ri localhost ./
./dspace.cfg:dspace.hostname = localhost
./dspace.cfg:dspace.baseUrl = http://localhost:8080
./dspace.cfg:dspace.url = http://localhost:8080/xmlui
./dspace.cfg:db.url = jdbc:postgresql://localhost:5432/dspace
./dspace.cfg:mail.allowed.referrers = localhost
./dspace.cfg:#handle.canonical.prefix = http://localhost:8080/xmlui/handle/
./dspace.cfg:handle.canonical.prefix = http://localhost:8080/xmlui/handle/
./dspace.cfg:## webui.feed.logo.url = http://localhost:8080/xmlui/themes/mysite/images/mysite-logo.png
./dspace.cfg:#solr.authority.server=http://localhost:8080/solr/authority
./crosswalks/oai/description.xml:<repositoryIdentifier>localhost</repositoryIdentifier>
./crosswalks/oai/description.xml:<sampleIdentifier>oai:localhost:10673/1234</sampleIdentifier>
./modules/swordv2-server.cfg:error.alternate.url = http://localhost:8080/xmlui/contact
./modules/swordv2-server.cfg:# workspace.url-template = http://localhost:8080/jspui/view-workspaceitem?submit_view=Yes&workspace_id=#wsid#
./modules/swordv2-server.cfg:workspace.url-template = http://localhost:8080/xmlui/submit?workspaceID=#wsid#
./modules/solr-statistics.cfg:server = http://localhost:8080/solr/statistics
./modules/oai.cfg:solr.url=http://localhost:8080/solr/oai
./modules/oai.cfg:identifier.prefix = localhost
./modules/oai.cfg:bitstream.baseUrl = http://localhost:8080/xmlui
./modules/rdf/metadata-rdf-mapping.ttl: dm:condition "^http://localhost:8080/jspui/handle/" ;
./modules/rdf/metadata-rdf-mapping.ttl: dm:matcher "^http://localhost:8080/jspui/handle/(.*)$" ;
./modules/rdf/metadata-rdf-mapping.ttl: dm:condition "^((?!http://dx.doi.org/)(?!http://hdl.handle.net/)(?!http://localhost:8080/jspui/handle/)).*" ;
./modules/rdf/constant-data-general.ttl:<> foaf:homepage <http://localhost:8080/jspui> ;
./modules/rdf/constant-data-general.ttl: void:sparqlEndpoint <http://localhost/fuseki/dspace/sparql> ;
./modules/sword-client.cfg:targets = http://localhost:8080/sword/servicedocument, \
./modules/rdf.cfg:public.sparql.endpoint = http://localhost/fuseki/dspace/sparql
./modules/rdf.cfg:storage.graphstore.endpoint = http://localhost:3030/dspace/data
./modules/rdf.cfg:storage.sparql.endpoint = http://localhost:3030/dspace/sparql
./modules/rdf.cfg:contextPath = http://localhost:8080/rdf
./modules/discovery.cfg:search.server = http://localhost:8080/solr/search
./spiders/domains/example:localhost\.
./description.xml:<repositoryIdentifier>localhost</repositoryIdentifier>
./description.xml:<sampleIdentifier>oai:localhost:10673/1234</sampleIdentifier>
[vagrant@dspace config]$ pwd
/home/vagrant/dspace/config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment