+ Post New Thread
Results 1 to 2 of 2
Virtual Learning Platforms Thread, Running moodle and mahara on same linux server - OUCH virtual hosts in Technical; I was inspired by a the talk of VLEs at the edugeek conference so I though I would drag out ...
  1. #1
    reggiep's Avatar
    Join Date
    Apr 2008
    Location
    In the vast area of space and time
    Posts
    1,550
    Thank Post
    518
    Thanked 56 Times in 50 Posts
    Rep Power
    30

    Running moodle and mahara on same linux server - OUCH virtual hosts

    I was inspired by a the talk of VLEs at the edugeek conference so I though I would drag out my moodle test box and see if i could get mahara up and running on it as well.
    I managed to get it working but only by playing around with the
    /etc/apache2/sites-available/default

    Code:
    NameVirtualHost *
    <VirtualHost *>
            ServerAdmin webmaster@localhost
    
            DocumentRoot /var/www/moodle
            <Directory />
                    Options FollowSymLinks
                    AllowOverride None
            </Directory>
            <Directory /var/www/moodle>
                    Options Indexes FollowSymLinks MultiViews
                    AllowOverride None
                    Order allow,deny
                    allow from all
            </Directory>
    If I have /var/www/moodle then my moodle works fine and I cannot get to mahara
    If I take away the moodle so it just says /var/www then i can get to both sites but the moodle is rendered all wrong.

    Do i need to add another virtualhost entry to the bottom of this file?

    Thanks

  2. #2
    Jamo's Avatar
    Join Date
    Jan 2009
    Posts
    1,355
    Thank Post
    66
    Thanked 175 Times in 147 Posts
    Rep Power
    60
    You do indeed, there is a guide on how to do it on the Apache site

    VirtualHost Examples - Apache HTTP Server

    That example shows the way I did it on my test box at home with the same IP address and Port but different servername:

    eg:
    moodle.x.com
    mahara.x.com

  3. Thanks to Jamo from:

    reggiep (1st June 2009)

SHARE:
+ Post New Thread

Similar Threads

  1. Pointing to our Linux Moodle Server
    By papakura in forum Windows
    Replies: 7
    Last Post: 10th July 2012, 09:29 AM
  2. Having problems installing moodle on linux server?
    By reggiep in forum Virtual Learning Platforms
    Replies: 9
    Last Post: 18th May 2009, 08:36 PM
  3. Who hosts their own Moodle?
    By gshaw in forum Virtual Learning Platforms
    Replies: 24
    Last Post: 15th January 2009, 04:50 PM
  4. Installing Linux OS on Virtual PC2007
    By mickeyh080 in forum Thin Client and Virtual Machines
    Replies: 10
    Last Post: 11th July 2008, 12:55 PM
  5. sims.net running on Virtual Server 2005r2 ???
    By leonard.powers in forum MIS Systems
    Replies: 2
    Last Post: 4th July 2007, 11:30 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •