Testing Cool URIs on localhost in Windows

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Peter Mount

    Testing Cool URIs on localhost in Windows

    Hi

    I was reading a tutorial on Cool URI's.

    I'm changing over to Linux from Windows but I need to finish a web site
    first in Windows before that can be completed. When I check the web site
    in localhost Windows puts %20 in the blank spaces (I'm sure you all know
    this).

    With the rewrite rule in httpd.conf I've got "/" going to "index.php"
    and "/news/" going to "news.php". When I upload the site will it work OK
    if I just replace the localhost part of the url (in the menu file) with
    the proper web site address?

    eg




    instead of:




    As the web address hasn't been redirected to the new web host will I be
    able to use the IP address of the web site's new location (i.e. after
    it's redelegated) to check it while it's still being propogated?

    Thanks

    Peter Mount
    info@petermount .au.com
  • Carl Vondrick

    #2
    Re: Testing Cool URIs on localhost in Windows

    I do not believe that this will work. You need to change the host that
    Apache is operating on to www.thiswebsite

    Peter Mount wrote:[color=blue]
    > Hi
    >
    > I was reading a tutorial on Cool URI's.
    >
    > I'm changing over to Linux from Windows but I need to finish a web site
    > first in Windows before that can be completed. When I check the web site
    > in localhost Windows puts %20 in the blank spaces (I'm sure you all know
    > this).
    >
    > With the rewrite rule in httpd.conf I've got "/" going to "index.php"
    > and "/news/" going to "news.php". When I upload the site will it work OK
    > if I just replace the localhost part of the url (in the menu file) with
    > the proper web site address?
    >
    > eg
    >
    > http://www.thiswebsite/
    > http://www.thiswebsite/news/
    >
    > instead of:
    >
    > http://localhost/This%20Web%20Site/
    > http://localhost/This%20Web%20Site/news/
    >
    > As the web address hasn't been redirected to the new web host will I be
    > able to use the IP address of the web site's new location (i.e. after
    > it's redelegated) to check it while it's still being propogated?
    >
    > Thanks
    >
    > Peter Mount
    > info@petermount .au.com[/color]


    --
    Carl Vondrick
    Professor of Computer Science at Columbia University, researching computer vision, machine learning, and AI applications.

    usenet [at] carlsoft [dot] net

    Comment

    • samudas

      #3
      Re: Testing Cool URIs on localhost in Windows

      This really isn't the correct group to post this question. Just put the
      contents of "This Web Site" in the htdocs folder on your live server.
      If you already have the ip address for your server then just open it.
      http://192.168.1.234/news/ or whatever your ip address happens to be.

      Comment

      Working...