part 2 apache socket binding and htaccess

default port 80
binding facilitate virtual hosting
bindings are tagged to virtual host containers
Listen - key directive
grep -i listen #across apache config
on debian system check ports.conf

#bind to alternates ports



HTACCESS

-on demand configuration  updates to your sites managed by Apache
-substitute for "<Directory></Directory>" directives
-configure per directory options
-indirect site control via ftp,sftp etc
-

Options +Indexes
<Files *xls>
Order allow,deny
allow from 127.0.0.127 192.168.0.12/24
</Files>


Redirect /docs http://facebook.com

 

No comments:

Post a Comment