any magic reason why you can't set $r->hostname? i wanted to write
a quick post-read-request handler that would throw away any leading
'www' (to make mod_vhost_alias bend to my will a bit more :).
the simple patch to change this (untested) is attached.
jim
--- src/modules/perl/Apache.xs~ Tue Oct 3 13:21:22 2000
+++ src/modules/perl/Apache.xs Sun Nov 26 17:47:41 2000
@@ -1443,11 +1443,11 @@
RETVAL
char *
-hostname(r)
+hostname(r, ...)
Apache r
CODE:
- RETVAL = (char *)r->hostname;
+ get_set_PVp(r->hostname,r->pool);
OUTPUT:
RETVAL
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]