I have a custom module that uses
hook_menu() to create new routes. It works on all my existing Windows development boxes.
I've recently set up an Ubuntu box, and installed Drupal; everything seems to work aside from the custom routes. I have a menu callback for "test" that gives me a 404 error. I have confirmed that
hook_menu() is called in the code. I have clean URLs enabled, and the "Add content" link goes to "node/add," so it seems that clean URLs/URL rewriting works.
I should add that visiting "?q=node/add" works fine, but "?=test" does not. It seems like on this machine something weird is happening with the menu system.