Hello. I've a drupal site with Apache2 server. I modified the .htaccess file to enable Rewrite rules and to substitute mod_php4 for sapi_apache2. But when I activate "Clear URLs", address are not correctly resolved (I get error 404: not found).
print_r(apache_get_modules()) returns:
Array ( [0] => core [1] => mod_access [2] => mod_auth [3] => mod_log_config [4] => mod_logio [5] => mod_env [6] => mod_setenvif [7] => prefork [8] => http_core [9] => mod_mime [10] => mod_status [11] => mod_autoindex [12] => mod_negotiation [13] => mod_dir [14] => mod_userdir [15] => mod_alias [16] => mod_so [17] => mod_actions [18] => util_ldap [19] => mod_auth_ldap [20] => mod_auth_pam [21] => mod_auth_sys_group [22] => mod_dav [23] => mod_dav_fs [24] => mod_deflate [25] => sapi_apache2 [26] => mod_rewrite [27] => mod_ssl )
Here is my .htaccess file:
#
# Apache/PHP/site settings:
#
# Protect files and directories from prying eyes:
order deny,allow
deny from all
# Set some options
#Options -Indexes
#Options FollowSymLinks
# Customized server error messages:
ErrorDocument 404 /index.php
# Set the default handler to index.php:
DirectoryIndex index.php
# Overload PHP variables:
#
# If you are using Apache 2, you have to use