My system is Debian Linux, testing branch.
From phpinfo()
"Linux notosh 3.16-0.towo-siduction-amd64 #1 SMP PREEMPT Mon Aug 4 10:02:11 UTC 2014 x86_64"
PHP version is 5.6.0-1, I am using a more recent kernel than the one in testing because the older one will not manage my advanced graphic card.
I have installed Drupal in my localhost, in a virtual host several times without issues.
At present I have a simple test site (just html) running fine as a vhost.
The problem arises when attempting to connect to database, db is there, sometimes I used the root account, but I also tried with creating a user with all privileges.
Drupal fills the db with empty tables, and returns to the screen, I enter db name, user name and pass again and this time I get WSOD.
Checked apache syntax with apache2ctl configtest, syntax OK.
Error in apache2 log is:
"[core:crit] [pid 4054] (13)Permission denied: [client 127.0.0.1:60168] AH00529: /var/www/html/d731/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/html/d731/' is executable"
I chmod 777 .htaccess
After several tries I am still getting same result, please help.

Comments

slhemanthkumar’s picture

Can you please check with the fresh copy of drupal? Because you may have done changes to .htaccess file. If you are facing the same issues using fresh drupal also then the problem on your vhost setup.

Thanks,

ckosloff’s picture

I tried several times with fresh drupal copies.
I am pretty sure that the vhost setup is OK, checked several times too.
Here is my vhost setup abridged:
/etc/hosts
127.0.0.1 localhost
127.0.1.1 notosh dumbsite d731

notosh is my server name and that is where vhosts should be listed, dumbsite is my test site (working) and d731 is latest version of drupal, I also tried with localhost and it was even worse.

This is /etc/apache2/sites-available vhost for d731

ServerName d731
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/d731

Options All
AllowOverride All
Order allow,deny
Allow from all

DirectoryIndex index.php

Debian has helper tools for enabling sites, so as root 'a2ensite d731' creates the symlink to enable, symlink is there.
command service apache2 reload is prompted in the console, executed.
d731 with fresh copy of drupal is in /var/www/html/d731

Please understand that I already went through all these steps, issue does not have a simple fix.
Many tags have been deleted by Drupal for security purposes, they are all there in the file.

ckosloff