|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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. |
![]() |
| Viewing: Dev Shed Forums > Web Design > Web Design Help > Pointing back to my pc running as a server |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|