ServerName arxivwiki.org
ServerAlias www.arxivwiki.org
ServerAdmin webmaster@localhost
DocumentRoot /www/arxivwiki.org
Options Indexes FollowSymLinks MultiViews
# this disallows the use of .htaccess files.
AllowOverride None
# so we have to do stuff here instead.
RewriteEngine on
RewriteBase /
# redirect to the wiki, where appropriate
RewriteRule ^wiki/?(.*)$ http://wiki.arxivwiki.org/index.php?title=$1 [L]
RewriteRule ^$ http://arxivwiki.org/wiki/
# some old redirects
RewriteRule ^rdf/arxiv-oai2rdf(.*)$ rdf/arxiv$1 [R=301,L]
RewriteRule ^rdf/index-page-scraper(.*)$ rdf/versions$1 [R=301,L]
# the info subdirectories are just pointers to the wiki
RewriteRule ^rdf/versions/info/?$ http://arxivwiki.org/wiki/RDF/versions
RewriteRule ^rdf/arxiv/info/?$ http://arxivwiki.org/wiki/RDF/arxiv
RewriteRule ^rdf/citations/info/?$ http://arxivwiki.org/wiki/RDF/citations
RewriteRule ^rdf/citebase/info/?$ http://arxivwiki.org/wiki/RDF/citebase
RewriteRule ^rdf/crawler-anomalies/info/?$ http://arxivwiki.org/wiki/RDF/crawler-anomalies
RewriteRule ^oldmathpapers$ oldmathpapers/ [R]
Order allow,deny
allow from all
LimitRequestBody 0
Order allow,deny
allow from all
ProxyPass http://arxivwiki.org:7777/
ProxyPassReverse http://arxivwiki.org:7777/
Order allow,deny
allow from all
ProxyPass http://api.talis.com/stores/smorrison-dev1/services/sparql
ProxyPassReverse http://api.talis.com/stores/smorrison-dev1/services/sparql
Order allow,deny
allow from all
ProxyPass http://128.111.247.54:8080/openrdf-sesame/repositories/arxivwiki
ProxyPassReverse http://128.111.247.54:8080/openrdf-sesame/repositories/arxivwiki
# proxy /sparql-v and /isparql to Virtuoso
Order allow,deny
allow from all
ProxyPass http://localhost:8890/sparql
ProxyPassReverse http://localhost:8890/sparql
Order allow,deny
allow from all
ProxyPass http://localhost:8890/isparql
ProxyPassReverse http://localhost:8890/isparql
# proxy to Sesame, running in Tomcat
Order allow,deny
allow from all
ProxyPass http://localhost:8080/openrdf-sesame
ProxyPassReverse http://localhost:8080/openrdf-sesame
Order allow,deny
allow from all
ProxyPass http://localhost:8080/openrdf-workbench
ProxyPassReverse http://localhost:8080/openrdf-workbench
Order allow,deny
allow from all
ProxyPass http://localhost:6969/announce
ProxyPassReverse http://localhost:6969/announce
Order allow,deny
allow from all
ProxyPass http://localhost:6969
ProxyPassReverse http://localhost:6969