Sponsored Content
Top Forums Web Development I need apache to serve images from localhost instead of appserver Post 302780489 by glev2005 on Thursday 14th of March 2013 02:52:40 PM
Old 03-14-2013
This is a guess but try putting your alias and images directory directive before your proxypass stuff.
This User Gave Thanks to glev2005 For This Post:
 

10 More Discussions You Might Find Interesting

1. IP Networking

to serve or be served??

I have two machines on my network - one OSX mac and one linux box. The mac is my main workhorse, and the linux box does occasional chores and webserving. Currently the mac shares (via NFS) files with the Liinux box. Would it be less demanding on the mac if I made it a client, and moved my files... (2 Replies)
Discussion started by: mistafeesh
2 Replies

2. Linux

apache@localhost.localdomain

Hello, I am ltrying to find the config file to modify a parameter for apache (I guess). Here, when sending mail using php web form I get a copy of all mail sent from that form, but here is a sample of what I get : From : apache@localhost.localdomain To : myemail@host.com Subject : Mail ... (2 Replies)
Discussion started by: qfwfq
2 Replies

3. UNIX for Advanced & Expert Users

localhost problem!

hello guys, this morning when I start my pc (gentoo) I get some strange errors about localhost. "Could not determine the server's fully qualified domain name, using 127.0.0.1 for ServerName" ... Apache the same for my aplications, I have to use the full address of my pc instead of... (1 Reply)
Discussion started by: georgeplus
1 Replies

4. UNIX for Advanced & Expert Users

AIX reomote serve

i am on win 2000 reomting into aix unix server, i need to copy a file from /tmp to my win 200 desktop, can anyone help with the command i need to use. also, if a want to view a file in this directory how do i open it? (3 Replies)
Discussion started by: hassanj
3 Replies

5. Solaris

Apache localhost-access.log

The localhost-access.log has a size 3gb. What can apache2 break log on the parts 300mb, or the other issue, make log every week and index it with prifix current date(localhost-access_date.log)? Please help. (3 Replies)
Discussion started by: sotich82
3 Replies

6. UNIX for Dummies Questions & Answers

Apache's strange loading of .gif and .jpg images

Hello! I have got next issue: my website is not showing up .gif and .jpg images, but by the direct links (ex. http://somedomain.com/img/logo.gif) i can view them without any problem. Also if any image is clicked from http://somedomain.com/img/ URL , i get error: Forbidden You don't have... (2 Replies)
Discussion started by: v1xon
2 Replies

7. Shell Programming and Scripting

how to take file from SAP server to local serve automatically

Hi, I have problem in writing the UNIX scripts,I have one SAP server and my local server .I want to take one file from SAP server to my local server weekly bases I want to write one UNIX scripts which will automatically takes that file from SAP server to my server.so I need not need to pull the... (1 Reply)
Discussion started by: Mohsin22021987
1 Replies

8. Shell Programming and Scripting

Bash Script to find/sort/move images/duplicate images from USB drive

Ultimately, I'm looking to create a script that allows me to plug in a usb drive with lots of jpegs on it & copy them over to a folder on my hard drive. So in the process of copying I am looking to hash check them, record dupes to a file, copy only 1 of the identical files (if it doesn't exsist... (1 Reply)
Discussion started by: JonaQuinn
1 Replies

9. Debian

Waiting for localhost.

I am getting the message - waiting for localhost. Here are some diagnostic steps I have tried .... root@meow:/home/ethan# cat /var/www/cgi-bin/httpd.conf ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/jkj ServerName 127.0.0.1:80 Listen xx.xx.xx.xx:80 Listen 127.0.0.1:80 ... (1 Reply)
Discussion started by: Meow613
1 Replies

10. AIX

Rebooting redundant VIOs and mirroring of PVs they serve to client LPARs

need to confirm: we have a system with two VIOs each serving a partition on a local disk to a client LPAR. That client LPAR has them both in a VG which is mirrored (exact). So each disk has a copy of the client LV that the client VG supports. This is the setup that was bequeathed to us by the... (3 Replies)
Discussion started by: maraixadm
3 Replies
PMDAAPACHE(1)						      General Commands Manual						     PMDAAPACHE(1)

NAME
pmdaapache - Apache2 web server performance metrics domain agent (PMDA) SYNOPSIS
$PCP_PMDAS_DIR/apache/pmdaapache [-d domain] [-l logfile] [-U username] [-S server] [-P port] [-L location] DESCRIPTION
pmdaapache is a Performance Metrics Domain Agent (PMDA) which extracts performance metrics describing the state of an Apache web server. The apache PMDA exports metrics that measure the request rate, cumulative request sizes, uptime and various connection states for active clients. This information is obtained by performing a HTTP request to the server status URL, which must be enabled in the httpd.conf configuration file. ExtendedStatus on <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from localhost </Location> A brief description of the pmdaapache command line options follows: -d It is absolutely crucial that the performance metrics domain number specified here is unique and consistent. That is, domain should be different for every PMDA on the one host, and the same domain number should be used for the same PMDA on all hosts. -l Location of the log file. By default, a log file named apache.log is written in the current directory of pmcd(1) when pmdaapache is started, i.e. $PCP_LOG_DIR/pmcd . If the log file cannot be created or is not writable, output is written to the standard error instead. -S Query the Apache status information from the named server rather than the local host. -P Query the Apache status information from the given port rather than the default (80). -L Specify an alternative location for finding the server-status page. -U User account under which to run the agent. The default is the unprivileged "pcp" account in current versions of PCP, but in older versions the superuser account ("root") was used by default. INSTALLATION
If you want access to the names, help text and values for the apache performance metrics, do the following as root: # cd $PCP_PMDAS_DIR/apache # ./Install If you want to undo the installation, do the following as root: # cd $PCP_PMDAS_DIR/apache # ./Remove pmdaapache is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is installed or removed. FILES
$PCP_PMCDCONF_PATH command line options used to launch pmdaapache $PCP_PMDAS_DIR/apache/help default help text file for the apache metrics $PCP_PMDAS_DIR/apache/Install installation script for the pmdaapache agent $PCP_PMDAS_DIR/apache/Remove undo installation script for the pmdaapache agent $PCP_LOG_DIR/pmcd/apache.log default log file for error messages and other information from pmdaapache PCP ENVIRONMENT
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configura- tion file, as described in pcp.conf(5). SEE ALSO
PCPIntro(1), httpd(8), pmcd(1), pcp.conf(5) and pcp.env(5). Performance Co-Pilot PCP PMDAAPACHE(1)
All times are GMT -4. The time now is 08:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy