473,394 Members | 2,071 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

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

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
in**@petermount.au.com
Mar 2 '06 #1
2 1649
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:
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
in**@petermount.au.com

--
Carl Vondrick
www.carlsoft.net
usenet [at] carlsoft [dot] net
Mar 3 '06 #2
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.

Mar 3 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Buck Turgidson | last post by:
I am trying to learn PHP. I am confused as to why I need $_SERVER in the first block, but just $PHP_SELF in the 2nd. I don't see the latter assigned anywhere in the code. Thanks for any...
1
by: Mark Jerde | last post by:
I'm working on a testing application. It will run on multiple computers. Each computer has the same "suite" of tests. The test operator can choose which tests to run. It is expected that each...
0
by: sandman | last post by:
I've got an application that a couple of users want to start testing. But the database is still running off the localhost on my development system. I planned on writing a webservice to handle the...
2
by: Curtis Justus | last post by:
Hi, I've been searching for solutions to two issues that are undoubtedly common to everybody. The first is how do my team and I adequately perform unit testing. The second is how can I measure...
0
by: Joer996 | last post by:
I am using StateServer and URIs to manage state. Here is my web.config line <sessionState mode="StateServer" stateConnectionString="tcpip=localhost:42424" cookieless="UseUri" timeout="500"/> ...
25
by: Nathan Sokalski | last post by:
As we all know, IE7 is now available. However, it also cannot be installed side by side with IE6. This makes it very hard to test pages on both versions using the same machine. I am guessing that...
1
by: Pat1mn | last post by:
I am trying to set up a localhost testing server on windows xp home system using xampp. It installs and runs fine but I am having issues trying to get dreamweaver MX to connect to it for testing a...
1
by: P Chase | last post by:
The .Net "pack URIs" feature seems ideally suited to my C# application, but I cannot make it work. I hope someone can help. I have some images (GIF and JPG), which I have built into my library's...
6
by: Dave Boland | last post by:
I'm in the process of learning the finer points of AJAX to do some really cool things, but I need a way to try code. I don't want to pay for a server that supports php and mySQL for learning, so I...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.