I'm running Mac 10.4 and have used MAMP Professional to host several websites I manage. Since I've installed FileMaker Professional Server, it forces me to show Web Discussing on in System Preference. So can you really either replace Apache with MAMP PRO's version? Or can you really get FileMaker Professional to make use of MAMP rather than Web Discussing? If that's the case, how do i make it?
Also, with FileMaker Instant Web Posting, how , how do i make my domain link straight to where FileMaker puts out it? What exactly I wish to have the ability to do is type http:///mydomain.com also it direct to mydomain.com:591/FMI/IWP/
You are able to customize the system launchd.plist that's certain to this therefore it launches your custom apache install.
You need to do this by editing the:
/System/Library/LaunchDaemons/org.apache.httpd.plist <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Disabled</key> <true/> <key>Label</key> <string>org.apache.httpd</string> <key>ProgramArguments</key> <array> <string>/usr/sbin/httpd</string> <string>-D</string> <string>FOREGROUND</string> </array> <key>OnDemand</key> <false/> <key>SHAuthorizationRight</key> <string>system.preferences</string> </dict> </plist>
Alter the /usr/sbin/httpd string to the road to your custom apache install. Make certain you disable Web Discussing first or in the command line:
launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
Once you edit it, either click on the web discussing button or in the command line:
launchctl load -w /System/Library/LaunchDaemons/org.apache.httpd.plist
For that second question, you are able to set a redirect inside your apache config
Not quite sure where to MAMP, the overall syntax is:
Redirect / http://mydomain.com:591/FMI/IWP/
It's often sound practice to wrap these in conditionals
<IfModule alias_module> Redirect / http://mydomain.com:591/FMI/IWP/ </IfModule>
And i believe it would be a far more elegant means to fix proxy pass the demands
</IfModule> <IfModule proxy_module> ProxyRequests Off <Proxy *> Order deny,allow Deny from all Allow from localhost </Proxy> <Location /filemaker/> ProxyPass /filemaker/ http://www.google.com/ ProxyPassReverse /filemaker/ http://www.google.com/ ProxyPass /images http://www.google.com/images ProxyPass /extern_js http://www.google.com/extern_js ProxyPass /intl http://www.google.com/intl ProxyPass /csi http://www.google.com/csi </Location> </IfModule>
Within this example, I'd just must see http://localhost/filemaker also it shows the google page. What assets you pass within the ProxyPass is dependent on which filemaker needs.
If you do not worry about retaining your domain and also you want everything to proxy, you'd
</IfModule> <IfModule proxy_module> ProxyRequests Off <Proxy *> Order deny,allow Deny from all Allow from localhost </Proxy> ProxyPass / http://www.google.com/ ProxyPassReverse / http://www.google.com/ </IfModule>