Difference between revisions of "Lamp Server Notes"
From OpenEMR Project Wiki
(→Files) |
|||
Line 41: | Line 41: | ||
<br><br> | <br><br> | ||
=====Configuration File - Directory DIrectives===== | |||
{| style="margin: 0 0em 0 0em;" | |||
|- | |||
| width="250" | <tt style="font-size: 130%">Options None</tt> | |||
| width="400" | | |||
|- | |||
| <tt style="font-size: 130%">Order deny, allow</tt> | |||
| Order of deny, allow directives. | |||
|- | |||
| <tt style="font-size: 130%"><Directory /var/www/html><br>Deny from all.</tt> | |||
| Deny request from everybody. | |||
|} | |||
==MySQL Notes== | ==MySQL Notes== |
Revision as of 13:17, 27 May 2014
Apache Notes
Files
/etc/apache2 | Config File |
/usr/share/doc/apache2-doc | Apache2 Manual. |
/var/www/html | Default http home directory. |
Commands
apache2 -v | Display apache version. |
Configuration File Settings
ServerSignature Off | Suppress identification of the Apache version. |
ServerTokens Prod | Suppress identification of OS. |
<Directory /var/www/html> Options -Indexes </Directory> |
Turn off directory listing. |
Configuration File - Directory DIrectives
Options None | |
Order deny, allow | Order of deny, allow directives. |
<Directory /var/www/html> Deny from all. |
Deny request from everybody. |
MySQL Notes
PHP Notes