Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Mau
    Mau is offline
    New to the CF scene
    Join Date
    Jul 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Apache ignores file extensions

    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?
    Last edited by Mau; 07-20-2005 at 12:14 AM.

  • #2
    Senior Coder JamieR's Avatar
    Join Date
    Oct 2004
    Location
    United Kingdom
    Posts
    3,161
    Thanks
    0
    Thanked 5 Times in 5 Posts
    It'd be under http.conf I'd imagine....not sure where tho

  • #3
    Mau
    Mau is offline
    New to the CF scene
    Join Date
    Jul 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by weazel
    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.
    Last edited by Mau; 07-20-2005 at 12:14 AM.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •