"Rob Morley" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) t...
> In article <(E-Mail Removed)>, "Steven" steven54904
> @mail2me.com says...
>> Hi, I have just set up Apache 2.0.5.0 on a local pc, and was wondering
>> if
>> someone might be able to tell me where in the configuration file I need
>> to
>> be editing to save the 'access log' to a different location than the
>> default. The log is currently saved at the default location. I need the
>> log to be saved at
>>
>> F:/server/log/
>>
>> Can I instruct apache to save the log at this location without having to
>> save other files to this location too?
>>
>> What do I need to add and to where in the config file to achieve this...?
>>
> The config file is self-documented - it contains stuff like
>
> "
> # Configuration and logfile names: If the filenames you specify for many
> # of the server's control files begin with "/" (or "drive:/" for Win32),
> the
> # server will use that explicit path. If the filenames do *not* begin
> # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
> # with ServerRoot set to "E:/Program Files/Apache Group/Apache2" will be
> interpreted by the
> # server as "E:/Program Files/Apache Group/Apache2/logs/foo.log".
> #
> # NOTE: Where filenames are specified, you must use forward slashes
> # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
> # If a drive letter is omitted, the drive on which Apache.exe is located
> # will be used by default. It is recommended that you always supply
> # an explicit drive letter in absolute paths, however, to avoid
> # confusion.
> "
>
> and
>
> "
> # The location and format of the access logfile (Common Logfile Format).
> # If you do not define any access logfiles within a <VirtualHost>
> # container, they will be logged here. Contrariwise, if you *do*
> # define per-<VirtualHost> access logfiles, transactions will be
> # logged therein and *not* in this file.
> #
> CustomLog logs/access.log common
> "
Hi Rob... I have already read the info in there and as I interpret it, my
entry should read:
CustomLog e:/ftp server/access.log common
Unfortunately this doesn't work....
The server responds on startup with 'Error' and shuts down.
I want the access log to be stored on e:/ftp server/access.log
Am I doing something wrong?
Thanks
Steven
|