|
-
Sep 17th, 2002, 03:59 PM
#1
Thread Starter
Frenzied Member
How do I find out what a server is?
I just appointed as webmaster of a band's website but I don't think I can run ASP on it... (I ran a script but could see the code) how do I find out what it is?
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Sep 17th, 2002, 08:06 PM
#2
Black Cat
Use telnet or a similar program to connect to the server at port 80. Issue the following HTTP command:
HEAD / HTTP/1.0
{hit enter twice}
And see what the server sends you back. You can use GET instead of HEAD if you like.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Sep 17th, 2002, 09:17 PM
#3
Frenzied Member
Type fast, the server timeout might kick you out before you can.
Z.
-
Sep 18th, 2002, 08:48 AM
#4
Thread Starter
Frenzied Member
Originally posted by JoshT
Use telnet or a similar program to connect to the server at port 80. Issue the following HTTP command:
HEAD / HTTP/1.0
{hit enter twice}
And see what the server sends you back. You can use GET instead of HEAD if you like.
pardon my ignorance but could you tell me how to connect?
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Sep 18th, 2002, 09:58 AM
#5
Black Cat
Open up a cmd or shell window, type:
telnet yourWebServer 80
You can use host name or ip address for yourWebServer. This should work the same on any OS that has a telnet program (Windows, Linux, etc), although is the local echo option isn't set, you might not see what you type, just what the server sends back, so don't make any typos.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Sep 18th, 2002, 10:08 AM
#6
Thread Starter
Frenzied Member
Cool. I did that, typed in "HEAD / HTTP/1.0", and hit enter twice. It showed me the HTML of the index page... what does that mean?
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Sep 18th, 2002, 01:02 PM
#7
Black Cat
Hmm, HEAD should get you the HTTP headers only and no content...
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Sep 18th, 2002, 01:05 PM
#8
Thread Starter
Frenzied Member
I just tried again using "HEAD / HTTP/1.0" and it does give me everything. (just like a view source.)
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Sep 18th, 2002, 01:11 PM
#9
Black Cat
They running some older or oddly configured server?
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Sep 18th, 2002, 01:14 PM
#10
Thread Starter
Frenzied Member
I have no idea Thats what I was trying to figure out w/this thread. It's a friend's band's website & I was volenteered to be the new webmaster so I was wanting to do some ASP but after that failed I wanted to know what could be run & whatnot.
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Sep 18th, 2002, 01:31 PM
#11
Fanatic Member
-
Sep 18th, 2002, 02:37 PM
#12
Thread Starter
Frenzied Member
Thanks, that program worked.
Server: Apache/1.3.20 (Unix) ApacheJServ/1.1.2 PHP/4.2.1 FrontPage/5.0.2.2510
So this means that i would use PHP correct?
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Sep 18th, 2002, 02:51 PM
#13
Black Cat
Yes, its says PHP. CGI won't show up in the Server banner, though.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Sep 18th, 2002, 02:58 PM
#14
Thread Starter
Frenzied Member
K, thanks. I'll just tell them to move to another server I'm an ASP (vbscript) programer, no sense in learning a new language for something I was volenteered to do.
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Sep 19th, 2002, 09:12 AM
#15
Fanatic Member
You might wanna learn PHP though. It's very easy to learn it if you already know ASP.
-
Sep 19th, 2002, 09:14 AM
#16
Thread Starter
Frenzied Member
I think if I do learn a new language it will be Java.
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Sep 19th, 2002, 03:08 PM
#17
Good Ol' Platypus
I learned PHP in 3 hours, after already having learned ASP. Just an evening will get you going, believe me
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Sep 19th, 2002, 03:10 PM
#18
Thread Starter
Frenzied Member
Where did you learn it from? I learned ASP from ASP101 (in the begining) is there a PHP101? (not literaly, i just checked).
Michael
I'm off to GalahTech, hope to see you there.
If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.
-
Sep 20th, 2002, 08:54 AM
#19
PowerPoster
-
Sep 20th, 2002, 12:04 PM
#20
Good Ol' Platypus
I picked up a couple of Wrox and O'Reilly books on the topic.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Sep 20th, 2002, 12:05 PM
#21
Good Ol' Platypus
I didn't use this, but I found a great resource just now:
http://p2p.wrox.com/php/
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|