![]() ![]() #LoadModule userdir_module lib/apache2/modules/mod_userdir.so Edit /opt/local/etc/apache2/nf, locate the following line ![]() Sudo cp /opt/local/etc/apache2/extra/ /opt/local/etc/apache2/extra/nf The "Fix" is to simply use the FQDN of your server when testing Apache or related Web services.įirst, install the nf file: The simple answer is "localhost" is an "old-tyme" shortcut which should still work, but often does not for many different reasons. Safari can't open the page "localhost" because Safari can't connect to the server "localhost". Using the links above to "localhost" will fail with Safari complaining " Failed to open page. NOTE: The setting of "ServerName" to anything other than the Fully Qualified Domain Name (FQDN) of the server under Apache 2.2.x and Yosemite, does not produce the expected results. If desired, reboot your machine and point your browser again to to confirm that Apache is again running. You should see a page that says "It works!" To verify Apache is now running, point your browser to (you may need to reload the page). For personal use, localhost is sufficient. To resolve the warning, edit the configuration file and set the server name appropriately. Where refers to the name of your computer as specified in the System Preferences Sharing pane. Apache SSL/TLS Encryption (aks Secure Sockets or https).Step 5: Initial changes to the config file.Step 1: Turn off Apple's "Personal Web Sharing". ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |