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.
Apache Web Server

Avatar of undefined
Last Comment
SWB-Consulting

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
yuzh

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
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.
SWB-Consulting

ASKER
it worked now, i pointed to the file instead the folder.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy