Link to home
Start Free TrialLog in
Avatar of SWB-Consulting
SWB-Consulting

asked on

log customization


i have this directive in the vhosts conf file for apache:

<VirtualHost *:80>
    ServerName  feminizationsurgery.com
    ServerAlias www.feminizationsurgery.com
    DocumentRoot "c:\SWB\feminizationsurgery.com"
    php_value include_path ".;c:\SWB\feminizationsurgery.com"
</VirtualHost>

I want to add something so all access to that particular page is logged in a separate folder on our server.
ASKER CERTIFIED SOLUTION
Avatar of yuzh
yuzh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SWB-Consulting
SWB-Consulting

ASKER

I created the following:

<VirtualHost *:80>
    ServerName  feminizationsurgery.com
    ServerAlias www.feminizationsurgery.com
    DocumentRoot "c:\SWB\feminizationsurgery.com"
    php_value include_path ".;c:\SWB\feminizationsurgery.com"
    CustomLog "c:\SWB\feminizationsurgery.com\logs"   common
</VirtualHost>

I am getting an apache error:
[Thu Sep 21 13:27:16 2006] [error] (OS 5)Access is denied.  : could not open transfer log file C:/SWB/feminizationsurgery.com/logs.
it worked now, i pointed to the file instead the folder.