Categories Menu
Repair Center
24 hours online support we repair all types of laptops and relating to LCD screen,motherboard, DC adapter, power supplies and so much more! The shop reliable laptop repair in Ottawa area since 1995. Repair your laptop as easy as 1-2-3 !
computer_25
Services for your location
Run multiple sites from the same code base (multi-site)
print
report error
add to favorites
write a review
send to friends
suggest a topic
register
link like this:
ls -s drupaldir subdir

and name your site folder localhost.subdir.
Domain name changes

Once a site is in production in a particular subdirectory under the sites directory, the subdirectory should not be renamed, even if the Web site URL changes. This is because several database tables (for example: system and files) include references to "sites/www.mydomain.com." Instead of renaming the sites directory, you can create a symlink to the new URL from the old one. Navigate to the sites directory and then use the following command:
$ ln -s /path/to/drupal/sites/old.domainname.com new.domainname.com
Security Concerns

You might want to reconsider using Drupal's multi-site configuration, in situations where the administrators for all of the sites being run from the same code base are not either the same person or a small group with a high level of mutual trust. The reason is that anyone with full administrative privileges on a Drupal site can execute arbitrary PHP code on that site through various means (even without FTP access to the site), and that arbitrary PHP code could be used from one site to affect another site, if the two sites are in the same HTTP document root and sharing the same Drupal code.

So, unless you completely trust all of the administrators of the sites you are considering running from the same Drupal code base to be knowledgeable, careful, and not malicious, you might want to consider installing their Drupal sites in completely separate areas of the web server that are not able to affect each o
Other newly Articles from the Multimedia, Network ,Wi-Fi and Web - Web Guide / Internet Category:
  1. Run multiple sites from the same code base (multi-site)
  2. How to repair hijacked and juggled IE homepage?
  3. Unscramble Facebook—from design principle to architecture system
  4. MSN error codes(1)
  5. How to disable Back button in Internet browser
  6. Trick To Increase Browsing Speed for IE and Firefox
  7. How to Avoid False or Misleading Internet Advertising
  8. Internet Explorer Freezes Up
  9. How to Create Multiple User profiles in FireFox on Mac OSX
  10. How to Limit internet access to users?
  11. How to Change the Font size of Web page?
  12. 8 tips for handling email effectively
  13. Add and remove Internet Explorer 8 add-ons
  14. How to Speed Up a Slow Internet Connection
  15. How to Fix Broken and Slow Tab Issues in Internet Explorer 8
Custom Search
Examples: HP,laptop Rapair,LCD,DC Backlight,Inverter,solder
Article Comment:Replies(0)Views
Name(required):        Email(required):  
Verify: key
Use the above information at your own risk
Loading ... Loading ...