[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Drupal on Debian: how to make http:/site/drupal/ == http://site/ ?



On Monday 20 June 2005 05:06, Raymond Wood wrote:
> Hello all,
>
> Subject line says it all.  Debian's Drupal install makes the default URL
>   http://site/drupal/
>
> How is the average Debian user supposed to make Drupal a default web
> site found at
>   http://site/
> ?
>
> If anyone else has crossed this bridge, I would really appreciate a
> pointer or solution, as I don't see any Debian documentation on this
> question...

I've done it, but I don't have it installed now so I am just guessing.

If I remember correctly drupal is stored in /usr/share/drupal (if not just 
change what I say below to point to the correct place rather than the above)

To change what you want you just adjust the settings for your web server.  If 
its apache2, then its in /etc/apache2/sites-available directory (I believe 
apache (1) does not split the files up by separate virual host - but there is 
a <VirtualHost> section somewhere in the main config file)

Inside the <VirtualHost> you need to set

DocumentRoot /usr/share/drupal

and 

    <Directory /usr/share/drupal>

#   Network Access Control
                Order           allow,deny
                Allow           from all

#   Need to set allowoverride because drupal has an .htaccess file
                Options FollowSymLinks MultiViews
                AllowOverride   All
        </Directory>




-- 
Alan Chandler
http://www.chandlerfamily.org.uk



Reply to: