Options -Indexes +FollowSymLinks +ExecCGI These worked for me, including themes, which would not load before, on a symlinked container outside public_html w/ a cpanel subdomain in bluehost:Įnsure /sites/default/settings.php points at the full pathname of your subfolder.Įnsure apache is confiugred (post vhost conf ) with: # SPLENDID PUBFILE IDEBUGGED BY: Bitnami Drupal Stack / WHM - LupineDream This may seem obvious, but it is easy to miss because the redundancy doesn't cause problems until you use sophisticated programs like the fb modules. Don't include your subfolder in your settings.php Base URL. htaccess file in the public HTML root (one folder above the subfolder) do the redirecting. To prevent an infinite redirect loop with sophisticated external connection applications and other errors, let the. See #2515054: Session and other cookies may leak to other apps when Drupal is in a subdirectory for details. $cookie_domain = ".ini_set('okie_path', '/subfolder/') īe aware that there is a danger of cookie data leaking to other sites. You'll also need to add some cookie settings. In sites/default/settings.php, you will have: $base_url = '' // NO trailing slash!ĭON'T list the base URL as $base_url = '' If they're redundant, you'll get an infinite loop during certain tasks. htaccess file isn't redundant with the settings.php (in sites/default/) $base_url line. You'll need to make sure that the redirect-to-subfolder command in your domain's. htaccess in your domain's public HTML root to redirect requests for pages, as instructed here: Often, you'll want to make it look like the subfolder is the base URL.
When you're on a shared host like Lunarpages, you'll sometimes need to install drupal in subfolder.