kaiux

FreeBSD userdir issue

Jul 13th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. ------ HTTP.conf -----
  2. ...
  3. #LoadModule negotiation_module libexec/apache24/mod_negotiation.so
  4. LoadModule dir_module libexec/apache24/mod_dir.so
  5. #LoadModule imagemap_module libexec/apache24/mod_imagemap.so
  6. #LoadModule actions_module libexec/apache24/mod_actions.so
  7. #LoadModule speling_module libexec/apache24/mod_speling.so
  8. LoadModule userdir_module libexec/apache24/mod_userdir.so
  9. LoadModule alias_module libexec/apache24/mod_alias.so
  10. #LoadModule rewrite_module libexec/apache24/mod_rewrite.so
  11. LoadModule php5_module libexec/apache24/libphp5.so
  12. ....
  13. # Language settings
  14. #Include etc/apache24/extra/httpd-languages.conf
  15.  
  16. # User home directories
  17. Include etc/apache24/extra/httpd-userdir.conf
  18.  
  19. # Real-time info on requests and configuration
  20. #Include etc/apache24/extra/httpd-info.conf
  21. ....
  22. Include etc/apache24/Includes/*.conf
  23.  
  24. #### for PHP
  25. <FilesMatch "\.php$">
  26. SetHandler application/x-httpd-php
  27. </FilesMatch>
  28. <FilesMatch "\.phps$">
  29. SetHandler application/x-httpd-php-source
  30. </FilesMatch>
  31. _END_OF_FILE
  32. ------- /usr/local/etc/apache24/extra/httpd-userdir.conf --------
  33.  
  34. #
  35. <Directory "/home/*/public_html">
  36. AllowOverride FileInfo AuthConfig Limit Indexes
  37. Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
  38. Require method GET POST OPTIONS
  39. php_admin_value engine On
  40. </Directory>
Add Comment
Please, Sign In to add comment