![]() SSLCertificateKeyFile /Users/your_username/Sites/certs/server. SSLEngine on SSLCertificateFile /Users/your_username/Sites/certs/server.crt Options Indexes FollowSymLinks AllowOverride All Require all granted Include /private/etc/apache2/extra/nfĭocumentRoot /Users/your_username/htdocs/ĮrrorLog /Users/your_username/Sites/logs/ĬustomLog /Users/your_username/Sites/logs/ varnishcombined IncludeOptional /Users/your_username/Sites/*.confĬustomLog “/Users/your_username/Sites/logs/apache2/access_log” commonĮrrorLog “/Users/your_username/Sites/logs/apache2/error_log” # Include /private/etc/apache2/other/*.conf # As with content, we want to load all site definitions from a Sites folder in our htaccess # I've removed all the comments for succinctness but feel free to leave them in DocumentRoot "/Users/your_username/htdocs" # Point the document root to a htdocs folder in your home directory and enable. LoadModule rewrite_module libexec/apache2/mod_rewrite.so LoadModule headers_module libexec/apache2/mod_headers.so LoadModule expires_module libexec/apache2/mod_expires.so # A few extras I like to have enabled LoadModule deflate_module libexec/apache2/mod_deflate.so LoadModule php7_module 7.1/lib/httpd/modules/libphp7.so LoadModule ssl_module libexec/apache2/mod_ssl.so # Enable the PHP and SSL modules by removing the # at the start of the line LoadModule socache_shmcb_module libexec/apache2/mod_socache_shmcb.so OSX 10.15 Catalina comes (at the time of writing) with Apache 2.4.41.īrew link -overwrite -force 7.3 # Open nf for editing
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |