Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a squid proxy running fine on windows , but when I introduce the line

url_rewrite_program C:\Python27\python.exe C:\Squid\scripts\

Then squid will fail to start with

System error 1067 has occurred

Anyone had the same issue before , is this option compatible with some specific mode of running squid ?

share|improve this question
up vote 1 down vote accepted

That error indicates "The process terminated unexpectedly". I'd imagine that Squid is failing to start properly and choking on your configuration file. If you attempt to start Squid from a command prompt (versus starting the service) you'll get some more verbose output about the error.

If memory serves you will need to specify the url_rewrite_program with the syntax:

url_rewrite_program C:\\Python27\\python.exe C:\\Squid\\scripts\\

This will escape the slashes, which is what I expect Squid is choking on.

share|improve this answer
Alternatively, use forward slashes instead (/). – longneck Feb 7 '13 at 21:43
can you point me to some script examples for url_rewrite_program ? – bit8bug Feb 9 '13 at 8:41

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.