Shared IP problem

Discussion in 'Installation/Configuration' started by vaio1, Jun 27, 2008.

  1. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    Hi All,

    how can I set the ISP Config software that redirect to the main website when a user try to write the IP in the address bar?

    Thanks
     
  2. biobrew

    biobrew New Member

    One way would be to edit the file:

    Code:
    vi /var/www/sharedip/index.html
    And put some javascript inbetween the <head></head>:

    e.g.

    Code:
    <script language="javascript">
           location.href = "http://www.mainsite.com";
    </script>
     
  3. vaio1

    vaio1 ISPConfig Developer ISPConfig Developer

    Hi again,

    this message appears when I try to open with the browser the IP.

    regards
     

    Attached Files:

  4. biobrew

    biobrew New Member

    It seems like that directory (the sharedip directory) is password protected with a .htaccess file. Is that why you're seeing that password popup when you type in the IP? When I type in my ip address I just get the "THIS IS A SHARED IP" default message from ispconfig, but from your attached image it looks as if that same directory is using the apache way of password protecting a directory.
     

Share This Page