Difference between revisions of "Drupal"

From Amahi Wiki
Jump to: navigation, search
Line 10: 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|
+
{{Text|<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}}
}}
 
  
 
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|
+
{{Text|<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}}
}}
 
  
 
After restarting apache services, your Drupal installation should be ready for action.
 
After restarting apache services, your Drupal installation should be ready for action.

Revision as of 00:19, 21 March 2012

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:
Text
​<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:

Text
​<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.

bash code
​service httpd restart​


Aljachimiak 17:03, 20 March 2012 (PDT)