Personally I store the source files to all websites that I am working on inside a Sites folder in my home directory. New: LoadModule php7_module libexec/apache2/libphp7.soĬhange the default location for our projects old: #LoadModule php7_module libexec/apache2/libphp7.so It is as easy as uncommenting LoadModule php7_module libexec/apache2/libphp7.so. That being so our server surely needs to know how to deal with. New: LoadModule rewrite_module libexec/apache2/mod_rewrite.so old: #LoadModule rewrite_module libexec/apache2/mod_rewrite.so Uncomment LoadModule rewrite_module libexec/apache2/mod_rewrite.so. Wouldn’t it be cool to simplify it to /about? This is the reason why we need to explicitly enable it. In the case of WordPress we will more likely see something like /?p=1. For example the URL to a page about your company may end up being /about.php. New: Include /private/etc/apache2/extra/nfīy default mod_rewrite follows the filesystem path. Old: #Include /private/etc/apache2/extra/nf New: LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so old: #LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so To enable it uncomment LoadModule vhost_alias_module libexec/apache2/mod_vhost_alias.so and Include /private/etc/apache2/extra/nf inside your Apache configuration file. Virtual Host is a term that describes exactly this functionality. somewebsite.localhost or anotherone.localhost). There is a chance that you are going to work on multiple WordPress projects in the future and it would be cool to access them via custom domains (i.e.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |