...

View Full Version : Apache ignores file extensions



Mau
07-19-2005, 08:06 PM
After spending many hours debugging a simple htaccess file, I have discovered that Apache doesn't care about file extensions any more. Going to localhost/mypage is the same as going to localhost/mypage.php, or localhost/mypage.js. Whatever it can find.

How do I disable this? There is no htaccess file that is doing this for me.

Additionally, I think maybe related, is that aliases stopped working. I used to go to localhost/phpMyAdmin to enter phpMyAdmin which is stored outside of the htdocs folder. That started giving me a 404 the other day, so I just moved it inside the htdocs folder.

Also, going to localhost/mypage/something is the same thing as going to localhost/mypage

So, how can I add back in aliases and add back in the requirement for file extensions?

JamieR
07-19-2005, 09:35 PM
It'd be under http.conf I'd imagine....not sure where tho ;)

Mau
07-19-2005, 10:54 PM
It'd be under http.conf I'd imagine....not sure where tho ;)

Yeah, I figured that. I've scanned that file for a few times, but can't find anything. The aliases are still setup just fine, but yet don't work.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum