0

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\1.py

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 ?

1 Answer 1

1

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\\1.py

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

2
  • 1
    Alternatively, use forward slashes instead (/).
    – longneck
    Feb 7, 2013 at 21:43
  • can you point me to some script examples for url_rewrite_program ?
    – bit8bug
    Feb 9, 2013 at 8:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .