![]() Replace the path on DocumentRoot (e.g.: C:\MAMP\htdocs) by your new path (e.g.: C:\WebServers).Replace the current path of your DocumentRoot (e.g.: C:\MAMP\htdocs) by your new path (e.g.: C:\WebServers).Select where your new document root should be located.If this is not the case, then you should replace ‘ C:\MAMP‘ in the instructions by your own MAMP location. In these instructions I will assume that you’ve installed MAMP on its default location ( C:\MAMP). Once the Apache and MySQL servers are stopped, select Start Servers.Select Stop Servers (if they are up and running).Replace the path on DocumentRoot (e.g.: /Applications/MAMP/htdocs) by your new path (e.g.: /WebServers).Do another find on ‘DocumentRoot’ until you get to the line that says “ This should be changed to whatever you set DocumentRoot to.“.Replace the current path of your DocumentRoot (e.g.: /Applications/MAMP/htdocs) by your new (e.g.: /WebServers).Go to Applications > MAMP > conf > apache.MAMP automatically stops and starts the Apache and MySQL servers.You have now setup the new document root location.Select the new location for your document root and click on the ‘ Select‘ button.You will now have a new Finder window opened.Click on the object next to the ‘ Document Root:‘ text.You will be able to see the current location of your document root.Note that these steps have only be tested with Apache port set to 80 into MAMP preferences. start MAMP From now MAMP should start/stop with the SSL support activated. If you don’t have MAMP yet you can get your free copy from. Step 4: Now you are ready to start your Moodle server. The examples below are for the standard versions of MAMP (free) and not the PRO versions (you have to pay after the trial period has expired). ![]() ![]() I will be explaining how we can change the root directory on Apache server on both cases. Before I start explaining on how we can change the root directory on Apache Server using MAMP, it’s important to remember that although MAMP was originally designed for Apple MAC systems, there is also a Windows version.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |