Koozali.org: home of the SME Server

sites that don't exist point to sme's main page

Offline funkusmunkus

  • *
  • 220
  • +0/-0
sites that don't exist point to sme's main page
« on: July 19, 2004, 09:27:18 AM »
Hi all,

I just thought this was weird, someone was trying to look at a webpage that didn't exist, and they ended up at the primary web page on the server, and later on he tried a different page and same thing happened agian.
now  i'm not sure if this is a problem at the moment(as it only happened to sites that don't exist), just wanted to know if someone else had this happen before?
i'm running sme 5.6 u6
Cheers
.........

thowden

sites that don't exist point to sme's main page
« Reply #1 on: July 22, 2004, 12:16:35 AM »
Hi

It will be within your apache config. Did you set up any  template mods to /etc/httpd/conf/httpd.conf ?

Offline funkusmunkus

  • *
  • 220
  • +0/-0
sites that don't exist point to sme's main page
« Reply #2 on: July 23, 2004, 01:26:30 AM »
Ahh my dear friend tony from whirlpool :)
I have already checked the httpd.conf file and (with little knowlage i have) found nothing that would point to the cause.

oh yeah by the way i still haven't got OWA working, i used proxypass and other contribs and no joy, but now i'm trailing off in another direction :P

Cheers
.........

thowden

sites that don't exist point to sme's main page
« Reply #3 on: July 23, 2004, 05:19:52 AM »
Hi

Did you say that the user was checking a page that doesn't exist or a site that doesn't exist ?

If its the site url that is wrong i.e

http://avirtualdomain.com/

instead of

http://www.avirtualdomain.com  

then the former will default to the primary web site as the httpd.conf has not been instructed to re-route it, only the www hostname.

An invalid file name however, should just simply report the appropriate error message, i.e. a 404 file not found. If its not, then there must be some variation to the httpd.conf file probably via a template modification. Check

/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf

directory and see whats in there, if anything.

Offline funkusmunkus

  • *
  • 220
  • +0/-0
sites that don't exist point to sme's main page
« Reply #4 on: July 23, 2004, 07:33:10 AM »
Hey Tony,

well what actually happened was someone here tried to go to a site they beileved existed it was http://www.mainroads.com.au/
but to their surprise it came up with the primary web page, and after a few hours the same person tried another site that i can't recall at the moment(again thinking that it existed, but it didn't) and the same thing happened, now i can't replicate that if i try going to a site that doesn't exist, so that's why i was asking.

And i didn't see anything unusual in the templates.
as long as they're sites that don't exist then i'm happy.
.........

Offline raem

  • *
  • 3,972
  • +4/-0
sites that don't exist point to sme's main page
« Reply #5 on: July 23, 2004, 11:07:42 AM »
I just tried going to that URL (http://www.mainroads.com.au/) and I also get the main domain home page, using a local sme v5.6 server, so perhaps that behaviour is normal.

Mind you, www.mainroads.com resolves to a suprising page (http://www.prostitutas.com/), hijacked site ? or perhaps deliberate ?
...

Offline funkusmunkus

  • *
  • 220
  • +0/-0
sites that don't exist point to sme's main page
« Reply #6 on: July 24, 2004, 02:08:06 AM »
Thanx Ray for testing it out, at least i know it's not something wrong with the server here.

I just found it odd since it only happened when i tried that site but i couldn't replicate it with another bogus site.
Cheers
.........

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
sites that don't exist point to sme's main page
« Reply #7 on: July 24, 2004, 02:35:02 PM »
just tried the .com.au site on version 6.01, got the usual "this page cannot be displayed".  So it could be limited to vs 5.6?
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.