lognax.blogg.se

Mac os x apache cors enable
Mac os x apache cors enable




Copy and paste the following configuration. Type sudo nano nf and press enter (note: username will be your account name e.g. If there is an existing nf, make a backup copy by typing sudo cp nf ĥ.

mac os x apache cors enable

Check if there is an existing nf file ( username is your account name)Ĥ. Type cd /etc/apache2/users and press enter.ģ. conf file with the name of nf under /etc/apache2/usersĢ. this is your account name / username) For example, if your username is developer, we will be making a. To be able to recognize the files putting into Sites directory, nf needed to be setup.ġ. When the folder is created, it will generate a folder with a compass image on the folder as you can see from the below screenshot. It is recommended to create a Sites directory under username folder (username is your mac login name) This directory will be your document root for any web-related stuff. If Apache Server is started, you should see the below: Create Sites Directory

mac os x apache cors enable

Type localhost or 127.0.0.1 in the address bar Type sudo apachectl start and press enter To start the built-in Apache server, open the Terminal app from your Application folder or type Terminal in the Spotlight Search (shortcut: Command + Space Bar)

mac os x apache cors enable

MacOS comes with Apache Server by default.






Mac os x apache cors enable