Jump to content


Photo

Same file and directory names with MultiViews in Apache


  • Please log in to reply
No replies to this topic

#1 ryanb

ryanb
  • New Members
  • Pip
  • Newbie
  • 5 posts

Posted 21 September 2006 - 01:43 AM

[Windows XP, PHP5, Apache 2]

Hello,

Is there a way so you can have a file and a directory of the same name, both in the same directory, and still use MultiViews and reference files without using extensions?

For example, a file test.php and a directory test/ are in the same location.  I would like to be able to use something like, <a href="test"> to show test.php, not test/ the directory (which is what it does now).  Is there a way to make Apache look for a file before a directory, or am I just going to have to make them different names?  Thank you very much!

Ryan

[attachment deleted by admin]




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users