On 24 zář, 11:08, William Stein <wst...@gmail.com> wrote:
> For the record, here is the actual entry I use in /etc/httpd.conf:
>
> <VirtualHost *>
>   RewriteEngine On
>   ServerName sagenb.org
>   ProxyPass    /http://sagenb2:8000/
>   ProxyPassReverse /http://sagenb2:8000/
>   DocumentRoot /
>         <Location />
>            DefaultType text/html
>         </Location>
> </VirtualHost>

Great, after many hours of using google I solevd the problem. Just for
the record:

My entry in apache2.conf (debian) is

Listen 8001

<VirtualHost *:8001>
RewriteEngine On
ProxyPass    / http://192.168.86.131/
ProxyPassReverse / http://192.168.86.131/
DocumentRoot /
<Location />
DefaultType text/html
</Location>
</VirtualHost>


I had to do (if I remember correctly)

a2enmod proxy
a2enmod rewrite
a2enmod proxy_http

customize proxy.conf and restart apache

many thanks
Robert
>
>
>
>
>
> > where host is whatever you use to (locally) connect. Doing this will
> > forward all connections to VirtualHost (however it's specified,
> > either by port or by dns name or whatever, maybe everything if you're
> > not running another webserver on your PC) to the virtual machine.
>
> >> Thank you very much.
>
> >> Robert
>
> >> btw: I have seen that sagenb.org has 8GB RAM. Right?
>
> > The actual machine it's on has 128GB RAM, but it's in a VMWare image
> > that sees less than that.
>
> >> I wonder, how
> >> large is the swap. I used for small group (15 students) sage on PC
> >> with 2GB RAM and it was necessary to have really big swap, since Sage
> >> was consuming memory fast (has been discussed in January - here on
> >> sage-edu).
>
> --
> William Stein
> Associate Professor of Mathematics
> University of Washingtonhttp://wstein.org
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to