Difference between revisions of "Lamp Server Notes"

From OpenEMR Project Wiki
Line 52: Line 52:
| <tt style="font-size: 130%">Deny from all.</tt>
| <tt style="font-size: 130%">Deny from all.</tt>
| Deny request from everybody.
| Deny request from everybody.
|-
| <tt style="font-size: 130%">Options -FollowSymLinks</tt>
| Disable following symbolic links.
|-
| <tt style="font-size: 130%">Options +FollowSymLinks</tt>
| Enable following symbolic links.
|}
|}



Revision as of 13:30, 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.
Deny from all. Deny request from everybody.
Options -FollowSymLinks Disable following symbolic links.
Options +FollowSymLinks Enable following symbolic links.


MySQL Notes



PHP Notes



Other Packages of Interest