Thanks all for the quick reply. Changing the set-uid bit was a good solution.
With this solution I can selectively choose which binaries scripts needs to
have root capabilities. I never would have tought of this escape because I was
stuck in a "solution loop"
Concerning the security I belie
On Wed, Jan 25, 2012 at 10:58:02PM +0100, Thomas Carrié wrote:
> It is the first time I use module mod_rewrite is totally new to me, 2 things
> are unclear to me:
Why are you using mod_rewrite at all? Just use a NameVirtualHost and set
up 2 virtual hosts for your 2 domains to which you could then
On Wednesday, January 25, 2012 11:03:50 PM Serge Fonville wrote:
> Hi,
>
> RewriteCond does an AND unless you tell it to do an OR.
OK for the AND condition
>
> You mention the querystring, but /unauthorized isn't it, is it?
> if you want to filter based on the urlpath you should do it different
Hi,
RewriteCond does an AND unless you tell it to do an OR.
You mention the querystring, but /unauthorized isn't it, is it?
if you want to filter based on the urlpath you should do it differently.
Please add the information so we better understand what you are trying to
accomplish.
HTH
Kind r
Hi,
I have 2 DNS entries
- a.domain.com
- b.domain.com
They target the same IP: 1.2.3.4
I want to setup apache
- to accept requests on a.domain.com
- to forbid requests on b.mydomain.com
I have tried this config
Listen 1.2.3.4:80
ServerName a.domain.com
# page to be served for users t
Some possible solutions to this, assuming www.someaddress.com has a
virtualhost:
Simplest way is with a redirect:
ServerName www.someaddress.com
Redirect / http://www.otheraddres.com?mode=1
Without a redirect you would need a proxy setup (and mod_proxy loaded), I'd
advise to take a look at th
Thx for the reply.
If I understand the gist of what you propose, it consists of setting
environment variables that specify the Apache bin path, and its log path. Those
env vars can then be accessed in the conf file using the ${VARIABLE} syntax.
I guess that would do the trick, thx. But I was h
Define one file wiht variables definition, name file examplo
=setVarApache.env in path /tmp
$more setVarApache.env
LOG_PATH=/tmp/example/
LISTENIP=192.168.100.1
NAMESERVER=MyServer
LISTENPORT=82
Now in script to start apache i charge this file with:
. /tmp/setVarApache.env
case $ARGV in
sto
A related question to the one I posted earlier about env variables.
In my httpd.conf, I want to setup some custom error logs for my application,
using a statement like this:
ErrorLog "|[apachepath]/bin/rotatelogs.exe -l [apachepath]/logs/error_blah.log
86400"
The problem is that I would have t
On Wed, Jan 25, 2012 at 9:49 AM, Satya Samala wrote:
>
> Can these modules(mod_pagespeed & mod_jk ) be included in the configure
> command and installed? Or do these have to be configured manually after the
> installation?
>
Installed separately, since they are not part of the httpd source tree
Hi, Mr. Jung
It is the problem from /dev/random. Thanks.
Ryan Jiang
-Original Message-
From: Rainer Jung [mailto:rainer.j...@kippdata.de]
Sent: Monday, January 23, 2012 2:43 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Apache 2.2.21 SSL on RHEL v5.7
On 23.01.2012 20:02, Rui
Can these modules(mod_pagespeed & mod_jk ) be included in the configure
command and installed? Or do these have to be configured manually after
the installation?
Please advise!
Regards
Satya N R Samala
700 Locust St
WebSphere Middleware Engineer
Dubuque, 52001-6838
WME Dubuque GDF Primar
> I use this syntax too, but I think it works for me only because of my
> loading of a NON-STANDARD module, mod_define.
>
> http://people.apache.org/~rjung/mod_define/mod_define.html
It works for me and I don't have mod_define loaded.
-
Desilets, Alain wrote:
Nevermind, I found the answer on this page:
www.issociate.de/board/goto/1147159/Using_environment_variable_in_httpd.conf.html
Although it's an undocumented features, you can acess the OS env variables with
a syntax like: ${WEBITEXT_HOME}.
I tried it and it works. The fu
Nevermind, I found the answer on this page:
www.issociate.de/board/goto/1147159/Using_environment_variable_in_httpd.conf.html
Although it's an undocumented features, you can acess the OS env variables with
a syntax like: ${WEBITEXT_HOME}.
I tried it and it works. The funny thing is that I am su
Hello,
*** Question ***
How can I measure how much time is spent in the processing function of
module?
Of course, the supplier of the module does not provide any source code.
My idea is to add an APRLOG_DEBUG the "apr_time_now" before and after
the function is called (don't know yet which hook
Hi, this is my first posting here.
I have a mod_perl application called WeBiText, which needs to push a number of
directories on the Perl include path. At the moment, I do this by including the
following in my httpd.conf file:
PerlSwitches -IC:/Users/Desiletsa/Documents/eclipse_workspac
Hi guys,
I have a doubt. I would like to know how can I do this: When people write
in browser www.someaddress.com, this points to
www.otheraddres.com?mode=1.How can I do it? Should I to add an alias or
modifying apache configuration?
Please help me.
Regards,
--
*Antonio Manuel Fernández Pérez
18 matches
Mail list logo