I installed Drupal with Drush and it all works fine and the welcome page appears as well. But when I try to log in (with whatever account) it shows me the: "Object not found! The requested URL was not found on this server...." page.
I am on Arch Linux. I checked the httpd.conf file and mode_rewrite engine is enabled: "LoadModule rewrite_module modules/mod_rewrite.so"
I was also suggested to check the .htaccess file extension, but it has no ".txt" extensions.
Also, I went to index.php?q=user url and it did respond: opened the User account page.
I am still suspecting something with httpd.conf and .htaccess fils, but they look fine to me. I failed to find any resource related directly to this problem.
Just to clarify further. Both /drupal and /drupal/index.php urls are displayed without errors. But when I try to log in as an admin (or any user) and submit it, it shows the error page I described above. Which is a problem, because I can't even enable clean urls, as it requires permissions for that.
I checked if the httpd.conf file (as suggested by comment below) is configured to read the .htaccess file:
And although the file was missing that section, I found out that httpd.conf file reads .htaccess file by default, if not configured otherwise. Despite this, I added that line, but it still shows the same error when logged in.
Also, the following are the httpd.conf lines:
DocumentRoot "/srv/http" <Directory /> Options FollowSymLinks AllowOverride All Order deny,allow Deny from all </Directory>