File Layout
Advanced PHP
2024-11-15
18
Keep it simple!
•
All files (.html/.php/.inc) with HTML under $DOC_ROOT
•
All non-HTML files, somewhere else
No direct access to .inc
<Files ~ "\.inc$">
Order allow,deny
Deny from all
</Files>