internal link – jump to link – from https to http issue

I did a home-page in php (which can be seen only on https) that page relinks to 2 different internal webportal.
One of the two internal webportal (MpcPanel) is on a http url.

home-page url:

html code of the home-page that does not link to the correct wepportal (MpcPanel):

  <div align="center" class="copyright" style="width: 400px; border: thin solid #F48C13; margin:0 auto;">
    <p><a href="/cgi-bin/class/login.cgi"><strong>Accesso a MpcPanel</strong></a></p>
  <p><a href="/cgi-bin/class/login.cgi"><img src="/classpba/include/images/logo.png" alt="" width="240" height="50" longdesc="/classpba/include/images/logo.png" /></a></p>

The full url I want to go is:

And the full url of the image is:

I dont want to put in the src= the full url becouse, I want the opportunity to change the IP of my server without having to be forced to manually change also the IP in the home-page.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s