Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been running Apache on my local computer for years. Suddenly, any request to a local page that is not found, is redirected to http://origin.domain.com/. What could cause this?

Just to be clear, I open:


And I am being forwarded to:


I tested this in Firefox, Chrome, and even in Lynx, and it happens all the same. Using Apache 2.2.22, on Arch Linux.

share|improve this question

closed as too localized by Gilles, Michael Mrozek Feb 23 '12 at 7:12

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

We would need to see your Apache configuration file. But I have a feeling this question should be on serverfault. – n0pe Feb 13 '12 at 17:56
This question cannot be answered without knowing the Apache configuration. – Gilles Feb 17 '12 at 8:38
Additionally, it would be helpful if you would post the results of a manual HTTP conversation with the server. – Warren Young Feb 17 '12 at 10:08
up vote 1 down vote accepted

You could check :

  • your routing tables to localhost host
  • your /etc/hosts file
  • your access/error Apache log and see if the request gets in Apache, or forwarder by the OS beforehand
share|improve this answer
Turned out to be .htaccess file of the directory above the one in question. – user Feb 18 '12 at 3:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.