On Sun, 19 Nov 2000, Carroll Guthrie wrote:
> I need help setting up subdomain reporting.
>
> I currently host many ( >2000 ) free hosting sites on a single domain name
> called terrasites.com. To do this, I use a directory scheme off of the
> /home/domainname directory to separate the accounts.
>
> Example:
>
> http://terrasittes.com/account1
> http://terrasittes.com/account2
> ....
> http://terrasittes.com/account2000
>
> where /accountxxx is the username...
>
>
> to give the customers the look of a top level domain I use wildcard subdomains and
>give the customers the option of having a URL that looks like this:
>
> http://account.terrasites.com
>
> To achieve this, I use a mod_redirect scheme to rewrite the URL;
> http://account.terrasites.com/pages.html
> to
> http://terrasites.com/account/pages.html
>
> here is the problem...
>
> I use the config
> SUBDIR /*
>
> While this works fine for customers that use the URL,
> http://terrasites.com/account/page.html, when the customer uses the URL,
> http://account.terrasites.com/page.html and the mod_redirect rewrites the
> URL, all of the accounting for subdirectories and pages for all accounts
> are lumped under the root /
>
> Is there a way to set up analog to list all of the subdomains (and I mean
> 3rd level subdomains) and their subdirectories?
>
Are the users in separate logfiles? Or do they have the virtual hostname
written on each logfile line? If so, you can just use the second argument to
the LOGFILE command, to add their domain name to the front: see
docs/logfile.html#secondarg
Otherwise, how is /index.html for customer1 distinguished from /index.html
for customer2 in the logfile?
--
Stephen Turner http://www.statslab.cam.ac.uk/~sret1/
Statistical Laboratory, Wilberforce Road, Cambridge, CB3 0WB, England
"The new operating system will recover more easily from system crashes."
(Microsoft, aiming high with Windows Millennium)
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------