Jump to content


This topic is now archived and is closed to further replies.


Same file and directory names with MultiViews in Apache

Recommended Posts

[Windows XP, PHP5, Apache 2]


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 [color=green]test.php[/color] and a directory [color=green]test/[/color] are in the same location.  I would like to be able to use something like, [color=green]<a href="test">[/color] to show [color=green]test.php[/color], not [color=green]test/[/color] 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!


[attachment deleted by admin]

Share this post

Link to post
Share on other sites


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.