Sponsored Content
Operating Systems Linux Apache vhost - debug web request Post 302959516 by hergp on Wednesday 4th of November 2015 01:59:20 AM
Old 11-04-2015
The request is processed by a virtual host with a matching ServerName or ServerAlias. If no one matches the url, the first virtual host defined will process the request.

You can dump some configuration settings, including all vhosts, with httpd -S or apachectl -S.

You also might consider defining a custom log format including the %v specifier to print out the ServerName handling this particular request.
This User Gave Thanks to hergp For This Post:
 

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
GIT-REMOTE-EXT(1)						    Git Manual							 GIT-REMOTE-EXT(1)

NAME
git-remote-ext - Bridge smart transport to external command. SYNOPSIS
git remote add <nick> "ext::<command>[ <arguments>...]" DESCRIPTION
This remote helper uses the specified <command> to connect to a remote Git server. Data written to stdin of the specified <command> is assumed to be sent to a git:// server, git-upload-pack, git-receive-pack or git-upload-archive (depending on situation), and data read from stdout of <command> is assumed to be received from the same service. Command and arguments are separated by an unescaped space. The following sequences have a special meaning: '% ' Literal space in command or argument. %% Literal percent sign. %s Replaced with name (receive-pack, upload-pack, or upload-archive) of the service Git wants to invoke. %S Replaced with long name (git-receive-pack, git-upload-pack, or git-upload-archive) of the service Git wants to invoke. %G (must be the first characters in an argument) This argument will not be passed to <command>. Instead, it will cause the helper to start by sending git:// service requests to the remote side with the service field set to an appropriate value and the repository field set to rest of the argument. Default is not to send such a request. This is useful if remote side is git:// server accessed over some tunnel. %V (must be first characters in argument) This argument will not be passed to <command>. Instead it sets the vhost field in the git:// service request (to rest of the argument). Default is not to send vhost in such request (if sent). ENVIRONMENT VARIABLES
: GIT_TRANSLOOP_DEBUG If set, prints debugging information about various reads/writes. ENVIRONMENT VARIABLES PASSED TO COMMAND
: GIT_EXT_SERVICE Set to long name (git-upload-pack, etc...) of service helper needs to invoke. GIT_EXT_SERVICE_NOPREFIX Set to long name (upload-pack, etc...) of service helper needs to invoke. EXAMPLES
: This remote helper is transparently used by Git when you use commands such as "git fetch <URL>", "git clone <URL>", , "git push <URL>" or "git remote add <nick> <URL>", where <URL> begins with ext::. Examples: "ext::ssh -i /home/foo/.ssh/somekey user@host.example %S foo/repo" Like host.example:foo/repo, but use /home/foo/.ssh/somekey as keypair and user as user on remote side. This avoids needing to edit .ssh/config. "ext::socat -t3600 - ABSTRACT-CONNECT:/git-server %G/somerepo" Represents repository with path /somerepo accessible over git protocol at abstract namespace address /git-server. "ext::git-server-alias foo %G/repo" Represents a repository with path /repo accessed using the helper program "git-server-alias foo". The path to the repository and type of request are not passed on the command line but as part of the protocol stream, as usual with git:// protocol. "ext::git-server-alias foo %G/repo %Vfoo" Represents a repository with path /repo accessed using the helper program "git-server-alias foo". The hostname for the remote server passed in the protocol stream will be "foo" (this allows multiple virtual Git servers to share a link-level address). "ext::git-server-alias foo %G/repo% with% spaces %Vfoo" Represents a repository with path /repo with spaces accessed using the helper program "git-server-alias foo". The hostname for the remote server passed in the protocol stream will be "foo" (this allows multiple virtual Git servers to share a link-level address). "ext::git-ssl foo.example /bar" Represents a repository accessed using the helper program "git-ssl foo.example /bar". The type of request can be determined by the helper using environment variables (see above). SEE ALSO
gitremote-helpers(1) GIT
Part of the git(1) suite Git 2.17.1 10/05/2018 GIT-REMOTE-EXT(1)
All times are GMT -4. The time now is 05:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy