[peruser] interesting peruser problem
Severn
solar.inversion at gmail.com
Sat Apr 1 12:23:50 MST 2006
Hi Stefan,
Nope, that doesn't work either.
I removed the NameVirtualHost line (don't know what I was thinking when I
put that there hehe).
I've tried:
- removing all vhost and listen entries for all SSL hosts and disabling
SSLEngine, but leaving SSL support in apache
- putting in a vhost for SSL
I suppose I can try building apache without SSL and see if it still
segfaults. In any case, running with debug on works as expected.
-Severn
On 4/1/06, Stefan Seufert <stefan at seuf.de> wrote:
>
> Hey Severn,
>
> thanks for the detailed error report and for all the hassle with the gdb
> debugging. This area is Sean's area of expertise and I'm sure he'll
> comment on that soon but I noticed another thing:
>
> > gdb --args httpd -X
> > [Fri Mar 31 21:25:43 2006] [warn] NameVirtualHost 208.101.23.81:443
> > <http://208.101.23.81:443> has no VirtualHosts
> > [...]
>
> - NameVirtualHost will not work for SSL hosts (port 443) since SSL
> doesn't support name based hosting.
>
> - Even if you remove the NameVirtualHost directive you still do not have
> a VirtualHost for this IP/Port combination. I can reproduce SegFaults
> in this case. (I.e. Listening on port 443 but not having any VHosts
> defined.) Try ading a Vhost for port 443. Here are the important parts
> from my httpd.conf:
>
> ---
> [...]
> Multiplexer nobody nobody
> Processor vhost1 vhost1
> Processor vhost2 vhost2
> [...]
> # KeepAlive *MUST* be set to off
> KeepAlive Off
> # Specify an IP here to avoid the 0.0.0.0 problem (if you have it)
> Listen 80
> Listen 443
> [...]
> <VirtualHost *:80>
> DocumentRoot /root/per_user/vhosts/1
> ServerName domain.com
> <Directory "/root/per_user/vhosts/1">
> Options Indexes FollowSymLinks
> AllowOverride None
> Order allow,deny
> Allow from all
> </Directory>
> <IfModule peruser.c>
> ServerEnvironment vhost1 vhost1
> MinSpareProcessors 4
> MaxProcessors 20
> </IfModule>
> </VirtualHost>
> <VirtualHost _default_:443>
> DocumentRoot "/root/per_user/vhosts/2"
> SSLEngine on
> [...]
> <IfModule peruser.c>
> ServerEnvironment vhost2 vhost2
> MinSpareProcessors 4
> MaxProcessors 20
> </IfModule>
> </VirtualHost>
> ---
>
> Stefan
> _______________________________________________
> Peruser mailing list
> Peruser at telana.com
> http://www.telana.com/mailman/listinfo/peruser
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.telana.com/pipermail/peruser/attachments/20060401/7677ec8f/attachment-0003.html
More information about the Peruser
mailing list