Httpd.conf modifications
Enable WebDAV
On /etc/apache2/httpd.conf enable the line that loads extra/http-dav.conf.
This enables uploads on http://
Enable server-info
On /etc/apache2/httpd.conf enable the line that loads extra/http-info.conf.
This enables server status and information from on http://
To get server info you must modify also extra/http-info.conf. On the section <Location /server-info> change the line :
allow from .example.com
to:
allow from localhost
# Real-time info on requests and configuration Include /private/etc/apache2/extra/httpd-info.conf ... # Distributed authoring and versioning (WebDAV) Include /private/etc/apache2/extra/httpd-dav.conf
Add Reverse Proxy for Pentaho Console
To be able to access pentaho console, add reverse proxy directives after the previous lines:# Real-time info on requests and configuration Include /private/etc/apache2/extra/httpd-info.conf ... # Distributed authoring and versioning (WebDAV) Include /private/etc/apache2/extra/httpd-dav.conf </IfDefine> # Pentaho Console ProxyRequests Off ProxyPass /pentaho-console http://localhost:8099/ ProxyPassReverse /pentaho-console http://localhost:8099/
On System Preference, Sharing preferences panel, restart apache http server disableing and enabling Web Sharing. This reloads the httpd.conf file.
Set JAVA_HOME in Mavericks
#This command says where your current Java is: /usr/libexec/java_home -v1.7 #Put the result in launchd.conf and boot sudo nano /etc/launchd.conf #This also works for a session, (no need to restart/login): launchctl setenv JAVA_HOME $(/usr/libexec/java_home -v1.7) #Or this: export JAVA_HOME="$(/usr/libexec/java_home)" #The best will be to be on /etc/profile, which is an script an can run commands #Added maven path on ˜/.profile export PATH=$PATH:/Users/pmadril/opt/tools/apache-maven-3.2.1/bin