WebFaction
Community site: login faq

Has anyone had any luck installing Vanilla forums on WebFaction? Although I believe my server meets all the requirements, when I try to access the setup page, I get the "ERR_TOO_MANY_REDIRECTS" message. I checked the error logs and they were all empty.

I have used the same package to succesfully install it on two separate machines running Ubuntu 16.04, so I don't believe it's a problem with the software I downloaded.

The page in question is here.

asked 06 Nov '17, 17:50

kjodle
9728
accept rate: 25%


Do you have RewriteBase defined in .htaccess? This is commonly the cause of that error on apps which use htaccess for redirects.

permanent link

answered 06 Nov '17, 22:15

johns ♦♦
5.3k212
accept rate: 23%

Thanks for taking a look at this.

Vanilla is installed in a directory in my webapps directory. After reading this, I tried setting RewriteBase to /. That didn't work.

I am getting this error, however. (I believe I was looking at the wrong log file earlier.) I tried a few variations of RewriteBase and the entire .htacess to no avail. Emptied the directory, uploaded a fresh copy, and tried again. Same results. Still stumped.

(09 Nov '17, 00:21) kjodle

The original .htaccess file as distributed is here.

The .htaccess after Vanilla has a go at it is here.

(09 Nov '17, 00:26) kjodle

I suspect the issue is the use of environment variables in your rewrite rules. Our CGI suexec setup scrubs the environment before it passes the request to PHP.

You might be able to adapt this procedure to get things working....

How do I set environment variables for PHP?

... but if that doesn't work, then you may need to use a private Apache instead of our default setup.

permanent link

answered 09 Nov '17, 17:30

seanf
12.2k31736
accept rate: 37%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×2
×1
×1
×1

question asked: 06 Nov '17, 17:50

question was seen: 6,063 times

last updated: 09 Nov '17, 17:30

Related questions

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2016 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM