genesis Posted April 7, 2016 Posted April 7, 2016 (edited) Hi We have switched our proxy server to Debian 8.3amd64. We use a web based application and after we switched to new proxy server the program doesn’t open, although this PC is connected to the internet. It says that the program could not connect to theinternet. I raised this with our software vendor and they have suggested adding the command line “ignore_expect_100”. I am not aware of the Debian server and, please post me tutorials as how to add this command What is the best way of adding this command (“ignore_expect_100”) ? Do i need to do through Putty-SSH/ Putty-Telnet.Please suggest Any help much appreciated. Thanks Edited April 7, 2016 by genesis
jinnantonnixx Posted April 7, 2016 Posted April 7, 2016 I'm guessing that you want to add the command to the Squid configuration file. On most systems, that file is here: /etc/squid/squid.conf If you're a Windows user, the easiest way to do this is to use WinSCP to remotely browse the Debian server's filesystem and make the modification by editing the file. However, I would press your vendor for explicit instructions.
genesis Posted April 7, 2016 Author Posted April 7, 2016 I installed WinSCP and browsed to the location /etc/squid/squid.conf and can see the command already ignore_expect_100 So not sure what else needs to be done, I will contact the vendor.
jinnantonnixx Posted April 7, 2016 Posted April 7, 2016 (edited) I installed WinSCP and browsed to the location /etc/squid/squid.conf and can see the command already ignore_expect_100 So not sure what else needs to be done, I will contact the vendor. [ATTACH=CONFIG]36032[/ATTACH] The tag is in the config file as a comment, but it's not an active setting. In general in Linux, lines beginning with '#' are comments and are ignored. Underneath the '#none' line, you should type in ignore_expect_100 and save the file. Reboot when convenient and see if it works. Edited April 7, 2016 by jinnantonnixx 1
genesis Posted April 7, 2016 Author Posted April 7, 2016 Please see the attached the edited file and let me know if this is correct?
genesis Posted April 7, 2016 Author Posted April 7, 2016 When i edit the file and save it says access denied Please help
jinnantonnixx Posted April 7, 2016 Posted April 7, 2016 In WinSCP, you'll need to connect as a user that has correct permissions to edit the file. For critical files like this, this is normally a user called 'root'. Were you supplied with the root user and password? 1
SHimmer45 Posted April 7, 2016 Posted April 7, 2016 have you connected as "root" ir a user which has permissions to edit the file? 1
twin--turbo Posted April 7, 2016 Posted April 7, 2016 root will probably not work. use "putty" to connect to the cli. # is the prompt. # sudo bash - it will ask for the password, type in yours again. # cd /etc/squid - change to the squid config directory # nano squid.conf - nano is an editor. find the line to edit and then save the file ( ctrl + x ?? ) # service squid restart - restarts squid. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now