summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.htaccess22
-rw-r--r--INSTALL.txt20
-rw-r--r--sites/default/settings.php4
3 files changed, 24 insertions, 22 deletions
diff --git a/.htaccess b/.htaccess
index 241a358..614572f 100644
--- a/.htaccess
+++ b/.htaccess
@@ -18,26 +18,22 @@ ErrorDocument 404 /index.php
# Set the default handler.
DirectoryIndex index.php
-# Override PHP settings. More overrides exist in
-# sites/default/settings.php, but the following cannot be changed at
-# runtime. The first IfModule is for Apache 1.3, the second for
-# Apache 2.
+# Override PHP settings. More exist in sites/default/settings.php, but
+# the following cannot be changed at runtime. The first IfModule is
+# for Apache 1.3, the second for Apache 2.
<IfModule mod_php4.c>
- php_value allow_call_time_pass_reference 1
php_value magic_quotes_gpc 0
php_value register_globals 0
- php_value short_open_tag 1
+ php_value session.auto_start 0
</IfModule>
<IfModule sapi_apache2.c>
- php_value allow_call_time_pass_reference 1
php_value magic_quotes_gpc 0
php_value register_globals 0
- php_value short_open_tag 1
+ php_value session.auto_start 0
</IfModule>
-# Override mod_expires by reducing the time dynamically generated pages
-# are cache-able.
+# Reduce the time dynamically generated pages are cache-able.
<IfModule mod_expires.c>
ExpiresByType text/html A1
</IfModule>
@@ -46,7 +42,7 @@ DirectoryIndex index.php
<IfModule mod_rewrite.c>
RewriteEngine on
- # Modify the RewriteBase if you are using Drupal in a subdirectory and
+ # Modify the RewriteBase if you are using Drupal in a subdirectory and
# the rewrite rules are not working properly.
#RewriteBase /drupal
@@ -56,13 +52,13 @@ DirectoryIndex index.php
#RewriteCond %{QUERY_STRING} ^id=([^&]+)$
#RewriteRule node.php index.php?q=node/view/%1 [L]
- # Rewrite old-style URLs of the form 'module.php?mod=x':
+ # Rewrite old-style URLs of the form 'module.php?mod=x'.
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
#RewriteRule module.php index.php?q=%1 [L]
- # Rewrite current-style URLs of the form 'index.php?q=x':
+ # Rewrite current-style URLs of the form 'index.php?q=x'.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
diff --git a/INSTALL.txt b/INSTALL.txt
index 2c86650..3bb8e2b 100644
--- a/INSTALL.txt
+++ b/INSTALL.txt
@@ -14,7 +14,7 @@ CONTENTS OF THIS FILE
REQUIREMENTS
------------
-Drupal requires a web server, PHP4 (4.33 or greater) or PHP5
+Drupal requires a web server, PHP4 (4.3.3 or greater) or PHP5
(http://www.php.net/) and either MySQL (http://www.mysql.com/)
or PostgreSQL (http://www.postgresql.org/).
@@ -182,17 +182,25 @@ INSTALLATION
5. CONFIGURE DRUPAL
+ You should consider creating a "files" subdirectory in your Drupal
+ installation directory. This subdirectory stores files such as
+ custom logos, user avatars, and other media associated with your
+ new site. The sub-directory requires "read and write" permission
+ by the Drupal server process. You can change the name of this
+ subdirectory at "Administer > Settings > File system settings".
+
You can now launch your browser and point it to your Drupal site.
Create an account and login. The first account will automatically
- become the main administrator account.
+ become the main administrator account with total control.
6. CRON TASKS
- Many Drupal modules have periodic tasks that must be triggered by a
- cron job. To activate these tasks, you must call the cron page by
- visiting http://www.example.com/cron.php -- this will pass control
- to the modules and the modules will decide if and what they must do.
+ Many Drupal modules (such as the search functionality) have periodic
+ tasks that must be triggered by a cron job. To activate these tasks,
+ call the cron page by visiting http://www.example.com/cron.php --
+ this will pass control to the modules and the modules will decide if
+ and what they must do.
Most systems support the crontab utility for scheduling tasks like
this. The following example crontab line will activate the cron
diff --git a/sites/default/settings.php b/sites/default/settings.php
index 677b6ad..cec1fe3 100644
--- a/sites/default/settings.php
+++ b/sites/default/settings.php
@@ -75,13 +75,12 @@ $base_url = 'http://localhost';
* be set at runtime (ie., when ini_set() occurs), read the PHP
* documentation at http://www.php.net/manual/en/ini.php#ini.list
* and take a look at the .htaccess file to see which non-runtime
- * settings are used there.Settings defined here should not be
+ * settings are used there. Settings defined here should not be
* duplicated there so as to avoid conflict issues.
*/
ini_set('arg_separator.output', '&amp;');
ini_set('magic_quotes_runtime', 0);
ini_set('magic_quotes_sybase', 0);
-ini_set('session.auto_start', 0);
ini_set('session.cache_expire', 200000);
ini_set('session.cache_limiter', 'none');
ini_set('session.cookie_lifetime', 2000000);
@@ -89,7 +88,6 @@ ini_set('session.gc_maxlifetime', 200000);
ini_set('session.save_handler', 'user');
ini_set('session.use_only_cookies', 1);
ini_set('session.use_trans_sid', 0);
-ini_set('track_vars', 1);
/**
* Variable overrides: