Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
I am a brand spanking new user, and I have searched the forums for assistance, and I suspect that it is my ignorance of programming that is preventing me from doing the following. Any assistance, as well as any links to "Drupal for the well-intentioned, eager clueless" type sites would be greatly appreciated.
All the post and documentation I on multiple site setups seem to use DNS. I am wondering how to do this with paths on my machine (localhost). The closest answer I've found is this comment: http://drupal.org/node/20663#comment-56221
but here he is very creatively using virtual hosts and the hosts file to "fake" dns. I want to use just paths if I can or symlinks if necessary
The second part of the question is does each subsite get it's own admin settings? If not how do I choose themes and modules for the subsite.
Basically here is what I am looking for (I'm running OS X with Apache 1.3.x, PHP 5 and Mysql 4):
/Library/Webserver/Documents -- apache document root or http://localhost
------/Library/Webserver/Documents/pages -- Drupal 4.6.4 root or http://localhost/pages - default site will be here
------ ------ /Library/Webserver/Documents/pages /subsite1 -- subsite 1 root at http://localhost/pages/subsite1
------ ------ /Library/Webserver/Documents/pages /subsite2 -- subsite 2 root at http://localhost/pages/subsite2
etc ......
My latest attempt is set up the sites folder as follows:
sites/default -- settings.php set up with own db and base_url of http://localhost/pages
sites/localhost.subsite1 -- settings.php set up with own db and base_url of http://localhost/pages/subsite1 - has its own theme folder
sites/localhost.subsite2 -- settings.php set up with own db and base_url of http://localhost/pages/subsite2 - has its own theme folder
I'm sure it's simple but can't quite work it out from the docs - I just need to be able to access the uid of the current user from within a PHP script in a content page.
I would like to have affiliates post links to sites they are member off (like downline sites) and have them promote their affiliate drupal link (still don't know how to work the affiliate.module).
Whenever someone becomes part of my drupal based site through the affiliate, they are then able to sign up with their specific affiliate userid's from other downline sites under their upline affiliate.
Is there a way to do this with an existing module??
For some reason i can't get my non-drupal sites (subdirectory) to work under my main drupal site.
The error is an 500 server error, not specifying what the problem is.
Is there something in the .htaccess i need to change?