Carl Lowenstein wrote: >..> It looks like Karl actually found the smoking gun. There is a >> redirection setting somewhere in apache's configuration that just cannot >> possibly work from outside the local network because it redirects to a >> private address that has no meaning to external clients. >> >> You could possibly even find where as follows: >> >> sudo grep -srl "192\.168\.0\.51" /etc/httpd >> >> This would list filenames containing that IP, which could be examined >> for inappropriate redirection. As Karl says, it might take more apache >> know-how to understand the exact cause of the misconfiguration. > > Nice selection of grep flags. I would add one more -I (that's a > capital letter eye) to say that binary files default to no-match. > Verbosely that flag is "--binary-files==without-match", which seems > hard to remember. >
Yes, I have used "-srl" a lot. Now that you have pointed out -I, I may use "-srlI" a lot. Sometimes it is nice to search the binaries, but usually not. Another option I often add is (eg) --include='*.py' to specifically limit the searched files. Regards, ..jim -- [email protected] http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie
