mod_rewrite

Discussion in 'General' started by llamy, Jul 23, 2007.

  1. llamy

    llamy New Member

    Hi,
    I have a this problem and have been trying to fix without success, any help please.

    i want to access the directory moodle in /var/www/web1/web on my site like this>
    http://moodle.example.com , where http://www.example.com is my website.

    for that i have created a co-domain in ISPconfig like this > hostname : moodle
    Domain : example.com

    i have then added the following in the Apache Directives of ISPConfig :

    <VirtualHost 192.168.xxx.xxx>
    ServerName moodle.example.com
    ServerAlias www.moodle.example.com
    ServerAdmin info@example.com
    DocumentRoot /var/www/web1/web/moodle
    </VirtualHost>

    but when i try to access > http://moodle.example.com i have this error :

    Server not Found, Firefox can't find the server at : moodle.example.com

    what i'm missing here ? thanks in advance. :mad:
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

  3. llamy

    llamy New Member

    Thanks

    Thank you very much Till for your help, it's working fine now.
    llamy.
     

Share This Page