Difference between revisions of "Drupal"

From Amahi Wiki
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
----
 
 
You now can install [http://http://www.amahi.org/apps/drupal Drupal] with one click in Amahi!  
 
You now can install [http://http://www.amahi.org/apps/drupal Drupal] with one click in Amahi!  
  
Line 11: Line 10:
 
*Once you have opened the file, find the portion that looks like this:
 
*Once you have opened the file, find the portion that looks like this:
  
{{Code|lang=text|
+
<pre><Directory "/var/hda/web-apps/drupal/html">
Code=        <Directory "/var/hda/web-apps/drupal/html">
 
 
                 Options Indexes FollowSymLinks +ExecCGI
 
                 Options Indexes FollowSymLinks +ExecCGI
 
                 AddHandler fcgid-script .fcg
 
                 AddHandler fcgid-script .fcg
 
                 AllowOverride AuthConfig
 
                 AllowOverride AuthConfig
                 Order allow,deny
+
                 Order allow,deny</pre>
}}
 
  
 
You need to change the AllowOverride value to all.  Here, you'll see that the default is commented out (#) and the new value is added below:
 
You need to change the AllowOverride value to all.  Here, you'll see that the default is commented out (#) and the new value is added below:
{{Code|lang=text|
+
<pre><Directory "/var/hda/web-apps/drupal/html">
Code=        <Directory "/var/hda/web-apps/drupal/html">
 
 
                 Options Indexes FollowSymLinks +ExecCGI
 
                 Options Indexes FollowSymLinks +ExecCGI
 
                 AddHandler fcgid-script .fcg
 
                 AddHandler fcgid-script .fcg
 
                 #AllowOverride AuthConfig
 
                 #AllowOverride AuthConfig
 
                 AllowOverride all
 
                 AllowOverride all
                 Order allow,deny
+
                 Order allow,deny</pre>
}}
 
  
 
After restarting apache services, your Drupal installation should be ready for action.
 
After restarting apache services, your Drupal installation should be ready for action.
{{Code|service httpd restart}}
+
service httpd restart
  
 
[[User:Aljachimiak|Aljachimiak]] 17:03, 20 March 2012 (PDT)
 
[[User:Aljachimiak|Aljachimiak]] 17:03, 20 March 2012 (PDT)
 +
[[Category:apps]]

Latest revision as of 17:18, 9 January 2021

You now can install Drupal with one click in Amahi!

If you would like to use a lower version, or are feeling adventurous, you will need to manually install Drupal as a web-app. Here are some steps to help you along.

  1. Use the instructions here to help you create the web-app from the control panel and create an associated database.
  2. Download your Drupal tarball and install. The second page of this presentation is very helpful.
  3. Now open your Drupal app and complete Drupal's initial setup. You may have to check the readme for specific instructions.
  4. You will now need to change the app's conf file to allow Drupal to have full functionality.
  • Use these instructions to find Drupal's conf file.
  • Once you have opened the file, find the portion that looks like this:
<Directory "/var/hda/web-apps/drupal/html">
                Options Indexes FollowSymLinks +ExecCGI
                AddHandler fcgid-script .fcg
                AllowOverride AuthConfig
                Order allow,deny

You need to change the AllowOverride value to all. Here, you'll see that the default is commented out (#) and the new value is added below:

<Directory "/var/hda/web-apps/drupal/html">
                Options Indexes FollowSymLinks +ExecCGI
                AddHandler fcgid-script .fcg
                #AllowOverride AuthConfig
                AllowOverride all
                Order allow,deny

After restarting apache services, your Drupal installation should be ready for action.

service httpd restart

Aljachimiak 17:03, 20 March 2012 (PDT)