the reason why I'm expering 403 Forbidden is because the higher level directory will take precedance.
I've configured as follow
Quote:
Lastly, the user that runs the Apache server has no access to your home folder, so to make life easy, simply use your user name instead by replacing the two references to "www-data" in the envvars file with your login user name. This is of course recommended only for development systems! 1 sudo mv /etc/apache2/envvars /etc/apache2/envvars.bak 2 sudo sh -c "sed -e 's/www-data/'`whoami`'/' /etc/apache2/envvars.bak > /etc/apache2/envvars"
do anyone know how to configure apache in centos 6.4 properly
I have just install apache 1.3.22 on my solaris 2.6 with virtualhost which is working fine but I want to configure my httpd.conf file so that when I type in my url on an internet browsers it goes straight to my home page.
eg www.mydomain.com should display my home page
at the monent when I type... (4 Replies)
I have a Windows laptop and a Sparc desktop. I'm trying to toy around with routing.
If have always on broadband from BT. My router ipaddress is:
192.168.1.1
This router uses DHCP.
My Laptop Ip is as follows:
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . :... (2 Replies)
Hello, i want to know the basics to configure prefork.c module
to high Apache performance and i think it's depends on the server hardware details (RAM and Processors)
Thanks :) (0 Replies)
Hello all.
I am trying to compile Apache 2 (again!) and the configure script keeps telling me it does not recognize the options. Everything I am including is in the --help list.
For example: --enable-so. First I will put in the LD flags, then configure with the --enable-so option.
... (2 Replies)
Hi,
I am facing some problem with Apache to Tomcat forwarding. I have Tomcat (6.0.18) behind Apache (2.2). I want to use ‘https' for receiving request from the client. This request, when forwarded by Apache to Tomcat, will use ‘http'. My application's name is ‘abc', which is deployed in... (1 Reply)
Hi, I need help to configure the apache to work with ssl.
I have managed to create self-signed certificate according to the instruction in the following link.
So I have the crt file and the key file.
however when I add:
<Virtualhost *:443>
SSLEngine on
... (1 Reply)
Wild shot in the dark as both are exactly ubiquitous technologies, but here it goes: Anybody have any experience using a Dell KACE to PXE boot to a Red Hat Satellite kickstart install? I've set up the kickstart by itself before but I'm not sure there's a way to configure the KACE so that it will... (0 Replies)
I installed Oracle sqlplus on My Ubuntu 14.04 64bit version as per the instructions on:
help.ubuntu page (Unable to post the URL as i'm new user here).
I'm totally new to SQL and now i'm learning queries in my college.
I installed 64bit version of sqplus and run it executing the command:... (14 Replies)
Hi,
I would like to configure samba with PEM (with LDAP). I've already found, on the server, configured the PAM Authentication(with LDAP) for ssh. I wanted to know if it was possible to configure PAM for to authenticate to another LDAP only for SAMBA.
Is possibile duplicate the... (2 Replies)
Discussion started by: mark888
2 Replies
LEARN ABOUT DEBIAN
ocf_heartbeat_apache
OCF_HEARTBEAT_APACHE(7) OCF resource agents OCF_HEARTBEAT_APACHE(7)NAME
ocf_heartbeat_apache - Manages an Apache web server instance
SYNOPSIS
apache [start | stop | status | monitor | meta-data | validate-all]
DESCRIPTION
This is the resource agent for the Apache web server. This resource agent operates both version 1.x and version 2.x Apache servers.
The start operation ends with a loop in which monitor is repeatedly called to make sure that the server started and that it is operational.
Hence, if the monitor operation does not succeed within the start operation timeout, the apache resource will end with an error status.
The monitor operation by default loads the server status page which depends on the mod_status module and the corresponding configuration
file (usually /etc/apache2/mod_status.conf). Make sure that the server status page works and that the access is allowed *only* from
localhost (address 127.0.0.1). See the statusurl and testregex attributes for more details.
See also http://httpd.apache.org/
SUPPORTED PARAMETERS
configfile
The full pathname of the Apache configuration file. This file is parsed to provide defaults for various other resource agent
parameters. (unique, optional, string, default /etc/apache2/httpd.conf)
httpd
The full pathname of the httpd binary (optional). (optional, string, default /usr/sbin/httpd)
port
A port number that we can probe for status information using the statusurl. This will default to the port number found in the
configuration file, or 80, if none can be found in the configuration file. .sp
(optional, integer, no default)
statusurl
The URL to monitor (the apache server status page by default). If left unspecified, it will be inferred from the apache configuration
file. .sp If you set this, make sure that it succeeds *only* from the localhost (127.0.0.1). Otherwise, it may happen that the cluster
complains about the resource being active on multiple nodes. (optional, string, no default)
testregex
Regular expression to match in the output of statusurl. Case insensitive. (optional, string, default exists, but impossible to show in
a human readable format (try grep testregex))
client
Client to use to query to Apache. If not specified, the RA will try to find one on the system. Currently, wget and curl are supported.
For example, you can set this parameter to "curl" if you prefer that to wget. (optional, string, no default)
testurl
URL to test. If it does not start with "http", then it's considered to be relative to the Listen address. (optional, string, no
default)
testregex10
Regular expression to match in the output of testurl. Case insensitive. (optional, string, no default)
testconffile
A file which contains test configuration. Could be useful if you have to check more than one web application or in case sensitive info
should be passed as arguments (passwords). Furthermore, using a config file is the only way to specify certain parameters. .sp Please
see README.webapps for examples and file description. (optional, string, no default)
testname
Name of the test within the test configuration file. (optional, string, no default)
options
Extra options to apply when starting apache. See man httpd(8). (optional, string, no default)
envfiles
Files (one or more) which contain extra environment variables. If you want to prevent script from reading the default file, set this
parameter to empty string. (optional, string, default /etc/apache2/envvars)
SUPPORTED ACTIONS
This resource agent supports the following actions (operations):
start
Starts the resource. Suggested minimum timeout: 40s.
stop
Stops the resource. Suggested minimum timeout: 60s.
status
Performs a status check. Suggested minimum timeout: 30s.
monitor
Performs a detailed status check. Suggested minimum timeout: 20s. Suggested interval: 10.
meta-data
Retrieves resource agent metadata (internal use only). Suggested minimum timeout: 5.
validate-all
Performs a validation of the resource configuration. Suggested minimum timeout: 5.
EXAMPLE
The following is an example configuration for a apache resource using the crm(8) shell:
primitive p_apache ocf:heartbeat:apache
op monitor depth="0" timeout="20s" interval="10"
SEE ALSO
http://www.linux-ha.org/wiki/apache_(resource_agent)
AUTHOR
Linux-HA contributors (see the resource agent source for information about individual authors)
resource-agents UNKNOWN 03/09/2014 OCF_HEARTBEAT_APACHE(7)