WebFaction
Community site: login faq

I've been trying to add a static subdomain to a drupal app, and it's going wrong, I get the 500 "Internal Redirections" error. I think this is something to do with clean URLs, in that if I turn that off in drupal/admin and comment out the 4 lines in its .htaccess the error goes away and it works.

But I want clean URLs. So, I need to add some rules to the .htaccess to take those urls out of the clean-URL rewriting and send them where they ought to go, is that right ? I'm not familiar enough with apache, can anybody help ?

later ... but hang on. Surely a subdomain URL shouldn't be hitting the main site's .htaccess in the first place ?

asked 17 Dec '13, 17:57

robinsonr
112
accept rate: 0%

edited 17 Dec '13, 18:59


Most URL redirects should be domain agnostic, and only effect the URI. We would need to see exactly which 4 lines in .htaccess you are commenting out and likely test in real-time. You might want to send us a support ticket so we can check this info directly.

permanent link

answered 17 Dec '13, 19:24

johns
5.3k312
accept rate: 23%

Yes. I'll do it tomorrow

(17 Dec '13, 19:43) robinsonr

Try setting the RewriteBase directive in your .htaccess. See this section of our documentation for more info: Error: Request exceeded the limit of 10 internal redirects

permanent link

answered 17 Dec '13, 19:36

seanf
12.2k41836
accept rate: 37%

1

Yes, that's TFM I was failing to R. Thanks

(19 Dec '13, 08:58) robinsonr
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:

×76
×63
×2

question asked: 17 Dec '13, 17:57

question was seen: 3,001 times

last updated: 19 Dec '13, 08:58

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