Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Unable to get Vanilla 2 in a subdirectory (eg /forum)

Hello,

Vanilla 2 is looking nice. We'd like to give it a spin, but can't seem to get it installed outside of the server root. We are attaching it to an existing site, so would like to place it in forums.

Looking at the debug log, it is looking for libraries in the root, even though the path is set to forum.

Does anyone have it working in a subdirectory?

We are able to get the same install working if placed in the webserver root.

Any pointers, or is this still too early?

Comments

  • side note: for some reason when i sign into vf.org this discussion disappears. I cant find it. I have to sign out, click into the discussion and login to stay on the page

    anyways.. i am still unable to install v2 on a subdirectory. i can install on a sub-domain though. I think this is a known issue. What ive done, though my vanilla isnt live yet.. i have the sub-directory redirected to the subdomain. so going to site.com/vanilla redirects to vanilla.site.com ... not preferred but works
  • http://anglolinguist.com/forum/index.php/

    i can ... just cannot resolve the Mod_Rewrite to remove the /index.php/ bit. What is your error page? Maybe post your config.php up so we can have a look.
  • Edit the .htaccess file and add RewriteBase /forum or whatever your subdirectory is. You can nest it as deep as you want you just have to update the RewriteBase path.
  • I had a similar problem but with WordPress in the mix. Here is how I ended up solving it:

    http://vanillaforums.org/discussion/10752/invite-and-base-url-404s/#Item_9
  • formloves thanks a Mole! You just solved my problem by this magic line

    RewriteRule ^$ index.php/$1
Sign In or Register to comment.