I am working on a short term solution to a bigger issue. The long term
solution is switch databases, that is next on the list, after I patch the
current DB.
My background: I am the sole developer of this product that uses lots of
technologies, one of them is Apache Modules. It has been a long
I am looking at using a 3rd party library that only operates on 16-bit
strings. Is there a built in functions to convert the strings back to
8-bit? I am currenly on Windows and Windows has built in functions I could
use, I would prefer to use Apache functions if they exist.
On Tue, Feb 16, 2010 at 2:35 PM, Kevac Marko ma...@kevac.org wrote:
On Tue, Feb 16, 2010 at 10:12 PM, mcqueenor...@gmail.com wrote:
I have done a lot of c module development. I have found the same problem
and wound up simply running the module under load while keeping an eye on
memory
opps, wrong mailing list :)
On Thu, Dec 10, 2009 at 11:18 PM, Sam Carleton
scarle...@miltonstreet.comwrote:
I have been using Axis2/C sololy on the server side until now (I had been
using Silverlight as the client). I now need to use Axis2/C on the client
side but need to know what exactly
at 8:08 PM, Eric Covener cove...@gmail.com wrote:
On Sun, Nov 15, 2009 at 3:44 PM, Sam Carleton
scarle...@miltonstreet.com wrote:
I am working on a Axis2/C module that is hosted by Apache 2.2. The
client
is .Net 3.5. I have set the SendTimeout on the .Net binding to 10
minutes
I am working on a Axis2/C module that is hosted by Apache 2.2. The client
is .Net 3.5. I have set the SendTimeout on the .Net binding to 10 minutes
but things are still timing out in about 30 seconds. I am wondering if
anyone in this forum has run into timeout problems that where fixed by
I do develop Apache Modules which is why I thought to ask this question
here...
I run a micro ISV out of my home and I only have one external IP address. I
need to have some services on Apache and others on IIS. How would I pull
this off since I only have one external IP address? My thought is
I did not mention that I am only interested in HTTPS, not HTTP. It is
my understanding that virtual host's don't work for HTTPS, is this correct?
Sorin Manolache wrote:
On Tue, Jun 2, 2009 at 14:45, Sam Carleton scarle...@miltonstreet.com wrote:
I do develop Apache Modules which is why I
Ray Morris wrote:
You could of course run one serer on a non standard port.
Yes, except that there are many many access points out there that ONLY
allow port 80 and 443 out, if I used a different port for one of the
servers, than it would be blocked from such places.
Ok, my code is quickly getting out of hand. I have a C#.Net WCF app calling
a Axis2/C module running on Apache that has custom authentication module.
When I set a breakpoint on the my ap_hook_access_checker function to check
the path, like a 2 second pause, than remove the breakpoint, the call
On Sat, May 2, 2009 at 3:35 PM, Joe Lewis j...@joe-lewis.com wrote:
I expect that the client is doing this. Since you are using C#, it will
try and make every request under the same connection. With what you have
described, it is more than likely a problem with the client trying to run
On Sat, May 2, 2009 at 3:45 PM, Sam Carleton scarle...@gmail.com wrote:
The question is... How do I do that?
By calling ap_discard_request_body(r) in the correct location!
Tarun,
First off, this forum is for Apache C Module development, not
configuration, so you are a bit off topic.
The quick and dirty is this: No module is *needed*, Apache can run
just fine without any modules. It will be very limited in what it can
do and how you can configure it, but it can
I just upgraded from Apache 2.2.8 to 2.2.11. My module uses apreq.h,
but that is not part of 2.2.11. Is that an extra header I found
somewhere or was it removed?
On Sun, Dec 14, 2008 at 4:03 PM, Sorin Manolache sor...@gmail.com wrote:
Well, no thought. What I do when I'm clueless is compiling an apache
server with debug symbols (CFLAGS=-g -O0 -fno-inline), configure it,
and start it in debug mode (apache2 -f my_conf.conf -X) in a debugger.
Then I set
On Sun, Dec 14, 2008 at 4:03 PM, Sorin Manolache sor...@gmail.com wrote:
Well, no thought.
I tried the redirect in a regular browser and got the EXACT same
error. Then it dawned on me: Look at the log file.
It was an error in the PHP page that was causing the error:)
Live and learn, thank
On Sat, Dec 13, 2008 at 2:35 AM, Saju Pillai saju.pil...@gmail.com wrote:
On 13-Dec-08, at 1:02 PM, Mark Harrison wrote:
One thing you can check:
Make sure that s points to writable memory.
Check that s is on the heap not on a function stack. Try apr_pstrdup(p, s)
or memcpy(s) into
On Sat, Dec 13, 2008 at 1:04 PM, Sorin Manolache sor...@gmail.com wrote:
3. Set a request note (apr_table_set(r-notes, my_note,
should_redirect)) and then in the handler hook you check the request
note. If it is set, ap_internal_redirect(your_url).
This is what I want to do, make it 100%
On Mon, Nov 24, 2008 at 10:49 AM, William A. Rowe, Jr.
[EMAIL PROTECTED] wrote:
Sam Carleton wrote:
I am a small one man ISV. My software has different versions which
have different features. I want to hide the fact that I am setting a
handler and authtype in the http.conf so my
On Mon, Nov 24, 2008 at 10:52 AM, Houser, Rick [EMAIL PROTECTED] wrote:
Don't things like SSL client auth (pre-HTTP connection) internally show
as basic auth? Isn't it just as trivial to make a module that does
nothing more than set the auth-type string to basic? A simple contract
(real
/faqs/smart-questions.html
Thank you, the link has some very good ensight, the real trick for me
know is not forgetting what I just learned from reading it. I will
try to make it a point to refer back to it from time to time.
Sam Carleton wrote:
Is there any way to *hide* configuration? I would
On Mon, Nov 24, 2008 at 11:56 AM, Houser, Rick [EMAIL PROTECTED] wrote:
Contract, as in the piece of paper you get someone to sign in order to
license your software. It would spell out the responsibilities of both
parties for support, penalties for violating those terms (ex. running at
levels
The problem was/is the lack of a extern C around the ap_provider.h
file. I put one in my mod_auth_basic.cpp and all is well. I am
wondering if it is possible to have it added to ap_provider.h itself.
Anyone know how I would go about getting that done?
Sam
On Sat, Nov 22, 2008 at 3:43 PM, Sam
I am ISV developing a system that is using Apache. All the frontend's
for system I am developing are all custom desktop applications, or web
browsers controls wrapped in my own code. Thus users are not going to
be entering username and password, the username and password used will
be depended on
I am looking for an example of setting a cookie in an apache module.
I found mod_auth_memcookie, but it only reads in cookies, it looks
like it relies on the php code to actually set the cookie.
Also, I see that mod_auth_memcookie is hooking both
ap_hook_check_user_id and ap_hook_auth_checker. I
On Wed, Jun 18, 2008 at 9:42 PM, Sam Carleton
[EMAIL PROTECTED] wrote:
I am looking for an example of setting a cookie in an apache module.
I found mod_auth_memcookie, but it only reads in cookies, it looks
like it relies on the php code to actually set the cookie.
I forgot to add
I am working on a ISV that is developing kiosk system with Apache at
the core. Considering my many years of software development is in
Windows Application development, not web development, I am running
into some issues with authentication. I am hoping to gain some
insight from those of you that
On Fri, May 9, 2008 at 12:23 AM, Graham Dumpleton
[EMAIL PROTECTED] wrote:
Since you see one request but not the second, one thing I would
perhaps suggest doing is turn off KeepAlive and see if that makes a
difference with the client.
I am wondering, I do not see the timeout bug but my
I am a one man ISV that is using an Apache and an Apache Module. I am
trying to trouble shoot a timeout issue that I cannot see, my customer
is reporting the problem and he can consistently repeat the problem.
Sometimes when the .Net 2.0 client makes a call to my Apache module,
the .Net code
I would like to thank one and all for your help. I took Ray's advise
and created a basic timing class (my code is C++) that captured elapse
time and put that around all the main calls in my code and found the
bug. It was something REALLY stupid on my part, isn't always;)
Again, thanks you all
I am thinking the slow down is not directly related to the Apache
Module, but maybe related to the way I have the RewriteRules setup. I
have moved the RewriteRules from the directory level to the server
level and for some reason my handler isn't getting called anymore. I
am hooking the handler in
On Sat, Mar 29, 2008 at 1:04 PM, Eric Covener [EMAIL PROTECTED] wrote:
Would that require one of the [PT] flag or a Directory container?
Eric,
Thank you so much, that did it!
Sam
Folks,
Part of my web application contains an Apache C Module, mostly it is a
handler to control access and to serve up images, but another part of
it does access a SQLite database, which isn't called a whole lot. On
my development machine which is a 2.8GHz P IV, the module serves up 12
images
I have spent my development career in Windows using both DevStudio and
Visual Studio. One of the reasons I am going to be using Apache C
Modules and Axis2/C is to be cross platform. Does anyone have any
recommendations on a good cross platform development environments that
has a debugger for
On Sun, Mar 16, 2008 at 6:43 PM, ed [EMAIL PROTECTED] wrote:
What might be better for you is to add this to a queue, perhaps via
means of a unix socket (or IP socket) of another process, that does this
work.
Actually today the program is only Windows and in time will be
Windows, Linux and
When a user logs out of my web application, the application needs to
do a somewhat time consuming cleanup. I need Apache to respond in a
timely fashion to the log out request. Is there any way to start this
as a background process in the apache module?
Sam
I am more interested in theory right now than anything else.
Currently my web development is 80% PHP and 20% Apache Module. The
Apache module is currently a handler for my images and controls
security.
I have adopted a template type of approach with the PHP code, I found
this utility class that
I have been developing my module with VC6, fore I know that because of
the manifest files VC8 is not a viable enviornment, what about VC7.1
(VS2003)? I have that now and am wondering if I can upgrade from VC6
to VC7.1.
Sam
On 11/26/07, ed [EMAIL PROTECTED] wrote:
Generally speaking, if you're using apr routines then they should
handle the memory resources for you, there should be little need for
allocating on the heap.
Thanks to the performance tools of my OS I have confirmed that
somewhere in my Apache module there is a memory leak. Are there any
tips or tricks out there for find memory leaks in an Apache module?
Sam
--
The contents of this e-mail are intended for the named addressee only.
It contains
With this memory leak in my simple Apache module, I am considering
rewriting the whole module. Right now there are two files small files
that the module reads every time. One is a small (less then a 1K)
configuration file and the other is a small (1K ~20K) xml file. In
the rewrite, I am
Is there any way for my apache module to pass parameters in such a way
that my php code can get at them?
Sam
I am working on the access to my kiosk system, one condition I need to
handle in a unique way is when a web browser is run on the same
physical machine as Apache. It is obvious when using localhost or
127.0.0.1. But when the URL is the machine name, I seem to be getting
an IP address. I do see
I simply don't understand how module configuration is suppose to work.
I am handling the server and dir config create and merge. For some
reason, unknown to me, the server creation function gets called twice
in my development environment where I am passing httpd.exe the -X. Of
course this means
Folks,
This is a bit off topic, but over the last few weeks I have come to
know you all as very helpful and extremely knowledgeable about all
things Apache and I have a feeling most all things Web related...
Thanks to Nick mentioning mod_xmlns in the server side include thread,
I just looked up
On 4/9/07, Joe Lewis [EMAIL PROTECTED] wrote:
Sam Carleton wrote:
When Apache sees
Location /coolapp
SetHandler mod_my_cool_app
Location
How does it know that mod_my_cool_app is associated with
mod_my_cool_app.so? Is it purely from the LoadModule or is there
something in the module
On 4/6/07, Nick Kew [EMAIL PROTECTED] wrote:
A good starting point is one module per task. How many tasks
does your application comprise? How many of those tasks can
be accomplished using existing modules?
I like the concept on one module one task, but I want to try to keep
everything in one
On 4/6/07, Nick Kew [EMAIL PROTECTED] wrote:
On Fri, 6 Apr 2007 00:51:52 -0400
Sam Carleton [EMAIL PROTECTED] wrote:
(for now, assume that the whole
application will be in the apache module.)
That assumption seems fundamentally flawed. A substantial
and complex application
I see there are two different functions regarding etags:
AP_DECLARE(char *) ap_make_etag(request_rec *r, int force_weak);
AP_DECLARE(void) ap_set_etag(request_rec *r);
What are they using to actually make the etag? I would like to create
my own, custom, etags, how do I go about doing that?
On 4/5/07, Graham Dumpleton [EMAIL PROTECTED] wrote:
In a translate name handler, if you assign to r-filename then the map
to storage phase will still kick in and ensure that Apache has access
to whatever you set r-filename to. Thus, you still need a Directory
directive corresponding to the
On 3/29/07, Ralf Mattes [EMAIL PROTECTED] wrote:
Well, please consider all I say with a certain amount of doubt since I'm
not a C++ developer (only did one C++ module, the rest was plain C) and
favor C (or Obj. C) over C++,
Interesting, Are you doing large projects in C? I know both well and
I know that as of VS200? (2 or 3) that Microsoft started this whole
manifest thing. It is also my understanding that, for C/C++ apps, it
can be turned off. What exactly is the issue? Considering it seems
most of you are *NIX developers, maybe this is something I can dig
into and find a
On 3/28/07, William A. Rowe, Jr. [EMAIL PROTECTED] wrote:
MS's primary goal is primacy, be it forcing users into their API, their
language extensions, their OS. Sometimes, the best answer is a dash of
bubble gum and bailing wire to get around the mess they create, and
sometimes it's to ignore
Folks,
I want to thank all three of you for your time, thoughts, and input on
this matter. I have reached a conclusion... Drum role please It
will be a apache module!!!
In the end, it came down to portability. I realize that either way I
go, I need to be using APR and
On 3/27/07, Ralf Mattes [EMAIL PROTECTED] wrote:
Oh, I have lots of *NIX machines to pick from, I have a OpenBSD
machine (my firewall), Solaris 8, and a SuSE Linux, no need for
VMWare.
Good. Still - the virtual testserver thing really grew on me: I have a
clearly defined build/test
On 3/27/07, Issac Goldstand [EMAIL PROTECTED] wrote:
More importantly, lets say my module is called mod_coolapp and when I
have it installed, you get to it at /coolapp. I want /coolapp to be
the equivalent to the index.php and then have say, /coolapp/images be
the same as
Hay folks,
I am trying to get libapreq2 installed on my Windows machine. I fixed
the bug in the Makefile that was looking for libapr.lib rather then
libapr-1.lib, but I am stumped on the error Can't locate
ModPerl/MM.pm Here is the whole thing:
C:\Perl\bin\perl.exe Makefile.PL
Can't locate
I am working on a image kiosk system. One of the things that needs to
happen is downsizing images. Initially this down sizing was happening
in the GUI part of the program. I have now modified things so that it
is done real time by the PHP code. The problem is that the downsizing
is taking
at the same time.
Issac
Sam Carleton wrote:
I am working on a image kiosk system. One of the things that needs to
happen is downsizing images. Initially this down sizing was happening
in the GUI part of the program. I have now modified things so that it
is done real time by the PHP code
On 3/26/07, Issac Goldstand [EMAIL PROTECTED] wrote:
I'd say then that you need to do in on-the-fly with caching. Caching
should be pretty easy - just have a static algorithm for determining the
name of the cached image and stat it to see if it already exists. If so
serve it; if not, reduce
60 matches
Mail list logo