Jump to content

how to add command to the debian server ignore_expect_100


Recommended Posts

Posted (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 by genesis
Posted

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.

Posted

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.

Ignore_except_100.jpg

Posted (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 by jinnantonnixx
  • Thanks 1
Posted

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?

  • Thanks 1
Posted

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.

  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...