• If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Announcement

Collapse
No announcement yet.

[HELPED] HTTP config redirect?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • [HELPED] HTTP config redirect?

    Can anyone help me with what the correct entry in the default Apache config needs to be so that any requests to port 80 redirect to
    http://myserver.mycompany.com:7031/valence/vvlogin.pgm..

    for a short term fix I put this in the index.html for the default apache server port 80
    <meta http-equiv="refresh" content="0;URL=http://myserver.mycompany.com:7031/valence/vvlogin.pgm">

    the above worked when I was on-site in the network, however it does not work outside the network. I'm pretty sure the DNS is ok because you can hit the site by using http://myserver.mycompany.com:7031/valence/vvlogin.pgm.
    but if you just use http://myserver.mycompany.com
    nothing happens and then times-out..

  • #2
    In the post http://cnxforum.com/showthread.php?8...light=redirect
    it says that you must also specify a documentRoot directive - is this set?

    Comment


    • #3
      there is a document root, however it is set to /valence-3.1/ .. that being said there is also an alias for /html ..
      this was a new 3.1 install so the config was pre-set to all the defaults with the installation files as the post describes (i think)

      that redirect forum post isn't really what I'm trying to do.. it still needs the port number as part of the url...

      i want to have the default port 80 http server re-direct to the valence http server.
      so that when a user goes to http://host.myserver.com
      it redirects to http://host.myserver.com:7031/valence/vvlogin.pgm

      Comment


      • #4
        Well if you can go straight to 7031 from the outside I would agree your dns is correct on the server name. You don't have any restrictions on your webserver on port 80 that would not allow someone from the outside in....do you?? I know sometimes I have restricted access to a webserver or webserver path by ip addresses..... just a thought

        Comment

        Working...
        X