Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 3rd, 2004, 02:27 PM
andyg1 andyg1 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 212 andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 2 h 20 m 33 sec
Reputation Power: 10
Pointing back to my pc running as a server

Don't know of this is the best forum for this post... This is a tricky one to explain, so please bare with me. I am working on a website at home. I have my own PC set up as a server. It runs perl scripts, PHP MySQL the works, has its own cgi-bin etc. I use it to test my HTML and CGI pages. The way I do this is, for example:
Code:
http://localhost/page1.html


I am working on a shopping cart that redirects to a third party secure server. This server gets authorisation from the bank and then redirects back to my server to a page defined by me. They use the example:
Code:
http://www.yourserver.com/authorised.html
or unauthorised.html, depending on the result of the transaction.

The problem I have is that I don't have any web space currently so can't get this 'callback' to point to a webserver. I wondered if it was possible to get this callback to come back to my PC - it is after all running as a webserver. If so, how to do this - what address do I use (it certainly isn't http://localhost/authorised.html).

My knowledge of networking, DNS, IP addresses etc is poor. I even tried typing my IP address in IE - all I get is 'FORBIDDEN'. I wondered if anyone can help with this problem?? Another thing - I am running on an ADSL line behind a router (that is permanently connected ie. I don't dial up). Could that make things worse?

Thanks in advance - this is killing me.

Andy
__________________
Time isn't wasted if you're wasted all the time

Reply With Quote
  #2  
Old January 3rd, 2004, 02:33 PM
robertadams robertadams is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 79 robertadams User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
I'm not sure what the answer is but I am pretty sure you can do it.
Why not set up a free web space account somewhere just so you can test it out.
You should be able to just enter the freespace.com/yourpage.html into your script and test it.

luck,
robert

Reply With Quote
  #3  
Old January 3rd, 2004, 03:09 PM
andyg1 andyg1 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 212 andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level)andyg1 User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 Days 2 h 20 m 33 sec
Reputation Power: 10
There's the whole ball-ache of uploading it test it, then change it, reload it etc.

The problem wasn't quite as simple as made out either because I need to have it point back to a CGI script (to display different messages depending on the result). Since my server is windows based and others usually nix based then the scripts will need to be changed too - double ball-ache. Would be ideal if I could do all the testing one way on my pc and then upload the final lot all at once.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Pointing back to my pc running as a server


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway