I'm using a httpd module that does a socket transfer from the httpd
process to another non-httpd process that is running on the same
system.
Can you post or send that code or a link to it?
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http
accidentally or on purpose. Other examples mess up range requests and
other responses that aren't trivial. So I agree, it's not that much
easy. It's easy to write bad filter, difficult to write a proper one.
(Too difficult for me, perhaps.)
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next
.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/
Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user
= APR_BRIGADE_FIRST(bb);
apr_sleep(1);
Full source code for the original and the patched:
http://bettercgi.com/tmp/mod_txt.c
https://www.bettercgi.com/tmp/mod_patched.c
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox
is in the code with mileage on it or
in the new code.
Hmmm...don't know what happened to that subject line po.
Not what I meant to type, obviously!
Another O would have been quite embarassing wouldn't it.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security
the same tool, just renamed on some distributions.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/
Strongbox / Throttlebox affiliate program:
http
.
Leveraging piped logging means that the Apache developers who
came before us already took care of launching and if necessary
relaunching the process, sharing the pipe filehandle, making
it all cross platform, etc.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security
into
some error, it may not be an output filter. Secondly, can the error
be detected earlier with some proactive checking?
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intelligent Bandwidth Control
http
://lmgtfy.com/?q=apache+module+configuration
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/
Strongbox / Throttlebox affiliate program:
http
It's up to the browser what to send back after being redirected.
You could either a) not send a redirect header, but rather do an
internal redirect, or b) probably better would be to append the
encoded referer to the query string.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next
write a module that takes
elements of the request and makes a request to another web server at
an
arbitrary URL?
See the proxy modules for examples.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox
by trial and
error. There are only two areas I don't learn by trial and
error, because error is not acceptable. Explosives and system
security.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intelligent
my question - is it possible to write a responsehandler within C?
See any of the response handlers that come with Apache. They are all
written in C.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox
.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/
Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user
with it.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/
Strongbox / Throttlebox affiliate program:
http://www.bettercgi.com/affiliates/user
for their sites.
They needed something slightly less simple. Those modules have their
uses, I'm sure, but for the people we work with something a little
more sophisticated was required in order to effectively address to
real need, which was a business issue, not a purely technical one.
--
Ray Morris
supp
just
tc queuing policy, but they would be rightly lambasted by
the business manager for making the sluggish rather than
addressing the actual concern, which includes an appropriate
message to the user.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http
behave
strangely are also not uncommon and need to be handled
gracefully. These things I learned implementing our
commercial module for this purpose.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intelligent
that goal be
accomplished in a different manner that doesn' need the
directive? (IE, instead of asking how can I buy a car to
get to work when I haven't gotten paid yet?, ask how can I
get to work without having a car?).
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site
http://www.google.com/search?q=how+to+debug+an+apache+modulestart=0start=0ie=utf-8oe=utf-8client=mozillarls=org.mozilla:en-US:unofficial
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intelligent Bandwidth
wanting
to do the same thing as an existing function in
mod_perl, you could look at the source of mod_perl
to see how they did it. That might give you some
ideas.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox
on something
else, start with r-connection.
--
Ray Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/
Strongbox / Throttlebox affiliate program:
http
You could of course run one serer on a non standard port.
--
Ray B. Morris
supp...@bettercgi.com
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
Throttlebox - Intelligent Bandwidth Control
http://www.bettercgi.com/throttlebox/
Strongbox / Throttlebox
1) If our application does not use any CGI or
perl scripts, Is it necessary to have the modules
like mod_perl and mod_fastcgi to be present in
the sever.
Even if you WERE using CGI, neither mod_perl nor
mod_fastcgi would be required. mod_perl wouldn't be
recommended unlss you either
I'd double check and triple check -
something undefined can't match anything.
What is the EXACT code you're using?
Also, rewrite has -f to check to see if
it's a file, and -d for a directory, just
like the standard test command, Perl,
and other common tools. These common
tools use -e to
does
RewriteCond ${REMOTE_USER} .
Is the . for any character? Why does it evaluate correctly when
undefined
and != doesn't?
Michele
-Original Message-
From: Ray Morris [mailto:supp...@bettercgi.com]
Sent: Friday, February 06, 2009 3:05 PM
To: modules-...@httpd.apache.org
I'm thinking about adding a -e flag for environment
variable does not exist to httpd on my server.
It would return true if the variable exists
or false, otherwise. Is there a way to already
do this?
For your purpose, you can use:
RewriteCond %{REMOTE_USER} !.
or as appropriate:
Look at the host name. It will at times
include :portnumber - perhaps any time it's
not the defaulot 80.
--
Ray B. Morris
supp...@bettercgi.com
On 01/18/2009 01:36:14 PM, wolfgang wrote:
Hi there,
I can not get a port number if my apache module is set in the main
server config and
On 12/10/2008 02:09:19 AM, Sorin Manolache wrote:
I would propose the following approach:
Hook post_config. This one is executed once by the parent process
before any child is spawned. Therefore, any resource opened there is
inherited by all child processes. Thus, I would create _shared_
On 11/24/2008 01:01:11 PM, Sam Carleton wrote:
The honest truth is that 99% of my market
doesn't even know what Apache is, let alone
that there is a conf file that could be changed
to get different behavior.
That suggests that you probably have no reason
to hide anything. For the 1%
Can all this be done in an Apache module?
Yes, just about anything can be done in an
Apache module. Based on your other questions,
it sounds like you need a thorough exposition
of the Apache API and probably the HTTP protocol,
so I'd suggets your next step is to study some
good
1) How can I configure it so that it runs with a
URL like abc.com
See the documentation. If you need screen shots
and much and holding, see Google.
I should not have to add a new entry in config
files to add a new subdomain.
See your web hosting company. If you're not
comfortable
Six and half years after it was released, Apache 2
is definitely ready! Some newer modules and tools either
have no Apache 1.3 version or a hackish back port to 1.3,
so I'd definitely not recommend 1.3 for any new installation.
--
Ray B. Morris
[EMAIL PROTECTED]
Strongbox - The next
mod_rewrite does URL to filename translation
in the fixups hook, so it might be a good example
to look at. My own module uses a subrequest to
get information from a later phase.
--
Ray B. Morris
[EMAIL PROTECTED]
Strongbox - The next generation in site security:
I'm in the middle of porting an application from
IIS/Windows to Apache 2.2 module. In the application,
there is a lot of global data.
...
Unfortunately there's no magic technique for
sharing data between processes in Apache - you just
have to use the same inter-process communication
This is a little off the topic of Apache module
development, but it's perhaps a better solution to
the problem posed which the questioner mentioned
rather than using an Apache module.
what i'm doing right now is: using the error log pipe
to check for for suspicious errors. if enough
If you do set DOCUMENT_ROOT, it would be great
if you made that change in the mass virtual hosting
module, which would fix the problem for all users
of the module, rather than doing so in a seperate,
possibly unrelated module. Just yesterday we had
to deal with a bunch of hassle because
that in, but that
is
a
lot of over head I'd like to avoid.
Thanks though.
Ray Morris wrote:
I am writing a module that runs certain functions depending on the
configuration directives in the conf files. The functions are run
twice when the server is started and again when the server shuts
If the URL is on the same site, you can
use a subrequest. Below is an example of
doing a subrequest. ap_run_sub_req only needs
to be run if you need the body of the response.
The headers can be accessed after calling
ap_sub_req_lookup_uri. Authentication is
skipped for subrequests by default,
I am using the apr_* functions to allocate
memory (most of the time from the request-pool).
If there are few places where you allocate from
othr than the reqquest pool, I'd look at those first.
--
Ray B. Morris
[EMAIL PROTECTED]
Strongbox - The next generation in site security:
RewriteCond %{QUERY_STRING} ^(rain|spain|plain|,)+$
For a full explanation of what regex features are
and are not available, see the first result:
http://www.google.com/search?q=mod_rewritesourceid=mozillastart=0start=0ie=utf-8oe=utf-8
--
Ray B. Morris
[EMAIL PROTECTED]
Strongbox - The next
Google Content-Disposition. This is techincally a
MAIL header, not an HTTP header, I think, but the
major browsers seem to pay some attention to it,
at least some times.
--
Ray B. Morris
[EMAIL PROTECTED]
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
See libxml.
--
Ray B. Morris
[EMAIL PROTECTED]
Strongbox - The next generation in site security:
http://www.bettercgi.com/strongbox/
On 08/17/2007 04:03:24 AM, prasana wrote:
Hi,
Is there any API functions to extract url from an response page. I
need to log all the url in the response
We would like to use an APR table to share
data between processes or threads where the data
is a buit more than one would want to manage
in a raw block of shared memory. Searching this
list, on Google, and looking through the source
I've found several people wanting to do soemthing
similar,
44 matches
Mail list logo