Sophie

Sophie

distrib > Mandriva > 2009.0 > x86_64 > by-pkgid > d1a1c653cd2e42215674eefe6e9b6d03 > files > 2

drupal-6.4-1mdv2009.0.src.rpm

--- INSTALL.txt.orig	2008-05-13 09:29:19.000000000 +0800
+++ INSTALL.txt	2008-05-13 09:30:43.000000000 +0800
@@ -101,7 +101,7 @@
 4. RUN THE INSTALL SCRIPT
 
    To run the install script point your browser to the base URL of your website
-   (e.g., http://www.example.com).
+   (e.g., http://localhost/drupal).
 
    You will be guided through several screens to set up the database,
    create tables, add the first user account and provide basic web
--- sites/default/default.settings.php~	2007-12-20 17:35:10.000000000 +0800
+++ sites/default/default.settings.php	2008-05-13 09:32:59.000000000 +0800
@@ -123,7 +123,7 @@
  * It is not allowed to have a trailing slash; Drupal will add it
  * for you.
  */
-# $base_url = 'http://www.example.com';  // NO trailing slash!
+# $base_url = 'http://localhost/drupal';  // NO trailing slash!
 
 /**
  * PHP settings:
--- .htaccess.orig	2008-07-08 17:33:14.000000000 +0800
+++ .htaccess	2008-07-28 01:24:31.000000000 +0800
@@ -1,6 +1,9 @@
 #
 # Apache/PHP/Drupal settings:
 #
+Alias /drupal /var/www/drupal
+
+<Directory /var/www/drupal>
 
 # Protect files and directories from prying eyes.
 <FilesMatch "\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template)$">
@@ -24,6 +27,9 @@
 # Set the default handler.
 DirectoryIndex index.php
 
+AllowOverride All
+Allow from all
+
 # Override PHP settings. More in sites/default/settings.php
 # but the following cannot be changed at runtime.
 
@@ -93,7 +99,7 @@
   # VirtualDocumentRoot and the rewrite rules are not working properly.
   # For example if your site is at http://example.com/drupal uncomment and
   # modify the following line:
-  # RewriteBase /drupal
+   RewriteBase /drupal
   #
   # If your site is running in a VirtualDocumentRoot at http://example.com/,
   # uncomment the following line:
@@ -106,4 +112,6 @@
   RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
 </IfModule>
 
+</Directory>
+
 # $Id: .htaccess,v 1.90.2.1 2008/07/08 09:33:14 goba Exp $