Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7021133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T23:24:36+00:00 2026-05-27T23:24:36+00:00

I believe I’m looking for the Apache setting or mod that accomplishes this behavior

  • 0

I believe I’m looking for the Apache setting or mod that accomplishes this behavior because I need to turn it off or alter it in some fashion. Here’s the deal:

I have my own CMS that has its own router to handle redirects, includes, 404 errors, and pretty URLs. The mod_rewrite rules work perfectly to direct the appropriate requests to this router, but there’s a strange case that causes Apache to freak out and never even send the request to the router.

  • File located at http://www.example.com/contact.form.php
  • CMS content located at http://www.example.com/contact/contact-us

Requests for the CMS content should be going to the router because it does not match a file or directory that exists in the file system. What is actually happening is some sort of bizarre request that finds the contact.form.php file but somehow still causes Apache to give its own 404 error.

The router is designed to catch 404 errors, so Apache’s 404 screen should never be seen. All URLs entered for this domain outside of the contact “directory” (no matter how absurd) make it to my router and either retrieve the correct content or show my 404 page.

The work-arounds I’ve come up with so far:

  • Change the filename to form.contact.php — which disables any CMS content that may eventually exist in http://www.example.com/form/…
  • Create an empty directory at http://www.example.com/contact/

The conflict is clearly tied to the “directory” name matching the first part of a PHP filename. This behavior exists any time this condition is met, and it is non-existent when it is not met. Unfortunately, with a CMS, I can never guarantee that “directory” names won’t collide with PHP file names. For this reason, my focus is on tweaking Apache.

I’ve searched with all kinds of keyword combinations, and I can’t find the answer anywhere. Any ideas?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T23:24:37+00:00Added an answer on May 27, 2026 at 11:24 pm

    Found the answer elsewhere after a lot of searching.

    The problem is Options MultiView is turned on.

    For me, I am using virtual hosts, but I am configuring most of my settings in the user.conf file for apache on Mac OSX Lion. I am not sure if I added this, or if it was already there…

    Here is what I did

    1. Open Terminal App
    2. type: cd /etc/apache2/users
    3. type: ls
    4. From the list that prints out, you should see a file that matches your username: USERNAME.conf, where USERNAME is your actual username
    5. type: sudo nano USERNAME.conf
    6. You will probably have to enter your password
    7. Find this line: Options Indexes MultiViews
    8. Change it to: Options Indexes
    9. ctrl+x to exit, hit “y” when prompted to save the file and enter when it asks about the filename

    Alternatives

    You can add Options -MultiViews if you don’t see anything there.

    Also you can edit your httpd.conf file if the above does not apply.

    And if you use virtual hosts, you can edit your httpd-vhosts.conf file. For each site, edit the MultiViews Option within the tags. Either by adding “Options -MultiViews” or removing “Options MultiViews” if it exists.

    Hope this helps somebody else…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I believe this is possible but unsure how to go around it, I need
I believe this might be one of the most common problem that users faces
(I believe that this applies to both normal ASP.NET web parts and SharePoint hosted
I believe the application has some parts that target .NET, and some that don't.
I believe I need a DTD to define the schema and an XSLT if
I believe that Agile is nothing but another implementation of Spiral Model. I am
I believe that quantifying the productivity increase (extra working hours) is the most effective
I believe I understand this in terms of hardware, where multiple individuals 'share' the
I believe that it's possible to call Java methods from (PhoneGap) Javascript. Anyone knows
I believe there is a method to write a comment in a file that

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.