Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 46758

Re: How to configure correctly the httpd.conf file

$
0
0
by Aaricia Thorgalson (aka Mari Cruz García).  

Hello Ken,

Thanks again for the spirit of sharing. When I stopped and restarted apache, I noticed the syntax error you mention, as there was an error message.

I corrected the errors and was able to restart apache.

I ran the command '/sbin/service httpd restart' and the outcome is 'Syntax OK'

I also ran:

curl -I http://internalipaddress |grep Server, 

and the result is:

[root@diabetes ~]# curl -I http://134.36.65.163 |grep Server
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

Is it OK?

Answer for dig www.diabetes.cmdn.dundee.ac.uk

_______________________________________________________________________

; <<>> DiG 9.8.2rc1-RedHat-9.8.2-0.10.rc1.el6 <<>> www.diabetes.cmdn.dundee.ac.uk
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 45502
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;www.diabetes.cmdn.dundee.ac.uk.        IN      A

;; AUTHORITY SECTION:
cmdn.dundee.ac.uk.      10751   IN      SOA     ns0.lifesci.dundee.ac.uk. dnsadmin.lifesci.dundee.ac.uk. 1347543479 86400 7200 3600000 86400

;; Query time: 1 msec
;; SERVER: 10.1.255.216#53(10.1.255.216)
;; WHEN: Fri Jun  7 10:42:39 2013
;; MSG SIZE  rcvd: 105
_______________________________________________________________________

so it is not cero.

answer for fgrep 'SELINUX' /etc/selinux/config
_______________________________________________________________________

SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
SELINUXTYPE=targeted
_______________________________________________________________________

so SELINUX is disabled, that is good.

____________________________________________________________

If type the IP address 134.26.65.163   in the address bar of my web broswer, the web browser spends like 3 minutes or so trying to connect, and then there is an error message:

'The connection has timed out
 
        
 The server at 134.26.65.163 is taking too long to respond.'

If I type the domain name, it is almost instant to get a message saying

Server not found
_______________________________________________________________

Do you think that, from my side, everything is OK so that the Moodle site could be accessible through the browser?    
      
      
      
      
        
 


Viewing all articles
Browse latest Browse all 46758

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>