Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ------ HTTP.conf -----
- ...
- #LoadModule negotiation_module libexec/apache24/mod_negotiation.so
- LoadModule dir_module libexec/apache24/mod_dir.so
- #LoadModule imagemap_module libexec/apache24/mod_imagemap.so
- #LoadModule actions_module libexec/apache24/mod_actions.so
- #LoadModule speling_module libexec/apache24/mod_speling.so
- LoadModule userdir_module libexec/apache24/mod_userdir.so
- LoadModule alias_module libexec/apache24/mod_alias.so
- #LoadModule rewrite_module libexec/apache24/mod_rewrite.so
- LoadModule php5_module libexec/apache24/libphp5.so
- ....
- # Language settings
- #Include etc/apache24/extra/httpd-languages.conf
- # User home directories
- Include etc/apache24/extra/httpd-userdir.conf
- # Real-time info on requests and configuration
- #Include etc/apache24/extra/httpd-info.conf
- ....
- Include etc/apache24/Includes/*.conf
- #### for PHP
- <FilesMatch "\.php$">
- SetHandler application/x-httpd-php
- </FilesMatch>
- <FilesMatch "\.phps$">
- SetHandler application/x-httpd-php-source
- </FilesMatch>
- _END_OF_FILE
- ------- /usr/local/etc/apache24/extra/httpd-userdir.conf --------
- #
- <Directory "/home/*/public_html">
- AllowOverride FileInfo AuthConfig Limit Indexes
- Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
- Require method GET POST OPTIONS
- php_admin_value engine On
- </Directory>
Add Comment
Please, Sign In to add comment