[MKDoc-users] mkdoc from a sub directory
andrew at broscom.com
Thu Sep 23 20:35:06 BST 2004
On 9/23/04 at 9:22 AM, chris at webarchitects.co.uk (Chris Croome) wrote:
> On Thu 23-Sep-2004 at 08:31:33AM +0100, Bruno Postle wrote:
> > Then in the $SITE_DIR/httpd/http.conf file, for each VirtualHost,
> > change this line:
> > Alias / /path/to/mkdoc/cgi/mkdoc.cgi/
> > ..so it looks like this:
> > Alias /mkdoc/ /path/to/mkdoc/cgi/mkdoc.cgi/mkdoc/
> > This *should* persuade MKDoc to only serve requests for the /mkdoc/
> > path - Everything else such as / or /foo/ will be served by the
> > remainder of the VirtualHost configuration.
> Yes that should be OK, but there are some things like tha path to
> the CSS and perhaps uploads that is hard coded in a few places, this
> could either be changed or a rewrite or redirect could be used to
> fix it.
I thought it might be better to just set up a different hostname like
mkdoc.example.com for testing. I noticed some values hardcoded in
my $PUBLIC_DOMAIN = "http://www.$base_domain/";
I suppost if I change 'www' to 'mkdoc' that should work? Can you think
of any other places I might need to change?
More information about the MKDoc-users