[us...@httpd] Malformed host header due to scope-id in IPv6 link-local address

2010-02-09 Thread Salman Haq
I have an Apache HTTP server (v 2.2.3) running on a Linux system serving a simple web application. The server is configured to listen on port 80 on all configured interfaces. The system's ethernet interfaces have properly configured IPv4 addresses and IPv6 link-local addresses. I have a client

Re: [us...@httpd] Web page usage and monitoring

2010-02-09 Thread Igor Cicimov
Webalizer On Feb 10, 2010 6:31 AM, "John Hudak" wrote: awstats? it is web based, and can slice and dice what ever stats you want...although you may need to hack it a bit to get the data to a file... -John On Tue, Feb 9, 2010 at 1:15 PM, Dorrian, William M Contractor ace...@saj

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jeff Trawick
On Tue, Feb 9, 2010 at 3:29 PM, Jonathon Veencamp wrote: > > Sorry about that.  1.1 doesn't work, but 1.0 did. > > beta1linux:/opt/local/logs/Websphere_7.0_logs/w70edu1 # telnet 127.0.0.1 80 > Trying 127.0.0.1... > Connected to 127.0.0.1. > Escape character is '^]'. > GET > /links/@_View_AppServer

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Daniel Reinhardt
-- From: "Jonathon Veencamp" Sent: 09 February, 2010 20:03 To: Subject: Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing? I'll quantify the problem a little better. If I go on linux to the directory I am browsing

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jonathon Veencamp
Sorry about that. 1.1 doesn't work, but 1.0 did. beta1linux:/opt/local/logs/Websphere_7.0_logs/w70edu1 # telnet 127.0.0.1 80 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. GET /links/@_View_AppServer_Logs/@DEV_BETA_server_logs/Websphere_7.0_logs/w70edu1/test.logHTTP/1.0 HTT

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jeff Trawick
On Tue, Feb 9, 2010 at 3:16 PM, Jonathon Veencamp wrote: > Good suggestion Jeff, but it won't be instructive as the local end of line > delimiter will be linux vs Windows > > beta1linux:/opt/local/logs/Websphere_7.0_logs/w70edu1 # telnet 127.0.0.1 80 > Trying 127.0.0.1... > Connected to 127.0.0.1.

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jonathon Veencamp
Good suggestion Jeff, but it won't be instructive as the local end of line delimiter will be linux vs Windows beta1linux:/opt/local/logs/Websphere_7.0_logs/w70edu1 # telnet 127.0.0.1 80 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. GET /links/@_View_AppServer_Logs/@DEV_BETA

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jonathon Veencamp
I'll quantify the problem a little better. If I go on linux to the directory I am browsing via the HTTP server and issue these commands: # touch test.log # echo one >> test.log # echo two >> test.log # cp test.log test.log.txt If I use my brower to open test.log, it launches notepad on Windows wh

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jeff Trawick
On Tue, Feb 9, 2010 at 2:51 PM, Jonathon Veencamp wrote: > I don't think it's a poor editting thing.  I think this is the difference > between Unix and Windows and CR/LF on Windows versus LF on Linux.  The HTTP > server is adding CR/LF to .txt files to display them correctly in the > browser. no,

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jonathon Veencamp
I don't think it's a poor editting thing. I think this is the difference between Unix and Windows and CR/LF on Windows versus LF on Linux. The HTTP server is adding CR/LF to .txt files to display them correctly in the browser. But I can't get it to display .log files in the same manner. Thanks

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jonathon Veencamp
Tried that in my conf/httpd.conf file. And restarted the server. AddType text/plain .log AddType text/plain .properties As I understand, it informs the browser what to do with it. And that's good. But I think this is a server side problem. It still isn't using the Windows convention of CR/LF.

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Daniel Reinhardt
-- From: "Jonathon Veencamp" Sent: 09 February, 2010 19:31 To: Subject: [us...@httpd] How to force CRLF on non .txt files when directory browsing? Hello, I've beat my head on this wall far too long, and googled the heck out of it, so I'll ask

Re: [us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jeff Trawick
On Tue, Feb 9, 2010 at 2:31 PM, Jonathon Veencamp wrote: > Hello, > > I've beat my head on this wall far too long, and googled the heck out of it, > so I'll ask the mailing list on what should be a simple problem. > > I have some text files on a linux host with .log and .properties > extensions. 

[us...@httpd] How to force CRLF on non .txt files when directory browsing?

2010-02-09 Thread Jonathon Veencamp
Hello, I've beat my head on this wall far too long, and googled the heck out of it, so I'll ask the mailing list on what should be a simple problem. I have some text files on a linux host with .log and .properties extensions. When these are sent to a windows browser, they do not have CR/LF and s

Re: [us...@httpd] Web page usage and monitoring

2010-02-09 Thread John Hudak
awstats? it is web based, and can slice and dice what ever stats you want...although you may need to hack it a bit to get the data to a file... -John On Tue, Feb 9, 2010 at 1:15 PM, Dorrian, William M Contractor ace...@saj < william.m.dorr...@usace.army.mil> wrote: > We're using Apache 2.0.52 o

Re: [us...@httpd] Question about QUERY_STRING redirects with mod_rewrite

2010-02-09 Thread Tiago Marques
On Tue, Feb 9, 2010 at 7:10 PM, Eric Covener wrote: > On Tue, Feb 9, 2010 at 2:00 PM, Tiago Marques wrote: > > Hi, > > I'm trying to do 301 redirects from a website which used queries > extensively > > but doesn't use any now. I found this piece of code but it doesn't seem > to > > work. > >> >

Re: [us...@httpd] Question about QUERY_STRING redirects with mod_rewrite

2010-02-09 Thread Eric Covener
On Tue, Feb 9, 2010 at 2:00 PM, Tiago Marques wrote: > Hi, > I'm trying to do 301 redirects from a website which used queries extensively > but doesn't use any now. I found this piece of code but it doesn't seem to > work. >> >> RewriteEngine on >> >> RewriteCond %{QUERY_STRING} ^id=13$ >> >> Rewr

[us...@httpd] Question about QUERY_STRING redirects with mod_rewrite

2010-02-09 Thread Tiago Marques
Hi, I'm trying to do 301 redirects from a website which used queries extensively but doesn't use any now. I found this piece of code but it doesn't seem to work. RewriteEngine on RewriteCond %{QUERY_STRING} ^id=13$ RewriteRule ^/page.php$ http://www.example.com/newname.htm? [L,R=301] All the

[us...@httpd] Web page usage and monitoring

2010-02-09 Thread Dorrian, William M Contractor ace...@saj
We're using Apache 2.0.52 on RHEL 4. Does anyone know if there is there any software that we can use to get counts on which pages on our site are frequently used? Thanks, Bill Dorrian Unix/Linux Systems Support (904) 232-2742 "Give a man a fish and you've freed him up for the day to write a poem

Re: [us...@httpd] proxy chaining to squid

2010-02-09 Thread Tom Evans
On Tue, Feb 9, 2010 at 4:55 PM, David Cotter wrote: >  Mon, Feb 1, 2010 at 11:29 AM, Brian Mearns wrote: >> On Mon, Feb 1, 2010 at 5:33 AM, Emmanuel Bailleul >> wrote: >>> >>> -Message d'origine- De : David Cotter [mailto:davidcot...@gmail.com] Envoyé : lundi 1 février 201

Re: [us...@httpd] proxy chaining to squid

2010-02-09 Thread David Cotter
Mon, Feb 1, 2010 at 11:29 AM, Brian Mearns wrote: > On Mon, Feb 1, 2010 at 5:33 AM, Emmanuel Bailleul > wrote: >> >> >>> -Message d'origine- >>> De : David Cotter [mailto:davidcot...@gmail.com] >>> Envoyé : lundi 1 février 2010 11:30 >>> À : users@httpd.apache.org >>> Objet : Re: [us...@

Re: [us...@httpd] Log

2010-02-09 Thread Daniel Reinhardt
-- From: "Mohit Anchlia" Sent: 09 February, 2010 2:18 To: Subject: [us...@httpd] Log We are seeing the following in logs? I am not sure why we are getting request in hex format. Something like? 10.1.1.40 - - [21/Jan/2010:16:31:15 -0800] "\x05\.