Hi All,
I have been working through several issues trying to get Drupal working with Apache2 on Suse 9.1. Here are my problems and resolutions which might save future Suse 9.x Drupal newbies like me some time and headaches. Most of the installation was pretty straight forward and everything went as expected until I came to trying to load the Drupal home page.
Problem 1. Get the Apache default page instead of Drupals
Added the code below to /etc/apache2/httpd.conf
AllowOverride All
Also added the code below to /etc/apache2/default-server.conf
.
.
# Options FileInfo AuthConfig Limit
AllowOverride All
# Controls who can get stuff from this server.
Order allow,deny
Allow from all
Not sure if both the changes above are needed or if it make things insecure. Anyway, I then restarted Apache with "/etc/rc.d/apache2 restart". I also needed to reload the pages in my web browser to get the expected Drupal pages instead of the Apache default page.
Problem 2. Get an error that the mail() function is undefined when I try to email the new account password
I tried setting the sendmail line in /etc/php.ini but this didn't fix the problem. I then did a php -m from the command line it appears that SuSE have not compiled the mail function into php4. I was almost resigned to having to recompile php4 from the source code when I saw the section below in /etc/php.ini. Well , I thought I might as well try overloading the mail function (whatever that does?) and after restarting Apache with "/etc/rc.d/apache2 restart" the error was fixed.