Closed (cannot reproduce)
Project:
Drupal core
Version:
8.0.x-dev
Component:
other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Feb 2013 at 18:17 UTC
Updated:
29 Jul 2014 at 21:58 UTC
I am currently testing D8 in Windows8 and it begins to fail after install. I am posting here because I think it is related. Let me know if I should create a new issue.
Basically once Drupal8 is installed all it does is give these Apache errors when visiting any path in Drupal.
[Tue Feb 26 14:29:43 2013] [error] [client ::1] File does not exist: D:/wamp/www/drupal/user
However, if I change the URL to localhost:8888/drupal/index.php/user then everything works (somewhat) fine.
BTW, I am installing in a sub-directory (not using web root dir or v-host)
Apache Version : 2.2.22
PHP Version : 5.4.3
OS : Windows 8
WampServer 2.2
Comments
Comment #1
dcrocks commentedDrupal 8 now assumes clean urls. You can't even turn it off anymore. But, if you include index.php in your initial url it will work fine and continue to add index.php to all your urls for that session. You can edit your .htaccess so you don't have to use index.php if you want.
Comment #2
dcrocks commentedps. D:/wamp/www/drupal/index.php should work fine too. And look at about line 106 in your .htaccess file. It is a simple change.
Comment #3
frobSo is that what we are doing now. Just make Drupal8 unable to work in a sub-dir without manually adding index.php to the URL or manually editing the .htaccess file? This is something that used to just work.
Drupal 7 works just fine. For Drupal 8 not to work seems like a regression to me.
Comment #4
Chris Kenny commentedAlso you should note that if you are working with WAMP then you may need to turn on the rewrite module
go to the WAMP icon in your desktop toolbar then select Apache>hppd.conf and modify the following line by removing the hash tag
# LoadModule rewrite_module modules/mod_rewrite.so
This does not work dynamically so you will either need to restart the wamp stack or go to the WAMP icon in your desktop toolbar then select >Apache>apache modules and put a check in front of rewrite_module to enable it immediately.
Comment #5
frobI am marking it as closed(cannot reproduce) because this is working now. I have tested it with the latest code and it works.