Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
"http://domain.com/subdirectory" vs "http://subdomain.domain.com"
This is kinda weird....
Set up vanilla, and all is well, when using the URL scheme:
"http://domain.com/subdirectory"
When I use the URL scheme:
"http://subdomain.domain.com"
I get an HTML-only version of the vannila system. Everything is there, but the frames
are not there, so things are a bit screwed up. The "panel" information is at the top,
and the rest of the "index.php" page contents are below. Everything appears as
"static html".
The subdomain points to the same directory in the webserver, of course.
Hosted on GoDaddy - do they perhaps have an issue with their linux/apache/php ?
0
This discussion has been closed.
Comments
I had installed using the /subdirectory structure. Later I decided to switch to the subdomain.domain.com structure. All frames gone.
The quickest solution for me was to do a clean install (e.g. 1. deleting/re-adding the MySQL dB 2. removing/re-installing Vanilla). The forum wasn't live so I didn't have to worry about losing data otherwise I would have backed up the dB first.
Everything was fine after that.
Re: vaz comment, I'm sure there's a more elegant solution, I just didn't want to spend more time on it.
Lars
You might be able to modify Vanilla to work with both, but I bet it'd be much easier to redirect the subdirectory to the subdomain, or vise versa.
If you have access to phpMyAdmin, you'll need to navigate over to the LUM_Styles table and fix the relative paths of the themes to reflect their current location. Vanilla is obviously attempting to pull them from the old location that's why you don't see the CSS styles applied.
Huh? Clearly, either this is a new and highly speculative use of the term "relative" to which
I have hitherto not been exposed, or I have gone all this time with a massively defective
understanding of "relative" paths.
Let me try again:
1) Index.php lives in the topmost directory that vanilla can access, or needs to know about
2) Everything else is BELOW the directory in which vanilla.php lives
3) If vanilla were installed in the root directory of a webserver, it would work fine, so the "path" could be "/"
4) Domains ain't paths. Domains get one to a specific directory in some cases, but this would be the "/" for that domain.
5) Domains end in things like ".com", ".org", and so on. They are followed by a slash if the URL is specific to content.
So what's the difference between two URLs that point to the SAME directory, given a single copy of vanilla, a single database,
and the only difference being in the domain part of the URL:
"http://domain.com/subdirectory"
vs
"http://subdomain.domain.com"
Given that "http://subdomain.domain.com" points to "subdirectory" within "http://domain.com",
and that "subdirectory" is where index.php lives, along with all the subdirectories one expects when
running vanilla?