Re: How do I use the drupal installed via yum?

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

 



Here's how I'd handle it

<VirtualHost *:80>
ServerName www.myserver.com
DocumentRoot /usr/share/drupal
</VirtualHost>

In /usr/share/drupal, move sites to /var/www and replace it (in the
drupal directory) with a soft link.

In /var/www/sites, create a folder writeable by apache called
www.myserver.com and copy the contents of default into it.  SELinux
expects the server to write here and won't complain.

When you first configure the server, tell it that the site is in
sites/www.myserver.com.  This will allow you to easily handle a
multi-site Drupal installation.

On my system, I get Drupal directly from the the drupal site, so I have
it set up differently

/var/www/
    drupal-6.15
       sites -> ../sites
    drupal -> drupal-6.15
    sites
       all
         themes
         modules
       www.sterndata.com
         files

When a new release of drupal is available, I just download it into
/var/www, change sites to point to ../sites, and change the pointer for
drupal to the new release.

All Drupal sites on my system use the same DocumentRoot,
/var/www/drupal/drupal

hth


On 02/05/2010 09:42 AM, Gavin Simpson wrote:
> Dear List,
> 
> I'm looking to set-up a Drupal installation on a RHEL 5.4 server and
> also on my Fedora box. I've installed drupal via yum and note that it
> installs into /usr/share/drupal/ /etc/drupal/ . A look through what
> was installed didn't yield any READMEs or Fedora/RHEL specific
> instructions, so I'm not sure how to proceed and thought I'd ask
> before blundering in...?
> 
> Anyone point me in the right direction of marrying up the
> yum-installed drupal with my web root? Just to be clear, I don't need
> help with Drupal. I think what I'm not grepping is how I access drupal
> through the webroot.
> 
> TIA,
> 
> Gavin


-- 
-- Steve
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux