no thats working fine, i am able to get the scripts to run on my computer but not on my local network or I am assuming from an outside network
Main Topics
Browse All TopicsHi I am new at this so bare with me please. I am trying to set up this apache server for the purpose of learning how to develop web pages/perl/cgi scripts/java scripts/html. So I download this server set it up with windows xp and so far so good.
Got my little test perl script working when I go to Internet Explorer and type:
http:/localhost/cgi-bin/te
But when I try to get a regular html website to work it won't come up:
http:/localhost/htdocs/tes
So my question is what am I doing wrong or do I need to register a domain name, or modify my router, because the one script works and the html doesn't
Thanks in advance cgeb
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
to get scripts to run on another machine on your network, the easist way is to use the ip address of the machine to point the browser at.
ie: if the machine that is running the webserver on your network has an internal ip address of 192.168.1.50 , on another machine on the network type in the address bar of the browser
http://192.168.1.50/cgi-bi
See how you go!!
Trav
Thank you Mad Cat I am going to give you the points but if you can answer me one more question.......I have got it working on my local network but how can I get it to work from an outside network??? Because when I try to use the ip address of the local network, its working but when I try using the router IP address it's not.....someone told me that I have to configure my router to redirect to this web server or something like that....get me to that next level I'll throw in an extra 50 points. Or you can stop and I'll just give you the original 50.....its kinda like press your luck. Thanks
hi cgeb,
it's kind of unfair to keep asking question even after the first one is answered. :)
Yes. I can confirm that chanches are you may need to configure your router to redirect traffic for port 80 (or whatever port you want) to the IP address (+ port) of the internal macine which is runnign apache. however, you need to ensure that your ISP did allow port 80 to go thru (most would block).
Another thing to look at would be to configure the firewall (if you had running on the XP) -- even the one that comes with XP would give you headache. This is beyond my knowledge, but it is something worth looking at.
cheers.
and yes... madcat did deserve the pts.
:)
Sorry about the double post, but i just remebered something :)
To be able to access the page from the internet if you have not regisetered a domain will be to put the external IP address of the router into a browser.
To find the external IP address of your router, goto http://www.whatismyip.com
ie to get the page to display on a machine that is on the internet, you would type in the browser
http://xxx.xxx.xxx.xxx/ where xxx.xxx.xxx.xxx is the ip address that whatismyip.com gave you.
Bear in mind that if you do not have a static ip address with your isp, that number may change from time to time.
Cheers and good luck
Trav
Business Accounts
Answer for Membership
by: M_A_D_C_A_TPosted on 2004-01-22 at 04:04:12ID: 10173031
Hi,
Just a thought - try http://localhost/test.html
When you have setup apache, html files are served from the root directory of the server, ie from the htdocs folders by default.
See if that works
Travis