Re: [squid-users] How can I handle whitespaces in configuration file?

From: Amos Jeffries <squid3@dont-contact.us>
Date: Fri, 9 Nov 2007 15:11:28 +1300 (NZDT)

> I'd like to change squid installation path as below.
>
> c:/program files/squid
>
> so I started squid with '-f' option.
>
> squid -f &quot;c:/program files/squid/etc/squid.conf&quot;
>
> but I faced a problem soon.
> I changed mime.conf file path in squid.conf file
>
> mime_table c:/program files/squid/etc/mime.conf
>
> but it doesn't work
> squid seem to treat it as
>
> mime_table c:/program
>
> squid showed below message
>
> ============================================================
>
> FATAL: MIME Config Table c:/program: (2) No such file or directory
> Squid Cache (Version 2.5.STABLE13-NT): Terminated abnormally.
> CPU Usage: 0.031 seconds = 0.016 user + 0.016 sys
> Maximum Resident Size: 1872 KB
> Page faults with physical i/o: 467
>
> abnormal program termination
>
> ============================================================
>
> Sorry for poor English and Thnaks for your attention.

Upgrade to 2.6. You will love it.

also, try %20 instead of the space.

Amos
Received on Thu Nov 08 2007 - 19:11:33 MST

This archive was generated by hypermail pre-2.1.9 : Sat Dec 01 2007 - 12:00:02 MST