There will probably be some comments and a couple of examples of blocks there. Next, open the virtual hosts file at /Applications/MAMP/conf/apache/extra/nf. MAMP PRO (Mac) Documentation > Settings > Hosts > General, Virtual Hosts # If you want to maintain multiple domains/hostnames on your # machine you can setup VirtualHost containers for them. MAMP PRO will automatically add an index.php file and a MAMP image to this location when your web server is restarted if the folder is empty. The document root is also known as the web root folder. The location of the documents (HTML/PHP files etc.) of a virtual host is called a document root. Every host can have it's own directory to store html, php files, and images. MAMP PRO (Windows) Documentation > Settings > Hosts > General, MAMP PRO uses virtual hosts to allow your web servers to serve different websites. When you do this, your host data is separated from the MAMP PRO application data. A better location for your document root folders would be ~/Sites/. Note: Do not create document root folders under your /Applications/MAMP folder. Every host can have it's own directory to store html, PHP files, and images. MAMP PRO (macOS) Documentation > Settings > Hosts > General, MAMP PRO uses virtual hosts to allow your web servers to serve different websites. etc/hosts file permission Mamp Pro MAMP PRO virtual hosts file location
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |