LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-11-2003, 02:12 PM   #1
ANU
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Solaris 10
Posts: 78

Rep: Reputation: 15
Apache/HTTP version


first how can i find out witch http version my apache has? ... and if he know if the user has a old browser witch uses http1 to automaticaly send the user in "http1 format" :> and if its a new one that uses http v2.0 ....
it depends only on the apache server-version or ... ?
// PS: my english is pure so pls forgive me
 
Old 09-11-2003, 02:14 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
httpd --version or I think could be httpd -v or both.. can't remember off top of my head. man httpd for more details.

Not sure about the redirect. Most likely would have to use some dynamic html, javascript or maybe php if you use it on the page itself, for older browsers. Don't think there is a way to do it from the server, someone correct me if I'm wrong.
 
Old 09-11-2003, 05:45 PM   #3
ANU
Member
 
Registered: Aug 2003
Location: Romania
Distribution: Solaris 10
Posts: 78

Original Poster
Rep: Reputation: 15
Apache-HTTP version ?

this is an example of a request

GET /~bcv/index.html HTTP/1.1
Host: k-security.de
User-Agent: Mozilla/5.0 [en] (X11; U; Linux 2.2.14-5.0 i686) Netscape6/6.0
Accept: */*
Accept-Language: en
Accept-Encoding: gzip.deflate,compress,identity
Keep-Alive: 300
Connection: keep-alive


now i need to know how i can find out the HTTP version the last is i think 1.1 duno ...
if i do http -v i get something like this ...

Server version: Apache/1.3.27 (Unix)
Server built: Oct 4 2002 20:23:16
 
  


Reply



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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache: http://localhost (work) http://ipaddress (not working) sarmad Linux - Newbie 7 02-05-2013 07:47 AM
apache http://localhost/mysite ---> http://localhost/mysite/index.php how? ilnli Linux - General 8 06-04-2005 03:23 PM
[apache http server] directory hylke Linux - Software 8 08-02-2004 02:02 AM
best version for home file server with remote access via http??? soundengineer Linux From Scratch 1 06-05-2004 06:32 AM
http://localhost apache matt3333 Linux - Software 16 05-25-2003 01:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration