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 me how to do this specific thing, I will be glad?
The direction that I think about is:
while IP1 and IP2 are replaced with the IP numbers that I want to allow.
However I want to make sure it will reject all other IP request.
Hello all,
I have several vhost and not sure which vhost is serving the requests to my url
http://www.mydomain.tld i have ssh access to the web server
is there a way e.g curl to know exactly which vhost served the request.
one of my friend suggested logs but i want to find another... (4 Replies)
Hi All,
I have below perl script which writes xml from .xls file.
Now i want to add below two conditions in this script :
1. to check if the the input .xls file has ony two columns , if more tahn two columns then script should pop up an error.
2. If there are two columns , then first column... (4 Replies)
Is it possible to configure a Solaris server to authenticate users against an Active Directory server when logging in via ssh?
I've seen some docs out there, I've followed their instructions, but it does not work. And I'm beginning to wonder if it is possible or even supported by Oracle. The... (2 Replies)
Hi all,
I have 2 files, One file contain data like this
FHIT
CS
CHRM1
PDE3A
PDE3B
HSP90AA1
PTK2
HTR1A
ESR1
PARP1
PLA2G1B
These names are mentioned in the second file(Please see attached second file) as
# Drug_Target_X_Gene_Name:(Where X can be any number (1-1000) (1 Reply)
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)
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)
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)
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)
Hi,
I got a script which sends the Email to the user based on certain variables received from Tivoli Server Monitoring 6.1.
Now to keep track of the mails I have wrote a stored procedure in DB2 as we use DB2 UDB as back end which take the variables that were used to send the mail and store it... (3 Replies)
pidfilehack(8) System Manager's Manual pidfilehack(8)NAME
pidfilehack - work around daemons that always fork
SYNOPSIS
pidfilehack servicename pidfile command [parameters]
DESCRIPTION
pidfilehack is used to work around daemons that insist on forking into the background, but that do write a correct pid file.
pidfilehack forks the actual service, then waits for the pidfile to be written. Once it can read the pid from the pidfile it will tell
minit the real pid and quit.
USAGE
usually pidfilehack is symlinked as run command of a service.
servicename
the name of the service pidfilehack is installed for.
pidfile
the filename to read the pid from
command
the real command to start
parameters
additional parameters for the command
A typical use of this command will look like this:
/etc/minit/apache
/etc/minit/apache/params
apache
/var/run/apache.pid
apachectl
start
/etc/minit/apache/run
-> /sbin/pidfilehack
AUTHOR
minit was written by Felix von Leitner and can be downloaded from his page at http://www.fefe.de/minit/
This manpage was written by Erich Schubert <erich@debian.org> for the Debian GNU/Linux operating system.
SEE ALSO msvc(8), pidfilehack(8)pidfilehack(8)