Koozali.org: home of the SME Server

Primary Ibay web site not working properly

arrowsmith midwest

Primary Ibay web site not working properly
« on: January 18, 2007, 07:25:14 AM »
I have been running a Web server on SME 6 for for years, it's been great.  I was looking into doing more with with, but reading around, it looked as if I need SME 7 to do a few things i want to try out.

So i ran a new box up, setup it up with SME 7, made all settings identical to my SME 6 box, copied my primary ibay over from the old box to the new one.  

(My HTML code should not have a problem with this as any references to paths are relative, not server specific if you know what i mean.)

But on my new SME 7 box, it's doing things like not finding downloads, logs say file not found, but the file is definatly there, has right permissions, the right upper/lower case etc.  And my site in general seems a bit flaky, just different, more fussy over everything and my code etc.

But right now my main issue is page not found when trying to download files, when the file is blatently there!!!

Any idea's???

Thanks

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Primary Ibay web site not working properly
« Reply #1 on: January 18, 2007, 09:00:28 AM »
Quote from: "arrowsmith midwest"
I have been running a Web server on SME 6 for for years, it's been great.  I was looking into doing more with with, but reading around, it looked as if I need SME 7 to do a few things i want to try out.

So i ran a new box up, setup it up with SME 7, made all settings identical to my SME 6 box, copied my primary ibay over from the old box to the new one.  

(My HTML code should not have a problem with this as any references to paths are relative, not server specific if you know what i mean.)

But on my new SME 7 box, it's doing things like not finding downloads, logs say file not found, but the file is definatly there, has right permissions, the right upper/lower case etc.  And my site in general seems a bit flaky, just different, more fussy over everything and my code etc.

But right now my main issue is page not found when trying to download files, when the file is blatently there!!!

Any idea's???

Thanks
Are there any routers/firewalls in between your access point and the server? If so did you configure them correctly? Can you access this machine from your local network at http://ip-number or http://hostanme?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

arrowsmith midwest

Primary Ibay web site not working properly
« Reply #2 on: January 18, 2007, 09:04:38 AM »
I have not forwarded anything from my router to this server yet, as it is still pointing port 80 to my SME 6 box.

At this moment in testing stages, i am ONLY accessing it locally using local IP address or local server name.

It works fine that way for 6 so i pressume it works fine accessing it locally from 7.

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Primary Ibay web site not working properly
« Reply #3 on: January 18, 2007, 09:57:12 AM »
Hi

Has been some change in PHP configuration from 6.x to 7.x.
If I remember correctly that is on RegisterGlobals or something like that.

It´s your site a plain HTML? I bet it uses PHP    ;)

If you need more help, try to paste here exact error message, ls -la from directories showing permissions and other info you think we can need.



Jáder
...

Offline mercyh

  • *
  • 824
  • +0/-0
    • http://mercyh.org
Primary Ibay web site not working properly
« Reply #4 on: January 18, 2007, 06:52:57 PM »
I had exactly the same problem on an upgrade. The site I was hosting on primary used dynamic php content. There is an option in server-manager to allow this on secondary Ibays but not on the primary ibay. I worked around it by adding another ibay, setting it to allow dynamic content, using it to host the website and not using primary to host a website.

arrowsmith midwest

Primary Ibay web site not working properly
« Reply #5 on: January 19, 2007, 01:35:13 AM »
No it is all basic html.


Here is the log file.

[Fri Jan 19 08:58:29 2007] [warn] RSA server certificate CommonName (CN) `servername.domainname.com.au' does NOT match server name!?
[Fri Jan 19 08:58:29 2007] [notice] Digest: generating secret for digest authentication ...
[Fri Jan 19 08:58:29 2007] [notice] Digest: done
[Fri Jan 19 08:58:31 2007] [warn] RSA server certificate CommonName (CN) `servername.domainname.com.au' does NOT match server name!?
[Fri Jan 19 08:58:32 2007] [notice] Apache configured -- resuming normal operations
[Fri Jan 19 09:00:44 2007] [error] [client 192.168.0.31] File does not exist: /home/e-smith/files/ibays/Primary/files/download.exe, referer: http://servername/downloads.htm
[Fri Jan 19 09:00:53 2007] [error] [client 192.168.0.31] File does not exist: /home/e-smith/files/ibays/Primary/files/download.exe, referer: http://servername/downloads.htm



And a ls -la output:

-rwxrwxrwx  1 admin shared      657 Jan 18 10:58 downloads.htm
-rwxrwxrwx  1 admin shared 13335609 Jan 18 10:58 download.exe

777 just for proof it's not permissions.