Comments (4)
Ah! I created this project a long time ago (when I just started out using Git). It's actually in a different branch (called provision_subsite). I know it's bad, but I've never actually polished it enough to get feedback.
Regarding RewriteBase, I think at the time I simply didn't fix it (i.e. I just had an AllowOverride all).
It was a very rough job, hence why I eventually abandoned it.
from hosting_subsite.
Regardless, the approach in http://drupal.org/documentation/install/multi-site#symlink would actually work, provided the 'q' is correctly rewritten for Drupal 6, (EDIT) because Drupal core will look for the right site folder.
What was wrong with RewriteBase?
from hosting_subsite.
Thanks. My issue is that I need all sites to appear as a 'subfolder' of a single domain. So they are all on the one platform, symlinks are in place as per that doc. And the rewrite rules/alias need to exist outside of the vhost of each site, since those sites have their own 'dummy' subdomain ServerName and therefore the rules would be ignored for example.com
Going to example.com/foobar works thanks to the Alias. But going to example.com/foobar/user/password doesn't bootstrap and I get the /install.php page. This is the case unless the vhost snippet looks like this:
http://pastie.org/private/5pwoxua0zfqf6ijqcmttw
But problem is you can't have several RewriteBase within the same per site, because it's a common directory base, so they overlap/overrule each other.
Thanks anyway!
from hosting_subsite.
The module currently does symlinks. Problem is: you never know what you're symlinking.
I thought one could just rewrite the URI to end up in the original index.php. However that wouldn't actually work for Drupal 6 since Drupal bootstrap looks at the script name.
from hosting_subsite.
Related Issues (1)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hosting_subsite.