[Debian Wiki] Update of "BOINC/ServerGuide/Initialisation" by SteffenMoeller

Debian Wiki debian-www at lists.debian.org
Sun Sep 1 19:46:23 UTC 2013


Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Debian Wiki" for change notification.

The "BOINC/ServerGuide/Initialisation" page has been changed by SteffenMoeller:
https://wiki.debian.org/BOINC/ServerGuide/Initialisation?action=diff&rev1=12&rev2=13

Comment:
Introduced trouble shooting section as proposed by Jens.

  
  If the home page does not show up then there may be some missing file or some bogus file permission. The inspection of "/var/log/apache/error.log" should bring sufficient insights to fix the issue. The image shows a URL with a ":8080", which indicates the browser to ask for the page at a different port than the default ":80". For doing so, add a virtual host configuration in above  httpd.conf of your project. The [[http://httpd.apache.org/docs/2.2/vhosts/examples.html|Apache Documentation]] explains vividly how to do so.
  
+ === Trouble shooting ===
+ 
+ ==== Ensuring PHP is enabled, not only installed ====
+ 
+ If you see a page but that looks weird, then PHP may not be executed on that page but the source of the file is shown directly. To enable it, perform {{{
+ cd /etc/apache2/mods-enabled
+ sudo ln -s ../mods-available/php5.* 
+ }}}
+ 
- === Showing index.php by default ===
+ ==== Showing index.php by default ===-
  
  {{attachment:boinc_test_project_freshly_generated_status_page.jpg||align="right",width=400}}
  
@@ -302, +311 @@

  
  Perform {{{sudo /etc/init.d/apache2 reload}}} after the change. Once PHP is properly configured, all dynamic web pages, including for accessing the database and message boards will run. You can also get your own account, just the pages all look ugly and unpersonal, still.
  
- {{{#!wiki comment
- I never had the above issue with a standard installation of apache2 and php, this should be moved to FAQ or Troubleshooting. -- ChristianBeer
- Fine with me! -- SteffenMoeller
+ ==== Ensure compatibility with extra security of Apache 2.4 ====
+ 
+ Apache gained some extra security by not allowing access to files outside /var/www in its default configuration. To overcome this, add the line {{{
+ Require all granted
  }}}
+ to both directory instructions at /etc/apache2/sites-enabled/sleep.httpd.conf. This should already be addressed by later versions of the boinc-server-maker package.
+ 
  
  === Substituting ProjectName in *.html and *.php ===
  



More information about the pkg-boinc-commits mailing list