Hi Toan,

As Dmitri mentioned, I think you need to setup the BASEURL(IP)
in /var/www/html/vcl/.ht-inc/conf.php.
For example, you can define like the below
==========
$ip = "132.168.1.X";
define("BASEURL", "https://$ip/vcl";);
define("SCRIPT", "/index.php");
..
define("COOKIEDOMAIN", "");
define("HOMEURL", "http://$ip/vcl";);
===========

As I understand, the CentOS webserver homepage is defined by your webserver
so that it always points to the defined webserver homepage but it's not
work for your VCL homepage. I think the default value of the BASEURL is
your localhost in the configuration file. So, you need to change the
BASEURL for VCL homepage if you want to access it through a specific URL. I
hope this could help you.

Thanks,
--------------------------------------------------------------------
Young Hyun Oh



From:   Toan Trac <[email protected]>
To:     [email protected],
Date:   10/07/2013 09:27 PM
Subject:        Re: Accessing VCL via URL from another computer



Right now its "localhost".

>From the webserver, if I entered "https://localhost/vcl";, it works fine.

If I am on another machine and enter "https://132.168.1.X/vcl";, it resolves
to my local address (something is redirecting it).  Entering "
https://132.168.1.X";, it shows the centos webserver homepage fine.


On Mon, Oct 7, 2013 at 6:03 PM, Dmitri Chebotarov <[email protected]> wrote:
  Toan,

  I believe you need to update BASEURL variable (define("BASEURL",""))
  in html/.ht-inc/conf.php file on web server...

  --
  Thank you,

  Dmitri Chebotarov
  VCL Sys Eng, Engineering & Architectural
  Support, TSD - Ent Servers & Messaging
  223 Aquia Building, Ffx, MSN: 1B5
  Phone: (703) 993-6175 | Fax: (703) 993-3404

  From: Henry Schaffer <[email protected]>
  Sent: Monday, October 07, 2013 7:22 PM
  To: [email protected]
  Subject: Re: Accessing VCL via URL from another computer

  Toan,
    I didn't mean to imply you were using the NCSU site, I was trying to
  differentiate between accessing the VCL web page and accessing the
  image/environment which has been reserved on the web.

    I'm now beyond my knowledge of the internals - so someone else needs to
  help.

  --henry


  On Mon, Oct 7, 2013 at 7:17 PM, Toan Trac <[email protected]> wrote:
   Henry,

   I am setting it at home for testing purpose (complete install etc).  I
   am not accessing NCSU site.  All of my configuration has been set to
   localhost.  Trying to access the internal website locally from another
   computer.  If i enter the ipaddress/vcl, it kept on changing to the
   localhost of the machine I am at.


   On Mon, Oct 7, 2013 at 3:58 PM, Henry Schaffer <[email protected]> wrote:



     On Mon, Oct 7, 2013 at 6:05 PM, Toan Trac <[email protected]> wrote:

      Hello,

      I have setup VCL and tested a few stuff.

      All of my configurations have been "localhost".  How do I access the
      VCL from a URL from another computer?

       Which part of the VCL?

       There are two separate access modes - accessing the VCL web site,
     and accessing the computer for which you have made a reservation.

       To make a reservation, make an image, look at statistics - one goes
     to the VCL web site (on our campus thats http://vcl.ncsu.edu).

       To access a reservation for which the web site has given you a
     "Connect!", then one goes to the IP address given you after clicking
     "Connect!" by using a connection method such as RDP Client or ssh.

      I tried using the IP address (https://132.168.x.x/vcl) but it kept on
      redirecting the address to the localhost of the current machine where
      I am at.

       This sort of looks like going to a reservation made. If that's what
     it is, I would think that RDP or ssh would be used.

       It could be that I'm going down the wrong track - can you say if
     that's so and explain further?

     --henry



      I tried modifying the host file on my workstation but don't have any
      luck.


      Thanks,
      TT



<<inline: graycol.gif>>

Reply via email to