WebFaction
Community site: login faq

I created an AWStats app and then associated it with my website record located at /awstats. That worked and I could login to the app and see stats. However, my main site is a drupal site associated with / for my domain. For some reason my main index page displayed fine from drupal but if I clicked a link to read a story it would throw a 500 error. Removing /awstats from the website allowed the drupal served app to function correctly. What could be causing this?

asked 27 May '11, 09:37

bradrice
151712
accept rate: 0%


Our control panel configures your document root a bit differently if you have multiple apps assigned to your site. The 500 error is probably related to that, and can usually be resolved by setting (or uncommenting) the RewriteBase in your Drupal app's .htaccess file. Since you're running Drupal at the root of your site, the setting you'll need is:

RewriteBase /

Hope that helps!

permanent link

answered 27 May '11, 11:18

seanf
12.2k41836
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:

×63
×37
×18

question asked: 27 May '11, 09:37

question was seen: 22,893 times

last updated: 27 May '11, 11:18

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 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