Dec 12, 2013; 10:38
Tami Williams
Anyone get PHP, Lasso 8 and Lasso 9 to work with FileMaker 13 Server?
Anyone get PHP, Lasso 8 and Lasso 9 to work with FileMaker 13 Server?
I had Apache2, PHP, Lasso 8 and Lasso 9 and FileMaker 12 Server running on my Mac OX X 10.8.5 laptop (for development).
I've uninstalled FileMaker 12 Server and installed FileMaker 13 Server on my laptop.
When you install FileMaker 13 server it creates its own config file for apache and stops your normal apache config files from working - so you have to edit the FileMaker 13 config file at Library/FileMaker Server/HTTPServer/conf/httpd.conf, or install FileMaker 13 Server on a separate machine/virtual host from your Apache + Lasso, etc.
I'm trying to get everything to work without using a separate machine / virtual host.
After installing FIleMaker 13 Server and making changes to the Library/FileMaker Server/HTTPServer/conf/httpd.conf:
I can see non-Lasso/non-PHP sites running on my laptop (ie. Apache is running) when I go to http://127.0.0.1/folderName/.
I can login to the FMS13 Server Admin.
I can see my non-ssl virtual hosts.
Lasso 8 is running.
I can NO longer see any databases via WebDirect. I was able to see databases via WebDirect before I edited the config file.
I can NO longer see any FMS 13 Admin start or help links - I get a message "Unable to connect: Firefox can't establish a connection to the server at 10.0.0.5:16000." (10.0.0.5 is my network IP address)
Lasso 9 and PHP are NOT running.
SSL is NOT running (before the install it was running in one virtual host via https://xxx.lmc.xxx).
Anyone get this to work? Any tips on what I might be missing when I edited the config file? More details on what I edited are below:
I think /Library/FileMaker Server/HTTPServer/conf/extra/httpd-rewrite.conf needs to be changed but I don't know what to...
---------------------------------------
Here's how I changed /Library/FileMaker Server/HTTPServer/conf/httpd.conf:
After installing FileMaker 13 Server I compared my original
/private/etc/apache2/httpd.conf
and
private/etc/apache2/extra/httpd-vhosts.conf
and
private/etc/apache2/extra/httpd-ssl.conf
to the files in
/Library/FileMaker Server/HTTPServer/conf/
Then in /Library/FileMaker Server/HTTPServer/conf/httpd.conf I changed
ServerRoot "${HTTP_ROOT}" to ServerRoot "/usr"
ServerAdmin you@example.com to ServerAdmin tami@asktami.com
ServerName "${SERVER_NAME}" to ServerName 127.0.0.1
DocumentRoot "${HTTP_ROOT}/htdocs" to DocumentRoot "/Library/WebServer/Documents"
<Directory "${HTTP_ROOT}/htdocs"> to <Directory "/Library/WebServer/Documents">
DirectoryIndex index.html to DirectoryIndex index.html.en index.html index.lasso default.html default.lasso index.php default.php
ErrorLog "||/usr/sbin/rotatelogs '/Library/FileMaker Server/HTTPServer/logs/error_log' 10M" to ErrorLog "/private/var/log/apache2/error_log"
CustomLog "||/usr/sbin/rotatelogs '/Library/FileMaker Server/HTTPServer/logs/access_log' 10M" common to CustomLog "/private/var/log/apache2/access_log" common
#CustomLog "logs/apache2/access_log" combined to #CustomLog "/private/var/log/apache2/access_log" combined
added: Alias /htdocs "/Library/FileMaker Server/HTTPServer/htdocs/"
ScriptAlias /cgi-bin/ "${HTTP_ROOT}/cgi-bin/" to ScriptAlias /cgi-bin/ "/Library/FileMaker Server/HTTPServer/cgi-bin/"
Scriptsock log/cgisock to #Scriptsock /private/var/run/cgisock
<Directory "${HTTP_ROOT}/cgi-bin"> to <Directory "/Library/WebServer/CGI-Executables">
DefaultType text/html to DefaultType text/plain
TypesConfig conf/mime.types to TypesConfig /private/etc/apache2/mime.types
MIMEMagicFile conf/magic to #MIMEMagicFile /private/etc/apache2/magic
Include conf/extra/httpd-mpm.conf to Include /private/etc/apache2/extra/httpd-mpm.conf
Include conf/extra/httpd-multilang-errordoc.conf to #Include /private/etc/apache2/extra/httpd-multilang-errordoc.conf
Include conf/extra/httpd-autoindex.conf to Include /private/etc/apache2/extra/httpd-autoindex.conf
Include conf/extra/httpd-languages.conf to Include /private/etc/apache2/extra/httpd-languages.conf
added: Include /private/etc/apache2/extra/httpd-vhosts.conf
Include conf/extra/httpd-manual.conf to Include /private/etc/apache2/extra/httpd-manual.conf
Include conf/extra/httpd-ssl.conf to Include /private/etc/apache2/extra/httpd-ssl.conf
AND added code from conf/extra/httpd-ssl.conf to Include /private/etc/apache2/extra/httpd-ssl.conf, changing the ${HTTP_ROOT} to /Library/FileMaker Server/HTTPServer/ and ServerName "${SERVER_NAME}" to ServerName 127.0.0.1
Include conf/extra/httpd-proxy.conf to Include /Library/FileMaker Server/HTTPServer/conf/extra/httpd-proxy.conf
Include conf/extra/httpd-fmsadminserver.conf to Include /Library/FileMaker Server/HTTPServer/conf/extra/httpd-fmsadminserver.conf
Include conf/extra/httpd-rewrite.conf to Include /Library/FileMaker Server/HTTPServer/conf/extra/httpd-rewrite.conf
And, added
#Begin: Added by Lasso 8 Installer
Include /private/etc/apache2/users/lasso8.conf
#End: Added by Lasso 8 Installer
Then, in Terminal:
sudo apachectl configtest, sudo apachectl gracefull then restarted my computer
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"It's better to burn out than to fade away."
Tami Williams
Creative Computing
Let us help you make frustrating, costly, and inefficient processes more efficient, less costly and scalable.
Lasso, MySQL and FileMaker specialists.
Tel/Fax: 770.457.3221
E-Mail: info@asktami.com
Web: http://www.asktami.com/
LinkedIn: http://www.linkedin.com/in/asktami
Twitter: http://twitter.com/asktami
iChat/AIM/Skype: tamiwilliamsusa
FileMaker Solutions Alliance Associate | Lasso Professional Alliance Member | Certified Lasso Developer | FileMaker 11 & 12 Certified Developer
------
If you want to receive sporadic email from Creative Computing regarding news at the company and announcements about upcoming Lasso webinars and online classes, please opt-in at http://tinyurl.com/yj7eqlg
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso
Lasso@lists.lassosoft.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>