LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-03-2010, 06:29 AM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Rep: Reputation: 30
1 website doesn't work with proxy


I run a HTTP/HTTPS proxy server but one of our clients is having trouble accessing http://www.sportingindex.com/

Can anyone see if the login button is using some kind of weird connection feature? I thought it might be using flash or something rerouting the connection through something other than port 80 (or 8080 for the proxy) but not sure if that is the issue.
I just used a fake login and password but instead of giving me the incorrect password error the page just hangs.
 
Old 01-03-2010, 06:36 AM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Hi,

I just tried accessing using test/test as user/password combination and got a popup stating login details are incorrect and some contact information. So that part seems to work.

Kind regards,

Eric
 
Old 01-03-2010, 07:15 AM   #3
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by EricTRA View Post
Hi,

I just tried accessing using test/test as user/password combination and got a popup stating login details are incorrect and some contact information. So that part seems to work.

Kind regards,

Eric
Yes, but were you using a proxy server?
Can you see anything in the HTML source that would mean it is using flash or some other proprietary connection that would stop it using HTML?

I had some of these set on the proxy, now commented out, could that cause an issue?
Quote:
#added due to complaint
#header_access From deny all
#header_access Referer deny all
#header_access Server deny all
#header_access User-Agent deny all
#header_access WWW-Authenticate deny all
#header_access Link deny all

Last edited by qwertyjjj; 01-03-2010 at 07:24 AM.
 
Old 01-03-2010, 10:58 PM   #4
lupusarcanus
Senior Member
 
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Blog Entries: 19

Rep: Reputation: 146Reputation: 146
Quote:
Originally Posted by qwertyjjj View Post
I run a HTTP/HTTPS proxy server but one of our clients is having trouble accessing http://www.sportingindex.com/

Can anyone see if the login button is using some kind of weird connection feature? I thought it might be using flash or something rerouting the connection through something other than port 80 (or 8080 for the proxy) but not sure if that is the issue.
I just used a fake login and password but instead of giving me the incorrect password error the page just hangs.
Hi. I just tried to login with test/test combination through this proxy server (browser type), and the webpage just re-loads again, with no error or output, an doesn't even attempt a log-in.

When I did the same without the proxy it brought back the said message of not being able to log in.

I ran the command "netstat -t -u" in a Terminal while I attempted the login,and it outputted this information:

Code:
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0   1215 mylinuxbox.local:58245  85.90.226.52:www        ESTABLISHED
tcp        0      0 mylinuxbox.local:58230  85.90.226.52:www        TIME_WAIT  
tcp        0      0 mylinuxbox.local:52978  lax04s01-in-f102.1e:www ESTABLISHED
tcp        0   1224 mylinuxbox.local:58247  85.90.226.52:www        ESTABLISHED
tcp        0   1302 mylinuxbox.local:58246  85.90.226.52:www        ESTABLISHED
tcp        0      0 mylinuxbox.local:39117  lax04s01-in-f139.:https ESTABLISHED
tcp        0      1 mylinuxbox.local:45487  afweb-ta-cluster-05:www SYN_SENT   
tcp        0   1175 mylinuxbox.local:58248  85.90.226.52:www        ESTABLISHED
tcp        0      0 mylinuxbox.local:58229  85.90.226.52:www        TIME_WAIT  
tcp        0   1313 mylinuxbox.local:58243  85.90.226.52:www        ESTABLISHED
tcp        0   1225 mylinuxbox.local:58244  85.90.226.52:www        ESTABLISHED
tcp        0      0 mylinuxbox.local:41052  85.90.226.52:https      TIME_WAIT  
tcp        0      0 mylinuxbox.local:49401  a-70-183-191-89.dep:www ESTABLISHED
tcp        0      1 mylinuxbox.local:32831  Levexis.com:www         SYN_SENT   
tcp        1      1 mylinuxbox.local:46255  85.90.226.52:www        CLOSING    
tcp        0      0 mylinuxbox.local:40752  lax04s01-in-f138.1e:www ESTABLISHED
tcp        1      1 mylinuxbox.local:58241  85.90.226.52:www        CLOSING
I don't know much about proxies or servers, but perhaps that info may give you some insight as to why this happens.

Last edited by lupusarcanus; 01-03-2010 at 10:59 PM.
 
Old 01-04-2010, 12:14 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
I am using a squid proxy server and I seem to get it to work properly. I can load the site and when I tried the same login as Eric, ( test and test ), I get a pop saying user or password incorrect. it seems it is a javascript pop up. So you should test if javascripts are allowed on your browser.
 
Old 01-04-2010, 02:17 AM   #6
Dave_Devnull
Member
 
Registered: May 2009
Posts: 142

Rep: Reputation: 24
Quote:
Originally Posted by linuxlover.chaitanya View Post
...it seems it is a javascript pop up. So you should test if javascripts are allowed on your browser.
Very good point and a nice catch :-) If the Browser JS settings are good, it may also be worth checking the proxy is set to allow javascript, in particular .js files. Just my 50 pence worth.
 
Old 01-04-2010, 03:38 AM   #7
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,012

Original Poster
Rep: Reputation: 30
Yes, Javascript is allowed on my browser and the proxy.

Quote:
Originally Posted by leopard View Post
Hi. I just tried to login with test/test combination through this proxy server (browser type), and the webpage just re-loads again, with no error or output, an doesn't even attempt a log-in.

When I did the same without the proxy it brought back the said message of not being able to log in.

I ran the command "netstat -t -u" in a Terminal while I attempted the login,and it outputted this information:

Code:
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0   1215 mylinuxbox.local:58245  85.90.226.52:www        ESTABLISHED
tcp        0      0 mylinuxbox.local:58230  85.90.226.52:www        TIME_WAIT  
tcp        0      0 mylinuxbox.local:52978  lax04s01-in-f102.1e:www ESTABLISHED
tcp        0   1224 mylinuxbox.local:58247  85.90.226.52:www        ESTABLISHED
tcp        0   1302 mylinuxbox.local:58246  85.90.226.52:www        ESTABLISHED
tcp        0      0 mylinuxbox.local:39117  lax04s01-in-f139.:https ESTABLISHED
tcp        0      1 mylinuxbox.local:45487  afweb-ta-cluster-05:www SYN_SENT   
tcp        0   1175 mylinuxbox.local:58248  85.90.226.52:www        ESTABLISHED
tcp        0      0 mylinuxbox.local:58229  85.90.226.52:www        TIME_WAIT  
tcp        0   1313 mylinuxbox.local:58243  85.90.226.52:www        ESTABLISHED
tcp        0   1225 mylinuxbox.local:58244  85.90.226.52:www        ESTABLISHED
tcp        0      0 mylinuxbox.local:41052  85.90.226.52:https      TIME_WAIT  
tcp        0      0 mylinuxbox.local:49401  a-70-183-191-89.dep:www ESTABLISHED
tcp        0      1 mylinuxbox.local:32831  Levexis.com:www         SYN_SENT   
tcp        1      1 mylinuxbox.local:46255  85.90.226.52:www        CLOSING    
tcp        0      0 mylinuxbox.local:40752  lax04s01-in-f138.1e:www ESTABLISHED
tcp        1      1 mylinuxbox.local:58241  85.90.226.52:www        CLOSING
I don't know much about proxies or servers, but perhaps that info may give you some insight as to why this happens.
From the above, it seems to be using the www port 80 all the time doesn't it?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A fail2ban equivalent for http when someone uses my website as a proxy ?... curtisa Linux - Newbie 5 03-28-2009 03:36 AM
one website via proxy extremly slowly cccc Linux - Networking 1 11-04-2008 11:53 AM
set up proxy server on hosted website secretlydead Linux - Server 1 09-06-2008 05:06 AM
squid proxy problem - website uploading? maggoty Linux - Software 0 03-14-2004 07:35 PM
Ping website from proxy client neerajmalve Linux - Networking 5 04-28-2003 07:22 AM


All times are GMT -5. The time now is 04:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration