Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: piedie on October 09, 2007, 01:08:40 PM
-
Hi there!
We have an SME server for our network and a dedicated webserver somewhere else for the website. But for some filesharing application, i also wanted to use the SME server as webserver. I also use this for the personnel e-mail.
So I created some subdomains on the dedicated server, and changed the DNS to point to my SME Server. In Server Manager i created the subdomain and choose what i-bay i wanted to link to it. For the personnel this works great, but the filesharing-system suddenly shows without any markup or layout.
When i enter 892.199.919.919/filesharing it works great, but when I try to use files.ourdomain.nl is does show, but without layout.
Do you have any idea what could cause this?
(Example working (http://81.204.139.66/bestand/)) (Example not working (http://bestand.defilmboulevard.nl/))
-
have you tried not using relative links - currently your css info is coming from this tag:
<style type="text/css" media="all">@import "/bestand/_themes/Office 2007 Dark/style.css.php";</style>
or
/bestand/_themes/Office 2007 Dark/style.css.php
can you alter the source to pull from fully qualified:
http://bestand.defilmboulevard.nl/bestand/_themes/Office 2007 Dark/style.css.php
It will be something along these lines... Not an expert so can't tell why this is happening, but something to work on. :-?
-
You were almost right, but thank you very much anyway, because of your post I started to look in the locations in the script.
In config-file there was a basedir-setting, and it was set to /bestand/. That is why it worked when I used /ip/bestand, but not when i used the subdomain, because bestand.url.nl/bestand didn't exist. When I set BASEDIR to '/', it worked fine. (Now for the same reason reversed, the direct IP-call doesn't work anymore, but that is not a problem!)
Thanks!