Apache Server configuration support - rogue redirection

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > November 2006 > rogue redirection





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author rogue redirection
c mcgarry

2006-11-30, 1:18 pm

Hello
For several years I've had a local site on apache with easyphp and the
mirror of it on the internet.
Since today if I call up http://localhost the browser goes straight
to www.cpmac.com/catalog not even just www.cpmac.com
If I put http://localhost/index.php3 I get my site on local.
In my directory www the only index file is index.php3.
Any ideas about where to look for the reason?

cpmac
shimmyshack

2006-11-30, 1:18 pm

"since today" makes it sound as if you didnt do anything to the conf!
since http://localhost/index.php3 goes to your local then the DNS is
fine.
that means the http://localhost also goes to your local machine. I
suggest looking at any .htaccess files you have in root, or at your
conf for the term "ReWriteRule" this should be enough to help you find
the problem.


c mcgarry wrote:
> Hello
> For several years I've had a local site on apache with easyphp and the
> mirror of it on the internet.
> Since today if I call up http://localhost the browser goes straight
> to www.cpmac.com/catalog not even just www.cpmac.com
> If I put http://localhost/index.php3 I get my site on local.
> In my directory www the only index file is index.php3.
> Any ideas about where to look for the reason?
>
> cpmac


c mcgarry

2006-11-30, 7:25 pm

I had been experimenting with htaccess on the web site and had parked
some files on my hard disk to move between directories on the web. I'd
looked at htaccess files in and around www but found nothing.
After your post I searched F: for htaccess. There are about 20. The
culprit was in F:/ with a redirect to www.cpmac.com/catalog.
Thanks for the tip.

cpmac


shimmyshack a écrit :
> "since today" makes it sound as if you didnt do anything to the conf!
> since http://localhost/index.php3 goes to your local then the DNS is
> fine.
> that means the http://localhost also goes to your local machine. I
> suggest looking at any .htaccess files you have in root, or at your
> conf for the term "ReWriteRule" this should be enough to help you find
> the problem.
>
>
> c mcgarry wrote:
>

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2009 webservertalk.com