I use brew to install polipo through a Mac OS terminal. It seems to have been installed successfully, but I cannot find the configuration file and edit it. Can someone help me figure out the reason?
The configuration file will not be created automatically. You need to get a sample configuration file. Run this command in terminal:
curl -o ~/.polipo https://raw.githubusercontent.com/jech/polipo/master/config.sample
and for banned URLs:
curl -o ~/.polipo-forbidden https://raw.githubusercontent.com/jech/polipo/master/forbidden.sample
Then restart polipo to make sure it will use the configuration file:
launchctl unload /usr/local/opt/polipo/homebrew.mxcl.polipo.plist launchctl load /usr/local/opt/polipo/homebrew.mxcl.polipo.plist
If this caused an error Service is disabled, try this command to restart polio:
Service is disabled
brew services restart polipo
: http://127.0.0.1:8123/polipo/config
:
configFile /Users/YourUserName/.polipo Configuration file.
, ~/.polipo, polipo.
~/.polipo
, . /usr/local/etc/polipo/config, - /etc/polipo/config :
/usr/local/etc/polipo/config
/etc/polipo/config
mkdir /usr/local/etc/polipo/ curl -o /usr/local/etc/polipo/config https://raw.githubusercontent.com/jech/polipo/master/config.sample sudo ln -sfv /usr/local/etc/polipo/config /etc/polipo/config
polipo , . /usr/local/etc/polipo/config.
Source: https://habr.com/ru/post/1623968/More articles:Задержка команды Laravel Artisan в очереди из кода - phpRuby Mechanize 404 => Net :: HTTPNotFound - ruby | fooobar.comWhy does accessing the SSL site with Windows Mechanization fail, but it works on a Mac? - ruby | fooobar.comFBSDKLoginButton weird background - iosЯвляется ли printf() строковой шириной безопасной с неизмененными строками? - cTypescript - Respond to 0.14 stateless functional components - reactjsUnable to open area along path - iosMaven Resource Filtering Exception - mavenСтрока поиска в массиве с нечувствительным регистром - arraysRegex and Octal Characters - pythonAll Articles