Forum Moderators: phranque
I did post another question earlier in this forum, and I now got another question to solve.
My earlier post is here: [webmasterworld.com...]
I solved that problem with changing to Apache2.
I know got this working, but I need help again.
This is what is written in my httpd.conf:
---------------------------
<VirtualHost *>
VirtualDocumentRoot c:/web/%-2/-%1
VirtualScriptAlias C:/web/%-2/-%1
ServerAdmin admin@domain.com
ErrorLog C:/web/#logs/error_log.txt
CustomLog C:/web/#logs/access_log.txt common
</VirtualHost>
---------------------------
I host 6 domains, and loads of subdomains..
How can I log these individually?
For an example, if someone request
http://subdomain.example.org/
they recieve documents in the document folder
C:/web/example/-subdomain/
How can I get a log for each domain? I tried a couple of alternatives, but haven't solved it yet.
.. and if it matters, I want the logs to look like this:
C:/web/#logs/domain/subdomain/acess-log
C:/web/#logs/domain/subdomain/error-log
Can you help me solve this?
Thank you, in advance.
[edited by: jdMorgan at 4:26 am (utc) on Aug. 7, 2005]
[edit reason] Removed specifics per TOS. [/edit]