Drupal Multi Site Virtual Host Replacements Config
-
Hey Guv,
1. I'm counting four instances of domain.com in the nginx sites-available, you had mentioned there were only two?Access Log
Error Log
Root of the rewrite function
Fastcgi_paramSo do i replace all of these? I'm going to try it, but just wanted to ask.
http://vpsbible.com/content-management/drupal-nginx-multi-domains/2. And last, I noticed a couple instances where you wrote out he command for restarting nginx as:
'sudo /etc/init.d/nginx/restart'
This doesn't work for me, but removing the backslash between nginx and restart fixes the problem.
'sudo /etc/init.d/nginx restart'
Did i set something up wrong?
3. Last when setting permissions for multi site install:
'chown -R www-data:www-data /home/public_html/domain.com/sites/anotherDomain.com'
Should there be a /public/ added? I felt like if I followed the first drupal installation tutorial the command should be:
'chown -R www-data:www-data /home/public_html/domain.com/public/sites/anotherDomain.com'
Posted 2 years ago # -
hi Joe,
hands up, guilty as charged!
1. yes, four instances of domain.com, replace all four
2. yes, sudo /etc/init.d/nginx restart is correct, I had a spell error
3. yes, damn i feel shoddy! needed public in the path... thank you for bringing those errors to my attention, appreciated. all changed on the tut.
Posted 2 years ago #
Reply
You must log in to post.
Want HTML?
a blockquote code em strong ul ol liPlace code between backticks `codeHere`
You've got it.
