On Thu, 31 Jul 1997 [EMAIL PROTECTED] wrote: > Synopsis: ServerPath doesn't work as excpected from the documentation. > > State-Changed-From-To: open-closed > State-Changed-By: akosut > State-Changed-When: Thu Jul 31 11:14:27 PDT 1997 > State-Changed-Why: > ServerPath only intercepts and alters requests that are under > the DocumentRoot, although it correctly identifies the server > in all cases. >
This means that the log files will be incorrect. If one accesses /test.hogia.net/index.html and /index.html they would be logged as two different paths even though they are accessing the same page. This is of course nothing a sed script can't fix (if one uses a CustomLog instead of a TransferLog) or maybe by using the rewrite engine, but still the documentation isn't clear about this and it would be more logical to let the server rewrite the URL from server.domain.com/serverpath/path to newserver.domain.com/path when a ServerPath match is made. > To make your setup work correctly, you need to add the > following to the virtual host configuration: > > ScriptAlias /test.hogia.net/cgi-bin/ /home/sa/cgi-bin/ Thanks! Now it all works correctly for me. Regards, Sebastian Andersson See http://www.hogia.net/keys/sa-pgp.asc for public pgp key.
