--- /dev/null
+<VirtualHost *:80>
+ ServerName example.indexdata.com
+ DocumentRoot /home/indexdata/mkws/examples/htdocs/
+ ErrorLog /var/log/apache2/mkws-examples-error.log
+ CustomLog /var/log/apache2/mkws-examples-access.log combined
+</VirtualHost>
--- /dev/null
+<VirtualHost *:80>
+ ServerName example.indexdata.com
+
+ ProxyRequests off
+ ProxyVia On
+ ProxyPreserveHost On
+ <Proxy *>
+ Order deny,allow
+ Allow from all
+ </Proxy>
+
+ ProxyPass / http://caliban:80/
+ ProxyPassReverse / http://caliban:80/
+
+ # These are the logs for the proxying operation
+ ErrorLog /var/log/apache2/mkws-examples-proxy-error.log
+ CustomLog /var/log/apache2/mkws-examples-proxy-access.log combined
+</VirtualHost>
# Configuration for the apache web server
# Running on caliban
-
-<VirtualHost *:80>
- ServerName somesite.indexdata.com
- DocumentRoot /home/indexdata/mkws/experiments/spclient/
- ErrorLog /var/log/apache2/somesite-error.log
- CustomLog /var/log/apache2/somesite-access.log combined
-</VirtualHost>
-
-
<VirtualHost *:80>
ServerName mkws.indexdata.com
ErrorLog /var/log/apache2/mkws-error.log
CustomLog /var/log/apache2/mkws-access.log combined
- DocumentRoot /home/indexdata/mkws/experiments/spclient/
+ DocumentRoot /home/indexdata/mkws/tools/htdocs
Alias /libjs-pz2/ /home/indexdata/libjs-pz2/
- Alias /index.html /home/indexdata/mkws/experiments/spclient/index-mkws.html
RewriteEngine on
RewriteLogLevel 1
ProxyPassReverse /service-proxy/ http://mk2-test.indexdata.com/service-proxy/
PerlOptions +Parent
- PerlSwitches -I/home/indexdata/mkws/etc/mod_perl
+ PerlSwitches -I/home/indexdata/mkws/tools/mod_perl
<Location /service-proxy>
PerlOutputFilterHandler MyApache2::SetACAO
</Location>
# Running on Mike's local development box
<VirtualHost *:80>
- ServerName x.spclient.indexdata.com
- ErrorLog /var/log/apache2/spclient-error.log
- CustomLog /var/log/apache2/spclient-access.log combined
+ ServerName x.mkws.indexdata.com
+ ErrorLog /var/log/apache2/mkws-error.log
+ CustomLog /var/log/apache2/mkws-access.log combined
- DocumentRoot /usr/local/src/git/mkws/experiments/spclient/
+ DocumentRoot /usr/local/src/git/mkws/tools/htdocs
Alias /libjs-pz2/ /usr/local/src/git/libjs-pz2/
RewriteEngine on
<VirtualHost *:80>
ServerName mkws.indexdata.com
- ServerAlias example.indexdata.com
ProxyRequests off
ProxyVia On
possible is hosted on
http://mkws.indexdata.com/
so that very simple websites such as
- http://somesite.indexdata.com/
+ http://example.indexdata.com/
can have MasterKey searching with minimal effort.
The following files must be hosted on mkws.indexdata.com:
<ul>
<li>
A very simple application at
- <a href="http://somesite.indexdata.com/"
- >http://somesite.indexdata.com/</a>.
+ <a href="http://example.indexdata.com/"
+ >http://example.indexdata.com/</a>.
It's worth viewing the source to see how small it is.
</li>
<li>
- <a href="http://somesite.indexdata.com/index-full.html"
+ <a href="http://example.indexdata.com/index-full.html"
>A more detailed version</a>
that contains a configuration structure instead of accepting
the defaults. Includes a custom translation option to present
</li>
<li>
The
- <a href="http://somesite.indexdata.com/index-jquery.html"
+ <a href="http://example.indexdata.com/index-jquery.html"
>jQuery plugin</a>
version, consisting of a single line of JavaScript code.
</li>
<li>
An application that
- <a href="http://somesite.indexdata.com/index-lowlevel.html"
+ <a href="http://example.indexdata.com/index-lowlevel.html"
>uses lower-level MKWS components</a>
rather than the all-in-one <tt>#mkwsResults</tt> division,
allowing it to use a rather different layout.
</li>
<li>
- <a href="http://somesite.indexdata.com/index-mobile.html"
+ <a href="http://example.indexdata.com/index-mobile.html"
>A version suitable for mobile devices</a>,
with a responsive design that moves components around
depending on the screen size.
</li>
<li>
- <a href="http://somesite.indexdata.com/index-popup.html"
+ <a href="http://example.indexdata.com/index-popup.html"
>A version that uses a jQuery popup</a>.
</li>
<li>