MoodleZope
Revision 7 as of 2005-07-20 15:41:59
Clear message
Goal
To run moodle (http://moodle.org/) and zope2.7 (http://www.zope.org/) on port 80 of our school computer science web server.
Configuring Apache Module
- As root, run the following:
- ln -s /etc/apache2/modules-available/proxy.conf /etc/apache2/modules-enabled/proxy.conf
- Repeat with proxy_connect.load and proxy.load
Setting up the server
0. install ubuntu 5.04 server.
0. edit /etc/network/interfaces for static ip address.
Configuring virtual hosts
Create a file named azi.conf in /etc/apache2/sites-available with the following:
<VirtualHost 158.59.195.113:80> ServerName linus.yhspatriot.net ServerAdmin jeff@elkner.net ProxyRequests off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass / http://158.59.195.113:8080/ ProxyPassReverse / http://158.59.195.113:8080/ ProxyPass /misc_ http://158.59.195.113:8080/misc_ ProxyPassReverse /misc_ http://158.59.195.113:8080/misc_ ProxyPass /p_ http://158.59.195.113:8080/p_ ProxyPassReverse /p_ http://158.59.195.113:8080/p_ </VirtualHost> <VirtualHost 158.59.195.113:80> ServerName mysql.yhspatriot.net ServerAdmin jeff@elkner.net ProxyRequests off <Proxy *> Order deny,allow Allow from all </Proxy> DocumentRoot /var/www/phpmyadmin/ Options +FollowSymLinks <IfModule mod_php4.c> php_flag magic_quotes_gpc On php_flag magic_quotes_runtime Off php_flag file_uploads On php_flag short_open_tag On php_flag session.auto_start Off php_flag session.bug_compat_warn Off php_value upload_max_filesize 2M php_value post_max_size 2M </IfModule> <IfModule mod_dir.c> DirectoryIndex index.php </IfModule> </VirtualHost> <VirtualHost 158.59.195.113:80> ServerName moodle.yhspatriot.net ServerAdmin jeff@elkner.net ProxyRequests off <Proxy *> Order deny,allow Allow from all </Proxy> DocumentRoot /var/www/moodle/ Options +FollowSymLinks <IfModule mod_php4.c> php_flag magic_quotes_gpc On php_flag magic_quotes_runtime Off php_flag file_uploads On php_flag short_open_tag On php_flag session.auto_start Off php_flag session.bug_compat_warn Off php_value upload_max_filesize 2M php_value post_max_size 2M </IfModule> <IfModule mod_dir.c> DirectoryIndex index.php </IfModule> </VirtualHost>