Hello All,
I can not believe this,
Apache don't find any index.php created under "mobile" directory, in the site's root in the document root directory (/var/www/virtuales), in any domain and subdomain of the server.
It is not a matter of owners, permits, VirtualHost misconfiguration, a global policy or unusual .htaccess, etc, just if I create the folder "mobile" within a virtual root and I put a index.php, does not read and gives 404, even a hello world or any code, and I see nothing in the logs ...
I deleted all virtual hosts from httpd.conf file, recreate all of them again, I restarted apache of course, review the settings, directives, etc, but no case only if the directory is called "mobile"
Even I put DirectoryIndex index.php to the left, to take with utmost priority, but no case.
I also put the directives in .htaccess to read the .php files in all directories and subdirectories, just in case, but it will not.
I tried with all permissions for the folder and the index, and with different owners as apache, nobody, but not walk.
Code:
httpd -v
Server version: Apache/2.2.3
Server built: Mar 5 2010 04:42:29
php -v
PHP 5.1.6 (cli) (built: Jan 4 2010 10:45:24)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
with eAccelerator v0.9.5.3, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
<VirtualHost "IP">
ServerName example.com
ServerAlias www.example.com
DocumentRoot /var/www/virtuales/example.com
<Directory "/var/www/virtuales/example.com">
Options FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Alias /example.com /var/www/virtuales/example.com
Does anyone have any suggestions?
It is very rare!
Thanks in advance.