I just upgraded my operating system to Mandriva 2006.0.1 (previously on Mandriva 2005 LE). My Drupal site stopped working, but other static pages on my site were still functional. Also, pointing to the Drupal folder with http://mysite/ would not serve up an index.html, but I explicitly included the name of the file in the URL, it would appear.

My new configuration consists of: Apache 2.054, PHP 5.04, MySQL 4.12, and Drupal 4.65.

After some investigation, I discovered that Apache wouldn't load the Vhosts file for Drupal because it objected to the following directives: RewriteCond and RewriteEngine. It also took exception to ErrorDocument - funny, they were all good previously!

In addition, Apache complained that it could not redeclare function utf8_encode in common.inc (which I had previously inserted in order to deal with a problem with iconv caused by the combination of PHP5 and MySQL4).

During the debugging, examining /var/log/httpd/error_log was very helpful.

Just filing this so someone else can avoid a few hours of work ;-)

S

Comments

styro’s picture

eg mod_rewrite and whatever it is that does ErrorDocument :)

--
Anton
New to Drupal? Please read this
Also: Forum posting tips

grcm’s picture

RewriteCond is in the version of Apache you have, so the problem must be an Apache configuration issue on your side.

Configuring Apache is not the easiest, but see if you can find the differences between your old conf files and the new; I version control all of /etc for this very reason.

-- Version Control your Drupal web site with The File High Club