I have installed phpMyFaq 2.5.4 on apache 2.2 / php 5.2 / mysql & ubuntu 9.10. Access to http://<ip>/faq is fine on PCs in the same subnet as the server. However, none of my users who are at a different site (& a different IP subnet) can access.
They can get to the default apache page - http://<ip> with no problem.
And they can also display the images - http://<ip>/faq/images/email.gif
But when they go to http://<ip>/faq the browser just hangs for a long time trying to connect and eventually fails.
There is nothing in the apache error log relating to the IP they are coming from & I can see entries in the access log showing them connecting.
Any thoughts ?
IP Security
Moderator: Thorsten
Re: IP Security
Hi,
this is very strange... do you have special Apache allow/deny rules?
bye
Thorsten
this is very strange... do you have special Apache allow/deny rules?
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: IP Security
No, this is a brand new ubuntu install (i selected the LAMP package during the install). I've not touched apache at all, simply downloaded phpmyfaq and installed.
Is there any log info I can provide you to help, I'm confused !
Is there any log info I can provide you to help, I'm confused !
Re: IP Security
Any more thoughts on this ?
My server resides on our internal 1.1.1.0 subnet. When I access it from my PC I get this in apache access.log
1.1.1.86 - - [23/Nov/2009:13:40:36 +0000] "GET /faq/ HTTP/1.1" 200 3387 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.3 (KHTML, like Gecko) Chrome/4.0.223.16 Safari/532.3"
1.1.1.86 - - [23/Nov/2009:13:40:36 +0000] "GET /faq/template/style.css HTTP/1.1" 304 210 "http://uk-dodo.sirsi.pvt/faq/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.3 (KHTML, like Gecko) Chrome/4.0.223.16 Safari/532.3"
1.1.1.86 - - [23/Nov/2009:13:40:36 +0000] "GET /faq/template/print.css HTTP/1.1" 304 210 "http://uk-dodo.sirsi.pvt/faq/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.3 (KHTML, like Gecko) Chrome/4.0.223.16 Safari/532.3"
1.1.1.86 - - [23/Nov/2009:13:40:36 +0000] "GET /faq/inc/js/functions.js HTTP/1.1" 304 211 "http://uk-dodo.sirsi.pvt/faq/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.3 (KHTML, like Gecko) Chrome/4.0.223.16 Safari/532.3"
1.1.1.86 - - [23/Nov/2009:13:40:36 +0000] "GET /faq/inc/js/jquery.min.js HTTP/1.1" 304 211 "http://uk-dodo.sirsi.pvt/faq/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.3 (KHTML, like Gecko) Chrome/4.0.223.16 Safari/532.3"
When I attempt to access the site from a PC in another office I get this:
2.2.2.248 - - [23/Nov/2009:13:42:31 +0000] "GET /faq/ HTTP/1.1" 200 3381 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
So i can see that an initial connection is made. But at this point, the browser on the PC in the remote office sits on "Waiting for ....."
What else can i look at ?
Richard
My server resides on our internal 1.1.1.0 subnet. When I access it from my PC I get this in apache access.log
1.1.1.86 - - [23/Nov/2009:13:40:36 +0000] "GET /faq/ HTTP/1.1" 200 3387 "-" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.3 (KHTML, like Gecko) Chrome/4.0.223.16 Safari/532.3"
1.1.1.86 - - [23/Nov/2009:13:40:36 +0000] "GET /faq/template/style.css HTTP/1.1" 304 210 "http://uk-dodo.sirsi.pvt/faq/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.3 (KHTML, like Gecko) Chrome/4.0.223.16 Safari/532.3"
1.1.1.86 - - [23/Nov/2009:13:40:36 +0000] "GET /faq/template/print.css HTTP/1.1" 304 210 "http://uk-dodo.sirsi.pvt/faq/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.3 (KHTML, like Gecko) Chrome/4.0.223.16 Safari/532.3"
1.1.1.86 - - [23/Nov/2009:13:40:36 +0000] "GET /faq/inc/js/functions.js HTTP/1.1" 304 211 "http://uk-dodo.sirsi.pvt/faq/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.3 (KHTML, like Gecko) Chrome/4.0.223.16 Safari/532.3"
1.1.1.86 - - [23/Nov/2009:13:40:36 +0000] "GET /faq/inc/js/jquery.min.js HTTP/1.1" 304 211 "http://uk-dodo.sirsi.pvt/faq/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.3 (KHTML, like Gecko) Chrome/4.0.223.16 Safari/532.3"
When I attempt to access the site from a PC in another office I get this:
2.2.2.248 - - [23/Nov/2009:13:42:31 +0000] "GET /faq/ HTTP/1.1" 200 3381 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.2; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)"
So i can see that an initial connection is made. But at this point, the browser on the PC in the remote office sits on "Waiting for ....."
What else can i look at ?
Richard
Re: IP Security
Hi,
please try this:
and then:
Please post the server reply.
bye
Thorsten
please try this:
Code: Select all
telnet <ip> 80Code: Select all
GET /faq HTTP/1.0<return>
<return>bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: IP Security
From which ever machine I try it from (either one that works, or one that doesn't) I get :
HTTP/1.1 301 Moved Permanently
Date: Thu, 03 Dec 2009 16:10:16 GMT
Server: Apache/2.2.12 (Ubuntu)
Location: http://a.b.c/faq/
Vary: Accept-Encoding
Content-Length: 320
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://a.b.c/faq/">here</a>.</p>
<hr>
<address>Apache/2.2.12 (Ubuntu) Server at uk-dodo.sirsi.pvt Port 80</address>
</body></html>
on a working machine, if i type
GET /faq/ HTML/1.0 then I get a load of html.
on a non-working machine, if i type
GET /faq/ HTML/1.0 then it hangs forever.
HTTP/1.1 301 Moved Permanently
Date: Thu, 03 Dec 2009 16:10:16 GMT
Server: Apache/2.2.12 (Ubuntu)
Location: http://a.b.c/faq/
Vary: Accept-Encoding
Content-Length: 320
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href="http://a.b.c/faq/">here</a>.</p>
<hr>
<address>Apache/2.2.12 (Ubuntu) Server at uk-dodo.sirsi.pvt Port 80</address>
</body></html>
on a working machine, if i type
GET /faq/ HTML/1.0 then I get a load of html.
on a non-working machine, if i type
GET /faq/ HTML/1.0 then it hangs forever.
Re: IP Security
Hi,
bye
Thorsten
is the problem. Is it reachable for the second server?HTTP/1.1 301 Moved Permanently
Location: http://a.b.c/faq/
bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist
Re: IP Security
not sure what you mean ...... is what reachable from the second server?
This morning I setup a VirtualHost
<VirtualHost 1.1.1.1>
ServerAdmin richard.temple@XXX.COM
DocumentRoot /var/www/faq
ServerName a.b.c.d
ErrorLog /var/log/apache2/a.b.c.d-error_log
TransferLog /var/log/apache2/a.b.c.d-access_log
</VirtualHost>
TEST 1
Client 1 (that works) - i got back a whole stream of html
telnet a.b.c.d 80
GET / HTML/1.0 <return>
<return>
HTTP/1.1 200 OK
Date: Fri, 04 Dec 2009 12:11:58 GMT
Server: Apache/2.2.12 (Ubuntu)
X-Powered-By: PHP/5.2.10-2ubuntu6.1
Set-Cookie: pmf_auth=a726134ece6217c8053ed54267de5dd9; path=/
Expires: Thu, 07 Apr 1977 14:47:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: pmf_sid=121; expires=Fri, 04-Dec-2009 13:11:58 GMT
Last-Modified: Fri, 04 Dec 2009 12:11:59 GMT
Cache-Control: post-check=0, pre-check=0
Vary: Negotiate,Accept,Accept-Encoding
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xht
ml" xml:lang="en" lang="en">
<head>
TEST 2
Client 2 (that does not work)
telnet a.b.c.d 80
GET / HTML/1.0 <return>
<return>
Each time I press return, the cursor moves does one line and it shows an _ So this matches what I see in the browser. When connecting to http://a.b.c.d the browser just sits there "waiting for a.b.c.d" for a very long time.
This morning I setup a VirtualHost
<VirtualHost 1.1.1.1>
ServerAdmin richard.temple@XXX.COM
DocumentRoot /var/www/faq
ServerName a.b.c.d
ErrorLog /var/log/apache2/a.b.c.d-error_log
TransferLog /var/log/apache2/a.b.c.d-access_log
</VirtualHost>
TEST 1
Client 1 (that works) - i got back a whole stream of html
telnet a.b.c.d 80
GET / HTML/1.0 <return>
<return>
HTTP/1.1 200 OK
Date: Fri, 04 Dec 2009 12:11:58 GMT
Server: Apache/2.2.12 (Ubuntu)
X-Powered-By: PHP/5.2.10-2ubuntu6.1
Set-Cookie: pmf_auth=a726134ece6217c8053ed54267de5dd9; path=/
Expires: Thu, 07 Apr 1977 14:47:00 GMT
Cache-Control: no-store, no-cache, must-revalidate
Pragma: no-cache
Set-Cookie: pmf_sid=121; expires=Fri, 04-Dec-2009 13:11:58 GMT
Last-Modified: Fri, 04 Dec 2009 12:11:59 GMT
Cache-Control: post-check=0, pre-check=0
Vary: Negotiate,Accept,Accept-Encoding
Connection: close
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xht
ml" xml:lang="en" lang="en">
<head>
TEST 2
Client 2 (that does not work)
telnet a.b.c.d 80
GET / HTML/1.0 <return>
<return>
Each time I press return, the cursor moves does one line and it shows an _ So this matches what I see in the browser. When connecting to http://a.b.c.d the browser just sits there "waiting for a.b.c.d" for a very long time.
Re: IP Security
Hi,
please try a
from both networks. It seems you have a DNS mismatch.
bye
Thorsten
please try a
Code: Select all
nslookup a.b.c.d
ping a.b.c.dbye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
amazon.de Wishlist