|
Size: 301
Comment:
|
Size: 1133
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 3: | Line 3: |
| There is an Apache web server running on nodus to serve for svn web access server and generic web pages for 40m stuff. | There is an Apache web server running on nodus serving: * Remote SVN access and web interface * HTTPS wrapped ELOG * Folders in `nodus:/export/home/` |
| Line 5: | Line 8: |
| To start the server, run /cvs/cds/caltech/apache/scripts/startapache.sh. You will be asked to enter a pass phrase. It is the same password as the svn40m. |
To (re)start the server, run{{{ sudo service apache2 (re)start}}} on nodus. === Configuration === Configuration files are found in `nodus:/etc/apache2`, with the site-specific files in `nodus:/etc/apache2/sites-available` Directory indexing for the wikis is disabled, as there may be sensitive vendor information that we don't want to expose. This is done via the following lines in `/etc/apache2/sites-available/nodus`:{{{ <Directory /export/home/*iki> Options -Indexes </Directory> }}} === Warning === The above command fails sometimes with:{{{ controls@nodus|~ > sudo service apache2 start * Starting web server apache2 /var/run/lock/ already exists but is not a directory owned by controls. Please fix manually. Aborting.}}} which can be bypassed by doing:{{{ sudo chown controls lock}}} but that seems like a bug in the setup procedures. |
Apache on nodus
There is an Apache web server running on nodus serving:
- Remote SVN access and web interface
- HTTPS wrapped ELOG
Folders in nodus:/export/home/
To (re)start the server, run
sudo service apache2 (re)start
on nodus.
Configuration
Configuration files are found in nodus:/etc/apache2, with the site-specific files in nodus:/etc/apache2/sites-available
Directory indexing for the wikis is disabled, as there may be sensitive vendor information that we don't want to expose. This is done via the following lines in /etc/apache2/sites-available/nodus:
<Directory /export/home/*iki>
Options -Indexes
</Directory>
Warning
The above command fails sometimes with:
controls@nodus|~ > sudo service apache2 start * Starting web server apache2 /var/run/lock/ already exists but is not a directory owned by controls. Please fix manually. Aborting.
which can be bypassed by doing:
sudo chown controls lock
but that seems like a bug in the setup procedures.
