admilon

Q: Server5 SSL error and php problem

Hello,

I see this for all virtual and the non virutal site in my logs on MacOS Server 5 last version:

You configured HTTP(80) on the standard HTTPS(443) port!

Any idea, what could be wrong?

All sites include a site specific file to redirect rules like this:

<IfModule mod_rewrite.c>

RewriteEngine On
RewriteCond %{HTTP_HOST} ^mail\. [OR,NC]
RewriteCond %{REQUEST_URI} ^/webmail. [NC]
RewriteRule ^(.*) https://mail.domain.tld/webmail/ [L,R=permanent]
ProxyPassReverse / /
ProxyRequests Off

</IfModule>

 

It also looks like php is kind of broken, when I try to execute a script I get this error:

Library not loaded: /usr/lib/libltdl.7.dylib

  Referenced from: /usr/local/php5/bin/php

  Reason: image not found

Trace/BPT trap: 5

And of course the lib is not there, where it should be.

Any idea what could be wrong?

thanks

admilon

Mac mini, OS X Server, v5

Posted on Sep 6, 2016 6:39 AM

Close

Q: Server5 SSL error and php problem

  • All replies
  • Helpful answers

  • by etresoft,

    etresoft etresoft Sep 6, 2016 8:10 AM in response to admilon
    Level 7 (29,051 points)
    Sep 6, 2016 8:10 AM in response to admilon

    Hello admilon,

    You are using a local version of PHP. Either use the system version or rebuild your PHP.

  • by admilon,

    admilon admilon Sep 8, 2016 1:32 AM in response to etresoft
    Level 1 (14 points)
    Mac OS X
    Sep 8, 2016 1:32 AM in response to etresoft

    yup and that local version was destroyed through the update …

    I will install the current version, still thinking if I should go immeditaly to php7 or use the last stable v5.

    Besides that, after commenting this out:

        ProxyPassReverse / /
        ProxyRequests Off

    the errors also disappeared.

    cheers

    admilon