The bug as folow:

I create a first node (id=1), and i have url http://localhost/drupal7.9/node/1. It works and no problem

  1. Then i create a file name node.php in the root directory (accidental) and enter url http://localhost/drupal7.9/node/1 in browser. It does not display node information with nid=1, it run the php code in file node.php
  2. Then i rename file node.php to node.csv (or other extension) and "404 error" appear (The requested URL /drupal7.9/node.csv/1 was not found on this server.)
  3. Then i rename url to "http://localhost/drupal7.9/?q=node/1" and it works again (display node infomation).

Is this a bug? Can anyone shows me some reason.

Comments

monil-dupe’s picture

I don't know the exact solution for your problem but you can use this module (http://drupal.org/project/pathauto) to make your links more search engine friendly by using title of pages as url of them and i think then your problem will be solved too.

xjm’s picture

Category: bug » support
Priority: Critical » Normal
SamH’s picture

Looks like the problem is that you have a file named node in the root directory. Try deleting it or renaming it to somethingelse.txt, and see if that fixes the problem.

SamH’s picture

Assigned: Unassigned » SamH
SamH’s picture

Assigned: SamH » Unassigned
Status: Active » Fixed

Hm.. actually, putting node.php in the root directory shouldn't do anything. I just tried it on my localhost and it had no effect. Deleting it will probably fix your problem, but there's something else that's strange going on. I'm marking this as fixed because I haven't heard back from you, but feel free to open it up again if you are still having trouble.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

fix some spell grammar