Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
About
Team
Rules
Stats
Status
Sitemap
Chat
Downloads
Forum
News
Our Projects
Major Community Projects
Recent Posts
Unread Posts
Replies
Tools
SourceCoder3
Other Things...
Omnimaga Radio
TI-83 Plus ASM File Unsquisher
Z80 Conversion Tools
IES TI File Editor
Free RAM areas
Comprehensive Getkeyr table
URL Shortener
Online Axe Tilemap Editor
Help
Contact Us
Change Request
Report Issue/Bug
Team
Articles
Members
View the memberlist
Search For Members
Buddies
Login
Register
Omnimaga
»
Forum
»
General Discussion
»
Technology and Development
»
Web Programming and Design
»
Simple Server Needed
« previous
next »
Print
Pages: [
1
]
2
3
Go Down
Author
Topic: Simple Server Needed (Read 14170 times)
0 Members and 1 Guest are viewing this topic.
SirCmpwn
Guest
Simple Server Needed
«
on:
August 28, 2010, 10:17:20 am »
Hello,
I am not very good at web development, but have a simple request. Could someone code for me a server (assuming it is at example.com) that will be given a request like this:'
GET
http://www.example.com/?http://www.google.com/
and will GET google, and return the response. This should work for every protocol - GET, POST, PUT, DELETE, all of em. All it needs to do is replicate and perform the request, then return the response.
Thanks!
Logged
souvik1997
Guest
Re: Simple Server Needed
«
Reply #1 on:
August 28, 2010, 12:23:00 pm »
i am not sure what you mean. Do you want to download the contents of Google.com?
Logged
calcdude84se
Needs Motivation
LV11
Super Veteran (Next: 3000)
Posts: 2272
Rating: +78/-13
Wondering where their free time went...
Re: Simple Server Needed
«
Reply #2 on:
August 28, 2010, 12:25:23 pm »
From what I can tell, he wants a pr0xy.
Sadly, I have no experience here, or I would help.
Logged
"People think computers will keep them from making mistakes. They're wrong. With computers you make mistakes faster."
-Adam Osborne
Spoiler
For
"PartesOS links"
:
I'll put it online when it does something.
alberthrocks
Moderator
LV8
Addict (Next: 1000)
Posts: 876
Rating: +103/-10
Re: Simple Server Needed
«
Reply #3 on:
August 28, 2010, 12:58:11 pm »
This isn't too hard if you are just redirecting requests only and returning the output.
However, if you are trying to code a full blown pr0xy, then you should probably just use
PHProxy or other existing software.
I assume you are using PHP?
Logged
Withgusto Networks Founder and Administrator
Main Server Status:
http://withg.org/status/
Backup Server Status:
Not available
Backup 2/MC Server Status:
http://mc.withg.org/status/
Proud member of
ClrHome
!
Miss my old signature? Here it is!
Spoiler
For
Signature
:
Alternate "New" IRC post notification bot (Newy) down? Go here to reset it!
http://withg.org/albert/cpuhero/
Withgusto Networks Founder and Administrator
Main Server Status:
http://withg.org/status/
Backup Server Status:
Not available
Backup 2/MC Server Status:
http://mc.withg.org/status/
Activity remains limited due to busyness from school et al. Sorry!
Feel free to PM, email, or if you know me well enough, FB me if you have a question/concern.
Don't expect me to be online 24/7 until summer. Contact me via FB if you feel it's urgent.
Proud member of
ClrHome
!
Spoiler
For
"My Projects! :D"
:
Projects:
Computer/Web/IRC Projects:
C______c: 0% done (Doing planning and trying to not forget it
)
A_____m: 40% done (Need to develop a sophisticated process queue, and a pretty web GUI)
AtomBot v3.0: 0% done (Planning stage, may do a litmus test of developer wants in the future)
IdeaFrenzy: 0% done (Planning and trying to not forget it
)
wxWabbitemu: 40% done (NEED MOAR FEATURES
)
Calculator Projects:
M__ C_____ (an A____ _____ clone): 0% done (Need to figure out physics and Axe)
C2I: 0% done (planning, checking the demand for it, and dreaming
)
SirCmpwn
Guest
Re: Simple Server Needed
«
Reply #4 on:
August 28, 2010, 06:38:32 pm »
I don't really care what it is written in. It *is* a proxy, but the way I plan on implementing it wouldn't work with PHProxy. It would be extremely effective the way I'm using it to simply redirect the requests as alberthrocks was talking about. Trust me on this - it would be really cool the way I'm doing it.
Logged
cooliojazz
Support Staff
LV7
Elite (Next: 700)
Posts: 619
Rating: +66/-9
I omnoms on your soul
Re: Simple Server Needed
«
Reply #5 on:
August 28, 2010, 10:08:02 pm »
So you just want a file that returns the code for a website when given the url in any request format?
Logged
Spoiler
For
Random signess
:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."
TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here
|
The Rest Should Be Here (Bandcamp)
SirCmpwn
Guest
Re: Simple Server Needed
«
Reply #6 on:
August 28, 2010, 10:10:43 pm »
Well, it should perform the request, then return the response it gets.
Logged
Geekboy1011
The Oneironaut
Donator
LV11
Super Veteran (Next: 3000)
Posts: 2031
Rating: +119/-2
Dream that Awakening dream
Re: Simple Server Needed
«
Reply #7 on:
August 28, 2010, 10:15:06 pm »
hmm thats a very interesting request sadly i have no clue on ow to do it
as i have never used php but i have hosting for it if its ever completed ^_^
Logged
SirCmpwn
Guest
Re: Simple Server Needed
«
Reply #8 on:
August 28, 2010, 10:16:18 pm »
Sweet! Once this was finished, my next request was going to be hosting
Logged
cooliojazz
Support Staff
LV7
Elite (Next: 700)
Posts: 619
Rating: +66/-9
I omnoms on your soul
Re: Simple Server Needed
«
Reply #9 on:
August 28, 2010, 10:17:43 pm »
I'm just kinda confused by your first explanation I guess... since 1. You said "GET *" then the link had no variable being set, just the value... =P and 2. You're asking for a web server to be set up for this when it seems like you just need a page... And I still don't exactly get the "request" and "response" you are asking for, is it just the url and the page, or are you performing a request to THAT page, or what?
Logged
Spoiler
For
Random signess
:
You can not beat my skills.
Trust me.
So don't even try.
And remember never to trust someone who says, "Trust me."
TI File Editor Progress: Remade in java like a boss. 50% we'll call it? IDK =P
Java Libraries: JIRC - 90% JTIF - 5%
TI Projects: Unreal Notator - -5000%
Nomcraft, a Bukkit mod
Some of the music I write can be found here
|
The Rest Should Be Here (Bandcamp)
Geekboy1011
The Oneironaut
Donator
LV11
Super Veteran (Next: 3000)
Posts: 2031
Rating: +119/-2
Dream that Awakening dream
Re: Simple Server Needed
«
Reply #10 on:
August 28, 2010, 10:20:02 pm »
well i have 2 hosts i can use..err 3 actually lol
i have my house computer
57o9.org
and themuncher
so yeah they all have php so thats not an issue on 57o9.org im admin its linux so if its not php and bash/something else linuxy i can host that
and my desktop is windows again im admin so if it can be run as a service i can do that as well if its not php
Logged
SirCmpwn
Guest
Re: Simple Server Needed
«
Reply #11 on:
August 28, 2010, 10:20:13 pm »
Well, think of it this way. A page is what I need, and by request/response, I basically have a way of replicating all traffic going through a system, redirect it, and change the response. This way, the proxy would just have to accept any form of traffic, be it GET, POST, PUT, whatever, and replicate it. I would pass the url of the server in the request url.
Logged
meishe91
Super Ninja
LV11
Super Veteran (Next: 3000)
Posts: 2946
Rating: +115/-11
Re: Simple Server Needed
«
Reply #12 on:
August 28, 2010, 10:20:21 pm »
Have you tried contacting {AP} about any of this yet? He might know.
Logged
Spoiler
For
Spoiler
:
For the 51
st
time, that is not my card! (Magic Joke)
SirCmpwn
Guest
Re: Simple Server Needed
«
Reply #13 on:
August 28, 2010, 10:21:34 pm »
I should get ahold of him.
Logged
DJ Omnimaga
Clacualters are teh gr33t
CoT Emeritus
LV15
Omnimagician (Next: --)
Posts: 55943
Rating: +3154/-232
CodeWalrus founder & retired Omnimaga founder
Re: Simple Server Needed
«
Reply #14 on:
August 28, 2010, 10:22:04 pm »
I don't think he does server hosting stuff such as those, though. He uses 1and1 like I do for all his stuff.
Unless SirCmpwn doesn't need a dedicated connection?
Logged
Print
Pages: [
1
]
2
3
Go Up
« previous
next »
Omnimaga
»
Forum
»
General Discussion
»
Technology and Development
»
Web Programming and Design
»
Simple Server Needed