httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Spork Schivago <>
Subject [users@httpd] Help tracking down a weird error with Apache and local / remote connections.
Date Thu, 26 Jan 2017 20:31:36 GMT
I have a bit of a weird problem that I'd like some help tracking down.
I'm pretty sure it's something with Apache.   In my Apache 2.4.25 (cPanel)
config file, I have the ServerAliases disabled.   There's a "catch-all"
entry for unbound IPs, that look like this:

<VirtualHost *>
    DocumentRoot /var/www/html

    <IfModule suphp_module>
        suPHP_UserGroup nobody nobody


Further down, I have a VirtualHost entry for, which has a
DocumentRoot of /home/<myusername>/public_html

I setup a test file,
/home/<myusername>/public_html/.well-known/acme-challenge/test that says

Then I setup another test file,
/var/www/html/.well-known/acme-challenge/test that says

I have .htaccess files in /home/<myusername>/public_html that redirect all
traffic to secure ports.   I have cPanel installed and have manually setup
subdomains for the various cPanel stuff.

Anyway, when I run the following command on the remote server:

I see the 301 redirect.   When I run:
I see the:

However, when I run those commands on my local Linux box instead of the
remote server that's running Apache, I see:


It's not just curl, lynx, the command line web browser, does the same
thing.   On the remote computer that's running Apache, for some reason, I'm
seeing different results than I am when I run the commands on my local
Linux box.

Any idea what's going on?


Ken Swarthout

View raw message