You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modules-dev@httpd.apache.org by Sam Carleton <sc...@gmail.com> on 2007/03/29 14:44:01 UTC

a thanks and C++ new overloading

Folks,

I want to say thank you for taking the time to help me out with
getting my module up and going.  It is so VERY refreshing to be
developing in such a well thought out and structured environment.  By
day I am working in VB.Net on different small projects where the
project leads attitude is: Get it done, don't make too many new
modules/class because it will be too complex for me (boss) to
understand when you leave.  Having the structure of the apache module
is the complete and total opposite and very very refreshing!  It is
also exposing me a little bit to how to make a module system, which I
will ultimately need to do for the GUI side of my app.  It is all
good, very good!  Thanks for directing me this way!

Last night I did successfully setup a C++ new overload that takes an
apache pool.  (When used correctly, C++ is simply WONDERFUL!) The
question is:  How best to make the code reusable?  What do I mean?
Well, the next version of the GUI is going to be written in C++, there
is going to be a lot of code that can and should be shared between the
module and the GUI.  I just cannot figure out how best to setup the
common code to allocate memory for different locations.  Any
suggestions?

Sam

RE: Is SSL by default enabled in Apache?

Posted by Souramita Sen <so...@mindtree.com>.
Thanks Sander for your suggestion. 

Regards,
Souramita.

-----Original Message-----
From: Sander Temme [mailto:sctemme@apache.org] 
Sent: Friday, March 30, 2007 11:36 AM
To: modules-dev@httpd.apache.org
Subject: Re: Is SSL by default enabled in Apache?

Souramita,

This is not really a topic for discussion on the modules development  
list: it has a better place on users@httpd.apache.org.

On Mar 29, 2007, at 10:43 PM, Souramita Sen wrote:

> When I run apache server in windows/Linux, does it support secure  
> connection
> by default ( i.e can I do https://ip_address <https://ip_address/> )

No, it is not.  You need to enable it with --enable-ssl when you  
configure your build.  For Windows, you can now download an installer  
for an SSL-enabled Apache by clicking 'Other files' on <http:// 
httpd.apache.org/download.cgi>.

> Manually some thing has to be done?

See http://httpd.apache.org/docs/2.2/ssl/ , but it should be noted  
that the server comes with a full SSL configuration in conf/extra/ 
httpd-ssl.conf

> Please let me know, what I need to do if I have do manual  
> configuration.

Please refer to the users@httpd.apache.org list for more help.

Regards,

Sander

-- 
sctemme@apache.org            http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF




DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return  e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.  Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

Re: Is SSL by default enabled in Apache?

Posted by Sander Temme <sc...@apache.org>.
Souramita,

This is not really a topic for discussion on the modules development  
list: it has a better place on users@httpd.apache.org.

On Mar 29, 2007, at 10:43 PM, Souramita Sen wrote:

> When I run apache server in windows/Linux, does it support secure  
> connection
> by default ( i.e can I do https://ip_address <https://ip_address/> )

No, it is not.  You need to enable it with --enable-ssl when you  
configure your build.  For Windows, you can now download an installer  
for an SSL-enabled Apache by clicking 'Other files' on <http:// 
httpd.apache.org/download.cgi>.

> Manually some thing has to be done?

See http://httpd.apache.org/docs/2.2/ssl/ , but it should be noted  
that the server comes with a full SSL configuration in conf/extra/ 
httpd-ssl.conf

> Please let me know, what I need to do if I have do manual  
> configuration.

Please refer to the users@httpd.apache.org list for more help.

Regards,

Sander

-- 
sctemme@apache.org            http://www.temme.net/sander/
PGP FP: 51B4 8727 466A 0BC3 69F4  B7B8 B2BE BC40 1529 24AF



Is SSL by default enabled in Apache?

Posted by Souramita Sen <so...@mindtree.com>.
 

When I run apache server in windows/Linux, does it support secure connection
by default ( i.e can I do https://ip_address <https://ip_address/> )

Manually some thing has to be done?

 

Please let me know, what I need to do if I have do manual configuration.

 

Thanks,

Souramita.



DISCLAIMER:
This message (including attachment if any) is confidential and may be privileged. Before opening attachments please check them for viruses and defects. MindTree Consulting Limited (MindTree) will not be responsible for any viruses or defects or any forwarded attachments emanating either from within MindTree or outside. If you have received this message by mistake please notify the sender by return  e-mail and delete this message from your system. Any unauthorized use or dissemination of this message in whole or in part is strictly prohibited.  Please note that e-mails are susceptible to change and MindTree shall not be liable for any improper, untimely or incomplete transmission.

Re: a thanks and C++ new overloading

Posted by Ralf Mattes <rm...@seid-online.de>.
On Thu, 2007-03-29 at 10:39 -0400, Sam Carleton wrote:
> On 3/29/07, Ralf Mattes <rm...@seid-online.de> 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
> simply cannot imagine developing a large system in C. 

Depends on what you call 'large'. I'm on Unix only and there is a
certain tendency to keep things small ans simple ... :-)
So - somehow most of my projects end up as small extensions, modules or
plugins. I have to confess that I do the really large projects in other
languages (Common Lisp if you care to ask) or often in so-called
scripting languages (that's what my customers often require since I'm
doing Web-related programming and their tech. people only program in the
dreaded P/R languages).
  
>  I know Apache
> is all in C, but man, I really like my objects;)  Obj. C does sound
> interesting, can you recommend any good sites that can enlighten me
> more about the subject?

Oh, my bookmarks for Obj.C are on my Mac (other office) but with a bit
Google help you should find plenty. BTW, one _can_ do OOp in C as well -
at least that's what the Gnome project tries to do.  For me, C++ is just
a monster - C raped and transmogrified. Iff I need a solid OO language
with static typing I'd go for Objective CAML - but that's hard to sell
to customers.

> > but: Since you seem to like the Apache way
> > why not use it for the GUI as well. The memory pooling and eveything
> > prefixed with 'apr_' is actually part of the Apache Portable Runtime
> > which can be used independent from the Apache webserver (Subversion is a
> > prominent example for such a project). You just need to decide whether
> > memory pools[1] are a good fit for your GUI application.
> 
> Why not?  Because I had not stop to make the obvious connection;)
> 
> >
> > [1] For another nice MPS have a look at:
> > http://www.ravenbrook.com/project/mps/doc/2002-01-30/ismm2002-paper/ismm2002.html
> 
> yea, the whole memory management thing is a huge can or worms, nice to
> know that there is the above MPS and apache's to pick from.
> 

Seems like the rest of the world is picking Garbage Collection up -
Apple seems to go the same road with Objective C (that always had
interesting memory management concepts).

 Cheers, RalfD
 
> Sam


Re: a thanks and C++ new overloading

Posted by Sam Carleton <sc...@gmail.com>.
On 3/29/07, Ralf Mattes <rm...@seid-online.de> 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
simply cannot imagine developing a large system in C.  I know Apache
is all in C, but man, I really like my objects;)  Obj. C does sound
interesting, can you recommend any good sites that can enlighten me
more about the subject?

> but: Since you seem to like the Apache way
> why not use it for the GUI as well. The memory pooling and eveything
> prefixed with 'apr_' is actually part of the Apache Portable Runtime
> which can be used independent from the Apache webserver (Subversion is a
> prominent example for such a project). You just need to decide whether
> memory pools[1] are a good fit for your GUI application.

Why not?  Because I had not stop to make the obvious connection;)

>
> [1] For another nice MPS have a look at:
> http://www.ravenbrook.com/project/mps/doc/2002-01-30/ismm2002-paper/ismm2002.html

yea, the whole memory management thing is a huge can or worms, nice to
know that there is the above MPS and apache's to pick from.

Sam

Re: a thanks and C++ new overloading

Posted by Ralf Mattes <rm...@seid-online.de>.
On Thu, 2007-03-29 at 08:44 -0400, Sam Carleton wrote:
> Folks,
> 
> I want to say thank you for taking the time to help me out with
> getting my module up and going.  It is so VERY refreshing to be
> developing in such a well thought out and structured environment.  By
> day I am working in VB.Net on different small projects where the
> project leads attitude is: Get it done, don't make too many new
> modules/class because it will be too complex for me (boss) to
> understand when you leave.  Having the structure of the apache module
> is the complete and total opposite and very very refreshing!  It is
> also exposing me a little bit to how to make a module system, which I
> will ultimately need to do for the GUI side of my app.  It is all
> good, very good!  Thanks for directing me this way!
> 
> Last night I did successfully setup a C++ new overload that takes an
> apache pool.  (When used correctly, C++ is simply WONDERFUL!) The
> question is:  How best to make the code reusable?  What do I mean?
> Well, the next version of the GUI is going to be written in C++, there
> is going to be a lot of code that can and should be shared between the
> module and the GUI.  I just cannot figure out how best to setup the
> common code to allocate memory for different locations.  Any
> suggestions?

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++, but: Since you seem to like the Apache way
why not use it for the GUI as well. The memory pooling and eveything
prefixed with 'apr_' is actually part of the Apache Portable Runtime
which can be used independent from the Apache webserver (Subversion is a
prominent example for such a project). You just need to decide whether
memory pools[1] are a good fit for your GUI application.
 
Cheers, RalfD

[1] For another nice MPS have a look at:
http://www.ravenbrook.com/project/mps/doc/2002-01-30/ismm2002-paper/ismm2002.html
 
> Sam