Sponsored Content
Operating Systems Linux Apache vhost - debug web request Post 302959483 by blackrageous on Tuesday 3rd of November 2015 12:05:49 PM
Old 11-03-2015
Please clarify your configuration. Are you suggesting that you have a main URL that is set up to be redirected to vhosts? Is this a load balancing scheme, round robin,... Are these vhosts on the same system?
 

10 More Discussions You Might Find Interesting

1. Programming

Request help to debug errors while running in 'C'

I run, 2 'C' Files, gapw.c and getkey.c, but I get the following errors :- I) $ gcc gapw.c gapw.c: In function `main': gapw.c:96: warning: cast to pointer from integer of different size /tmp/cck4I8mW.o(.text+0x227): In function `main': : undefined reference to `getprofilestring'... (1 Reply)
Discussion started by: marconi
1 Replies

2. BSD

forwarding the request to the Outlook Web Access

Hello, FreeBSD is not forwarding the request to the Outlook Web Access. Is there some process that needs to be run in order for this to start? The server was rebuilt and is pingable. Any suggestion is greatly appreciated. Thank you, Gish (1 Reply)
Discussion started by: TESTQWER
1 Replies

3. Web Development

Apache log with long strings of Xs in GET request

Hi everybody, I was looking at my apache2 log and I found GET requests as such: Some ip - - "GET... (4 Replies)
Discussion started by: z1dane
4 Replies

4. Web Development

Copy and forward apache http request

Hello, I am using apache 2.2 and I need to have certain http requests (those including example.com for instance) to be executed normally and forwarded to another server. With mod_rewrite, I could easily forward but then the input request would not be executed on my server. Right? Am I... (1 Reply)
Discussion started by: JCR
1 Replies

5. Web Development

Apache vhost redirect to a cgi file

Hi guys, I've been trying to figure this out all day however havent managed to as of yet. I have a server called netmon (network monitoring) which runs a multitude of programs to monitor the network. I also have a cname pointing to netmon called smokeping. At the moment to access smokeping... (0 Replies)
Discussion started by: JayC89
0 Replies

6. Cybersecurity

configure apache to accept request form specific IP

Hi, What should I change in the httpd.conf so that the apache will accept request from page from specific IP and deny all the rest IP. I am reading the document of the apache but it is very long (700 pages) and I searched but I could not find something about this. So if someone can explain... (0 Replies)
Discussion started by: programAngel
0 Replies

7. Programming

Creating a web based id request form

Please pardon my ignorance, but I need to create a web-based form which can be used to request access to the unix servers in our environment. It just needs to have input fields for basic info (name, dept., etc.), and perhaps a drop-down box with the names of the servers. The form will be submitted... (2 Replies)
Discussion started by: wjssj
2 Replies

8. Red Hat

Apache not using second vhost..

I have a test setup running apache 2.2. I'm just serving up some images to my dekstop. I can't get apache to use my second vhost entry.. I know both entries work as I switched them around in my vhosts.conf. I just can't use them both at the same time. Can someone help me please? my... (0 Replies)
Discussion started by: general_lee
0 Replies

9. Web Development

Vhost issue in apache ..Unable to figure out

Hi I have vhosts configured for my sites like: <VirtualHost ip_abc:8081> ........ ..... .... </VirtualHost> Now I have added a new vhost but on entering the same information on some other port say: <VirtualHost ip_abc:8082> ........ ..... .... </VirtualHost> (2 Replies)
Discussion started by: ankur328
2 Replies

10. OS X (Apple)

Web Request log

Hey all, I would like to track what applications are requesting access at the unix level. is there a log or a way to capture all network access requests? Not with applications. (1 Reply)
Discussion started by: Phorn
1 Replies
Logstalgia(1)						      General Commands Manual						     Logstalgia(1)

NAME
Logstalgia - a web server access log visualization tool SYNOPSIS
logstalgia [-f] [-WIDTHxHEIGHT] [options] logfile DESCRIPTION
logstalgia is a visualization tool that replays or streams web server access logs as a retro arcade game simulation. REQUIREMENTS
logstalgia's display is rendered using OpenGL and requires a 3D accelerated video card to run. Logstalgia supports several standardized access.log formats used by web servers such as Apache and Nginx (see 'SUPPORTED LOG FORMATS' below). As logstalgia is designed to playback logs in real time you will need a log from a fairly busy webserver to achieve interesting results (eg 100s of requests each minute). OPTIONS
-f Fullscreen. -WIDTHxHEIGHT Set the window size. If -f is also supplied, will attempt to set the video mode to this also. -b, --background Background colour in hex. -x --full-hostnames Show full request ip/hostname. -s, --speed Simulation speed. Defaults to 1 (1 second-per-second). -u, --update-rate Page Summary update speed. Defaults to 5 (5 seconds). -g name,regex,percent[,colour] Urls matching the given regex will appear under a new section with the given name using the given percentage of the screen. Colour may optionally be supplied in the common hexadecimal format (eg FF0000 for red) If no groups are supplied the default groups are Images (image files), CSS (.css files) and Scripts (.js files). If there is enough space remaining a catch-all group of Misc will appear as the last group. --paddle-mode MODE Paddle mode (pid, vhost, single). vhost - separate paddle for each virtual host in the log file. pid - separate paddle for each process id in the log file. single - single paddle (the default). --paddle-position POSITION Paddle position as a fraction of the view width (0.25 - 0.75). --sync Read from STDIN, ignoring entries before the current time. --start-position POSITION Begin at some position in the log file (between 0.0 and 1.0). --stop-position POSITION Stop at some position. --no-bounce No bouncing. --hide-response-code Hide response code. --hide-paddle Hide paddle. --hide-url-prefix Hide URL protocol and hostname prefix of requests. --disable-auto-skip Disable automatic skipping of empty time periods. --disable-progress Disable the progress bar. --disable-glow Disable the glow effect. --font-size SIZE Font size. --glow-duration Duration of the glow (between 0.0 and 1.0). --glow-multiplier Adjust the amount of glow. --glow-intensity Intensity of the glow. --output-ppm-stream FILE Write frames as PPM to a file ('-' for STDOUT). --output-framerate FPS Framerate of output (used with --output-ppm-stream). logfile The path to the access log file to read or '-' if you wish to supply log entries via STDIN. EXAMPLES
Watch an example access.log using the default settings: logstalgia /usr/share/logstalgia/example.log Watch the live access.log, starting from the most recent batch of entries in the log (requires tail). Note than '-' at the end is required for logstalgia to know it needs to read from STDIN: tail -f /var/log/apache2/access.log | logstalgia - To follow the log in real time, use the --sync option. This will start reading from the next entry received on STDIN: tail -f /var/log/apache2/access.log | logstalgia --sync Watch a remote access.log via ssh: ssh user@example.com tail -f /var/log/apache2/access.log | logstalgia --sync SUPPORTED LOG FORMATS
Logstalgia supports the following standardized log formats used by web servers like Apache and Nginx: NCSA Common Log Format (CLF) "%h %l %u %t "%r" %>s %b" NCSA Common Log Format with Virtual Host "%v %h %l %u %t "%r" %>s %b" NCSA extended/combined log format "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i"" NCSA extended/combined log format with Virtual Host "%v %h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-agent}i"" The process id (%P), or some other identifier, may be included as an additional field at the end of the entry. This can be used with '--paddle-mode pid' where a separate paddle will be created for each unique value in this field. CUSTOM LOG FORMAT
Logstalgia now supports a pipe ('|') delimited custom log file format: timestamp - unix timestamp of the request date. hostname - hostname of the request path - path requested response_code - the response code from the webserver (eg 200) response_size - the size of the response in bytes The following are optional: success - 1 or 0 to indicate if successful response_colour - response colour in hexidecial (#FFFFFF) format referrer url - the referrer url user agent - the user agent virtual host - the virtual host (to use with --paddle-mode vhost) pid - process id or some other identifier (--paddle-mode pid) If success or response_colour are not provided, they will be derived from the response_code using the normal HTTP conventions (code < 400 = success). RECORDING VIDEOS
See the guide on the homepage for examples of recording videos with Logstalgia: http://code.google.com/p/logstalgia/wiki/Videos INTERFACE
The time shown in the top left of the screen is set initially from the first log entry read and is incremented according to the simulation speed (-s). The counter in the bottom right hand corner shows the number of requests displayed since the start of the current session. Pressing space at any time will pause/unpause the simulation. While paused you may use the mouse to inspect the detail of individual requests. Interactive keyboard commands: (q) Debug Information (c) Displays Logstalgia logo (n) Jump forward in time to next log entry. (+-) Adjust simulation speed. (<>) Adjust time scale. (ESC) Quit AUTHOR
Written by Andrew Caudwell Project Homepage: http://code.google.com/p/logstalgia/ COPYRIGHT
Copyright (C) 2008 Andrew Caudwell (acaudwell@gmail.com) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. ACKNOWLEDGEMENTS
Catalyst IT (catalyst.net.nz) For supporting the development and promotion of Logstalgia! Logstalgia(1)
All times are GMT -4. The time now is 09:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy