Server port 16080 problem: webserver adds the port number 16080 in the URL

Posted by Juri on Stack Overflow See other posts from Stack Overflow or by Juri
Published on 2010-04-20T07:36:44Z Indexed on 2010/04/27 7:43 UTC
Read the original article Hit count: 591

Hello everybody.

On my wordpress website one little thing doesn't work. Sometimes the Webserver adds the port number 16080 in the URL, which leads to an error (network timeout).

Wrong: http://www.example.com:16080/about-us/weekly-program/?month=may&yr=2010 Correct: http://www.example.com/about-us/weekly-program/?month=may&yr=2010

Has someone a "Server port 16080 problem fix"?

Is it possible, that I need to add a ServerName directive to the config file to tell the domain name of the server?

Cheers Juri

!!!update!!! PS: Here is the site configuration, don't ask me to change the 16080 to 80, because that screwes up everyone else's websites... Please let me know what you think of the configuration:

## Default Virtual Host Configuration
<VirtualHost *:16080>
       ServerName example.com
       ServerAdmin [email protected]
        DocumentRoot "/Library/WebServer/Documents/WMsites/example.com/wordpress"
       DirectoryIndex "index.html" "index.php"
       CustomLog "/var/log/httpd/access_log" "%{PC-Remote-Addr}i %l %u %t \"%r\" %>s %b"
       ErrorLog "/var/log/httpd/error_log"
       ErrorDocument 404 /error.html
       <IfModule mod_ssl.c>
               SSLEngine Off
               SSLLog "/var/log/httpd/ssl_engine_log"
               SSLCertificateFile "/etc/certificates/Default.crt"
               SSLCertificateKeyFile "/etc/certificates/Default.key"
               SSLCipherSuite "ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:!SSLv2:+EXP:+eNULL"
       </IfModule>
       <IfModule mod_dav.c>
               DAVLockDB "/var/run/davlocks/.davlock100"
               DAVMinTimeout 600
       </IfModule>
       <Directory "/Library/WebServer/Documents/WMsites/example.com/wordpress">
               Options All -Indexes -ExecCGI -Includes +MultiViews
               <IfModule mod_dav.c>
                       DAV Off
               </IfModule>
               AllowOverride All
       </Directory>
       <IfModule mod_rewrite.c>
               RewriteEngine On
               RewriteCond %{REQUEST_METHOD} ^TRACE
               RewriteRule .* - [F]
       </IfModule>
       <IfModule mod_alias.c>
       </IfModule>
       LogLevel warn
       ServerAlias www.example.com
        ServerAlias example.com
</VirtualHost>

© Stack Overflow or respective owner

Related posts about apache

Related posts about http