[HELP] Apache can't load page in root after changing the listen port other than 80

Discussion in 'Apache' started by dewaforex, Dec 10, 2010.

  1. #1
    Hi,

    I changed my listen port to 8080
    but suddenly can't load any page in root folder but it's fine with the sub-folder

    My log only display this message

    x.x.x.x - - [11/Dec/2010:05:34:24 +0700] "GET / HTTP/1.1" 301 - "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10"
    HTML:
    Is it mean internal looping?

    Because it's fine open page in sub-folder

    But if I switched back to Listen at port 80, all are working fine again.

    Please help me.
    Maybe I missed something in here

    Server Centos 5.4
    Server version: Apache/2.2.3
    Server built: Aug 30 2010 12:32:08
    Server's Module Magic Number: 20051115:3
    Server loaded: APR 1.2.7, APR-Util 1.2.7
    Compiled using: APR 1.2.7, APR-Util 1.2.7
    Architecture: 32-bit
    Server MPM: Prefork
    threaded: no
    forked: yes (variable process count)
    Server compiled with....
    -D APACHE_MPM_DIR="server/mpm/prefork"
    -D APR_HAS_SENDFILE
    -D APR_HAS_MMAP
    -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
    -D APR_USE_SYSVSEM_SERIALIZE
    -D APR_USE_PTHREAD_SERIALIZE
    -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
    -D APR_HAS_OTHER_CHILD
    -D AP_HAVE_RELIABLE_PIPED_LOGS
    -D DYNAMIC_MODULE_LIMIT=128
    -D HTTPD_ROOT="/etc/httpd"
    -D SUEXEC_BIN="/usr/sbin/suexec"
    -D DEFAULT_PIDLOG="run/httpd.pid"
    -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
    -D DEFAULT_LOCKFILE="logs/accept.lock"
    -D DEFAULT_ERRORLOG="logs/error_log"
    -D AP_TYPES_CONFIG_FILE="conf/mime.types"
    -D SERVER_CONFIG_FILE="conf/httpd.conf"
     
    dewaforex, Dec 10, 2010 IP
  2. dewaforex

    dewaforex Member

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #2
    dewaforex, Dec 11, 2010 IP
  3. srvwebs

    srvwebs Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    could you post httpd.conf
     
    srvwebs, Dec 13, 2010 IP
  4. gopkris2000

    gopkris2000 Peon

    Messages:
    86
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Didn't check with virtualhost entries in httpd.conf?

    Listen 0.0.0.0:80

    <VirtualHost xxx.xx.xx.xx:80>
     
    gopkris2000, Dec 15, 2010 IP
  5. dewaforex

    dewaforex Member

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #5


    It's not the problem of httpd.conf but wordpress general setting
    For details you can check the link that I gave at second post
     
    dewaforex, Dec 18, 2010 IP
  6. Raquarious

    Raquarious Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks a bunch. I was having the exact same problem and this fixed it.
     
    Raquarious, Jan 18, 2012 IP