[peruser] NameVirtualHost support on ssl enabled ports Lazy

Stefan Klingner stefan.klingner at mephisto23.com
Fri Aug 28 14:57:57 MDT 2009


i am glad to hear that. please keep us updated in the forum. thanks a lot!

Lazy schrieb:
> 2009/8/15 cal at foxwhisper.co.uk <cal at foxwhisper.co.uk>:
>   
>> Hey Guys,
>>
>> Lots of thanks to the anonymous person who submitted the patch for Multiple
>>     
> not so anonymous my name and email was mentioned in that patch ;)
>
>
>   
>> VirtualHost SSLs via mpm-peruser, it's worked a treat! However - the patch
>> he submitted didn't work with dc3 by default, so here is a new one!
>>
>> I'm thinking of perhaps submitting a request to the debian package
>> maintenance team, and asking if we can submit mpm-peruser to the repos, I
>> would quite happily maintain the deb packages (I've already built a deb
>> package for 64bit and 32bit which works very nicely)
>>     
>
> due using a local copy of SSLSrvConfigRec, and using ssl_module
> without checking if mod_ssl is avaiable
> i think this is not ready for use any wider use
>
> seeing movement behind peruser.org I will try to produce some proper
> fix for this issue to get rid of this useful but ugly code
>
>   
>> --- apache2/server/mpm/experimental/peruser/peruser.c   2009-08-15
>> 19:58:17.322137212 +0100
>> +++ /tmp/peruser.c  2009-08-15 19:53:18.409636770 +0100
>> @@ -131,6 +131,35 @@
>>  #include <signal.h>
>>  #include <sys/times.h>
>>
>> +//enable my dirty ssl vhost hack Michal Grzedzicki <[EMAIL PROTECTED]>
>> +#define SSL_VIRTUALHOST_HACK
>> +
>> +#ifdef SSL_VIRTUALHOST_HACK
>> +
>> +//taken form mod_ssl.h
>> +//we only use enabled so other pointers are casted to void
>> +typedef struct {
>> +  void            *mc;
>> +  unsigned int     enabled;
>> +  unsigned int     proxy_enabled;
>> +  const char      *vhost_id;
>> +  int              vhost_id_len;
>> +  int              session_cache_timeout;
>> +  void            *server;
>> +  void            *proxy;
>> +} SSLSrvConfigRec;
>> +
>> +
>> +//not not sure if this is the right way to do it
>> +//without ssl it will not work
>> +
>> +extern module AP_MODULE_DECLARE_DATA ssl_module;
>>     
>
>
>   


More information about the Peruser mailing list