Kaerius

multicraft.conf

Oct 14th, 2013
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. Alias /multicraft /usr/share/multicraft/
  2. <Directory /usr/share/multicraft/>
  3. <IfModule mod_authz_core.c>
  4. # Apache 2.4
  5. <RequireAny>
  6. Require ip ALL
  7. Require ip ::1
  8. </RequireAny>
  9. </IfModule>
  10. <IfModule mpm_itk_module>
  11. AssignUserID apache apache
  12. </IfModule>
  13.  
  14. <IfModule !mod_authz_core.c>
  15. # Apache 2.2
  16. Allow from ALL
  17. Allow from ::1
  18. </IfModule>
  19. AllowOverride All
  20. RemoveHandler .php
  21. AddType application/x-httpd-php .php
  22. php_admin_value upload_tmp_dir /tmp
  23. php_admin_value session.save_path /tmp
  24. php_admin_value safe_mode off
  25. DirectoryIndex index.php
  26. Order allow,deny
  27. Allow from all
  28. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment