Taavi wrote:
> Per User wrote:
> > I am also still having bother with SSL. Even with a working conf from
> > a standard apache setup, it still results in
> >
> > ssl_error_rx_record_too_long
> Hi!
> If I recall correctly you had something similar in your httpd configuration:
> NameVirtualhost 1.2.3.4:443
> Could you try removing that and then run it?
> As for the chroot, does the whole server seg fault (eg doesnt start at
> all) or only that user's processes ?
Thanks for the quick reply. Removing Namevirtualhost gives Apache warn
errors, it still starts, but does not serve HTTPS still.
It still continues to throw this error in the Apache2 error log,
[Tue Jun 02 12:41:16 2009] [info] [client 90.152.0.26] SSL handshake failed:
HTTP spoken on HTTPS port; trying to send HTML error page
[Tue Jun 02 12:41:16 2009] [info] SSL Library Error: 336027804
error:1407609C:SSL routines:SSL23_GET_CLIENT_HELLO:http request speaking
HTTP to HTTPS port!?
I've triple checked the apache config, but there is nothing different
to the working apache build we have.
With regards to the chroot, we have around 10 different users, for talking sake,
User1 -> User10
All user's chroots work apart from 1 user, User3. My config is as follows,
Apache conf
...
<IfModule peruser.c>
ServerLimit 300
MaxClients 150
MinSpareProcessors 5
MaxSpareProcessors 0
MinProcessors 1
MaxProcessors 150
MaxRequestsPerChild 1500
ExpireTimeout 7200
IdleTimeout 30
MinMultiplexers 10
MaxMultiplexers 50
MultiplexerIdleTimeout 120
Multiplexer ${APACHE_RUN_USER} ${APACHE_RUN_GROUP}
ProcessorWaitTimeout 10
</IfModule>
...
Peruser conf
<IfModule peruser.c>
<Processor www-data>
User www-data
Group www-data
#Chroot /
</Processor>
<Processor User1>
User User1
Group User1
#Chroot /
</Processor>
<Processor User2>
User User2
Group User2
Chroot /home/User2/
</Processor>
<Processor User3>
User User3
Group User3
Chroot /home/User3/
</Processor>
<Processor User4>
User User4
Group User4
Chroot /home/User4/
</Processor>
<Processor User5>
User User5
Group User5
Chroot /home/User5/
</Processor>
<Processor User6>
User User6
Group User6
Chroot /home/User6/
</Processor>
...
</IfModule>
Apache Virtualhost conf
<VirtualHost *>
ServerName www.example.com
ServerEnvironment User3
#MinSpareProcessors 4
MaxProcessors 10
DocumentRoot /httpd/example.com/http/
ServerAlias *.example.com
ServerAlias example.com
</VirtualHost>
The folder tree is something like this for each user,
/home/User3/
/home/User3/httpd/
The conf like for User3 is the same for Users 1 > 10, but for whatever
reason, it refuses to work on User3. Apache will start and will
continue to serve to other users, but any requests to virtualhosts
under User3 and that particular child instantly segfaults.
_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser