On Mon, Nov 3, 2008 at 5:05 AM, mabshoff
<[EMAIL PROTECTED]> wrote:
>
>
>
> On Nov 3, 4:59 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
>> > Any port up to and including port 1000 requires root privileges to
>> > open on Linux (same on OSX and Unix by the way). So in order to work
>> > you either need to sudo or run Sage as root - both options I would
>> > highly discourage.
>>
>> Hm, it seems thathttp://www.sagenb.org/runs on port 80 and the
>> notebooks are not started under root. (I guess this from the fact that
>> writing the port number 8000 in URL for sagenb is not necessary.) How
>> can I do similar things?
>
> It is running via a VMWare image and William might run the notebook
> behind some proxy server, but I do not know the details.
Yep, I use http proxy rewrite rules. I had to enable every apache
module related
to proxy'ing. Also, here's my /etc/apache2/httpd.conf file:
[EMAIL PROTECTED]:/etc/apache2$ more httpd.conf
ProxyRequests off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
<VirtualHost *>
ServerName sagenb.org
ProxyPass / http://sagenb.org:8000/
ProxyPassReverse / http://sagenb.org:8000/
<Location />
DefaultType text/html
</Location>
</VirtualHost>
<VirtualHost *>
ServerName sagenb.com
ProxyPass / http://sagenb.com:8000/
ProxyPassReverse / http://sagenb.com:8000/
<Location />
DefaultType text/html
</Location>
</VirtualHost>
ServerName sagenb.org
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---