Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Extending Apache Server Doubts???
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
mitra  
View profile  
 More options Jun 16 2004, 5:22 am
Newsgroups: comp.infosystems.www.servers.unix
From: pranami...@mail.com (mitra)
Date: 16 Jun 2004 02:22:44 -0700
Local: Wed, Jun 16 2004 5:22 am
Subject: Extending Apache Server Doubts???
Sub: Extension of Functionality of Apache

Hi,
   I want to know if the following is possible in Apache in Linux
Platform.
   and if possible, what should be done to make it possible(method for
implementing it)

  1) In My Model, If someone sends a Http Request, Then I want Apache
to
     Pass the Request (Entire Data) to "My Code". "My Code" will
process
     the data and it will give back the "results" to apache,
     which i want the apache to send it back to the person/process
which
     sent the request.

     What I intent to do is: I am going to embedded certain "private"
commands
     in the Http Request Packet (Data Part) and i am going to carry
out
     those commands, what i should do whenever certain commands come,
"My Code"
     will decide.

     Can I do like what i described above in apache.

     How do i do it ?.

     Someone told me, that u can do that using scripts (cgi and perl).

     I want to do it in "C" Language. Can I do it.

    Has anyone done tis before, Please Explain in detail with
examples.

    Searching the internet has not helped me.Any specific
resources/Experiences
   will help me.

    Thanks,
     Mitra


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Klaus Johannes Rusch  
View profile  
 More options Jun 16 2004, 10:18 am
Newsgroups: comp.infosystems.www.servers.unix
From: Klaus Johannes Rusch <KlausRu...@atmedia.net>
Date: Wed, 16 Jun 2004 14:18:33 +0000
Local: Wed, Jun 16 2004 10:18 am
Subject: Re: Extending Apache Server Doubts???

mitra wrote:
>    I want to know if the following is possible in Apache in Linux
> Platform.
>    and if possible, what should be done to make it possible(method for
> implementing it)

Which of your questions was not answered in
<news:2ittvtFr0houU1@uni-berlin.de>, where you had essentially posted
the same questions?

Did you look at the CGI documentation referenced in that response?

--
Klaus Johannes Rusch
KlausRu...@atmedia.net
http://www.atmedia.net/KlausRusch/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Juha Laiho  
View profile  
 More options Jun 16 2004, 12:32 pm
Newsgroups: comp.infosystems.www.servers.unix
From: Juha Laiho <Juha.La...@iki.fi>
Date: Wed, 16 Jun 2004 16:32:03 GMT
Local: Wed, Jun 16 2004 12:32 pm
Subject: Re: Extending Apache Server Doubts???
pranami...@mail.com (mitra) said:

>Sub: Extension of Functionality of Apache

>   I want to know if the following is possible in Apache in Linux
>Platform.
...
>     Someone told me, that u can do that using scripts (cgi and perl).

>     I want to do it in "C" Language. Can I do it.

So far nothing that could not be done. You can perfectly well write
programs conforming to the CGI interface specification in C. I recommend
looking for some pre-existing libraries handling at least parts of the
CGI request processing.

Another way would be to write your code to directly integrate to Apache,
but I'd guess that way is more risky (bugs in your code might cause
overall problems in the Apache), and also I guess direct Apache integration
would be harder than writing to the CGI interface.
--
Wolf  a.k.a.  Juha Laiho     Espoo, Finland
(GC 3.0) GIT d- s+: a C++ ULSH++++$ P++@ L+++ E- W+$@ N++ !K w !O !M V
         PS(+) PE Y+ PGP(+) t- 5 !X R !tv b+ !DI D G e+ h---- r+++ y++++
"...cancel my subscription to the resurrection!" (Jim Morrison)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joe Schaefer  
View profile  
 More options Jun 16 2004, 1:49 pm
Newsgroups: comp.infosystems.www.servers.unix
From: Joe Schaefer <joe+use...@sunstarsys.com>
Date: 16 Jun 2004 13:49:54 -0400
Local: Wed, Jun 16 2004 1:49 pm
Subject: Re: Extending Apache Server Doubts???

[plug] If mita's running apache2, give libapreq2 a try

  http://httpd.apache.org/apreq/

It's a server-side request parsing library that works for both CGI C "scripts"
and Apache modules.  A sample CGI C app is env/t/test_cgi.c in the
libapreq2 distribution, with sample Apache modules in env/c-modules.

--
Joe Schaefer


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »