Heck, MacOSX is really a spin off of Unix (with a nice GUI) which is closely related to Linux.
Mac apache config path mac#
So, just use XAMPP and follow the directions (with Mac modifications - usually paths) for installing Moodle like it was on a true Linux server. Applications/XAMPP/xamppfiles/bin/openssl version If you execute the following, you'll see the versions: IF you noticed the find command found 2 openssl's installed.
Probably 'better' in that is more true server like. Just copy the line below and paste it into your terminal window: Now open httpd-vhosts.The ps command used a 'pipe' symbol. ProxyPassMatch ^/messagebroker/(.*)$ ajp://localhost:8009/messagebroker/$1 ProxyPassMatch ^/flex2gateway/(.*)$ ajp://localhost:8009/flex2gateway/$
Now browse and you will see your first site index.cfm runningĦ) open nf from /private/etc/apache2/Īdd following (Thanks to Anuj Gakhar this post) Now run this command to start it: sudo sh startup.shĥ) add following in hosts file: 127.0.0.1 Run following command: sudo sh shutdown.sh (to shutdown the server) Save the file and restart the server (Tomcat):Ĥ) open terminal window and go to /Library/Railo/tomcat/bin Now create a virtual site in server.xml like this: (above ) This will help us to use apache server on port 80 to create virtual sites.Īt around line 123 you will see default website for this Tomcat serverĬreate a folder under /sites folder – which will be your first local site say – firstSite Now if you browse you should see the tomcat pageĪdd following at around line 422 (This will help if you use CFWheels frame-workģ) go to line no 90 and un comment following:
Mac apache config path install#
It will normally Install under this location and picks port 8080 – /Library/Railo/tomcat/ Scroll down and pick MacOS installer infront of Railo Server with Tomcat 7 title Now open browser and browse or and you should see your default web page Make sure you uncomment this line (at line no 481) Include /private/etc/apache2/extra/nfģ) create a folder sites or whatever name you waant to give at root levelĤ) Find DocumentRoot (line no 169) and change it to “/sites”ĩ) Add / Create index.html in /sites folder as a place holderġ0) sudo apachectl restart (to pick-up the changes
I have changed this and few other settings in nf (/private/etc/apache2/)ġ) Find ServerAdmin and change email address to yours one (around line no 153)Ģ) Find ServerName and change it to cfdev also add following in hosts file (/private/etc/)ġ27.0.0.1 cfdev (now you can get to your webserver by localhoost/ cfdev/ 127.0.0.1) I made few changes to Apache config files, by default it uses web server document folder here: Get the tool from here: WEB SHARING IN OS X MOUNTAIN LION Web Sharing option got removed from System Preference – To get it back I found this post which provides a tool to get it in Sys Pref under Other:Įxplanation, good article to read: Restore Web Sharing in Mountain Lion I tried to move virtual sites from old to new but it didn’t work.
Mac apache config path upgrade#
Last week I updated my operating system from Snow Leopard to Lion Mountain 10.8, system has upgraded itself.ġ) Little Snitch got removed (V 2.2), I had to buy Licence for upgrade of version 3.02 – Lion cost me more ?Ģ) I had ColdFusion 9.01, which stopped working as Lion upgrade had reinstalled Apache removed old nf and nf files (actually renamed them as nf~previous.