Sophie

Sophie

distrib > Mandriva > 2009.0 > i586 > by-pkgid > 6f8ac6903f91166ebbf98593c1f41d9e > files > 2

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

--- INSTALL.txt.orig	2008-12-11 08:07:52.000000000 +0100
+++ INSTALL.txt	2008-12-11 08:08:55.000000000 +0100
@@ -115,7 +115,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.orig	2008-12-11 08:09:45.000000000 +0100
+++ sites/default/default.settings.php	2008-12-11 08:10:26.000000000 +0100
@@ -122,7 +122,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	2010-02-02 08:25:22.000000000 +0100
+++ .htaccess	2010-03-05 09:20:00.000000000 +0100
@@ -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|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl|svn-base)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template|all-wcprops|entries|format)$">
@@ -25,6 +28,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.
 
@@ -100,7 +106,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:
@@ -112,5 +118,6 @@
   RewriteCond %{REQUEST_URI} !=/favicon.ico
   RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]
 </IfModule>
+</Directory>
 
 # $Id: .htaccess,v 1.90.2.5 2010/02/02 07:25:22 dries Exp $