The Web installer proposed the following apache aliases:
Alias "/rp/__data" "/Library/Apache2/mysource_matrix/data/public"
Alias "/rp/__lib" "/Library/Apache2/mysource_matrix/core/lib"
Alias "/rp/__fudge" "/Library/Apache2/mysource_matrix/fudge"
Alias "/rp" "/Library/Apache2/mysource_matrix/core/web/index.php"
I get syntax check warnings in Apache, and i cant restart Apache. Of course I tried deleting tabs and quotes. It seems that the first three lines here are causing the problem. (the two underscores in /rp/__lib for example?)
probably a basic question, but I cant figure it out. Thanks!
I just checked the working MacOS X installation I worked on, and on that one, we wrapped those lines in <IfModule> tags, like this:
Alias "/rp/__data" "/Library/Apache2/mysource_matrix/data/public"
Alias "/rp/__lib" "/Library/Apache2/mysource_matrix/core/lib"
Alias "/rp/__fudge" "/Library/Apache2/mysource_matrix/fudge"
Alias "/rp" "/Library/Apache2/mysource_matrix/core/web/index.php"
The double-underscores shouldn't cause any problems. Obviously, make sure all of the destinations exist. :) I know on our MacOS X installation, the files are in /Library/Apache2/htdocs/mysource_matrix.
Have you successfully completed the install process yet? The matrix/data/public directory doesn't exist until the process is completed, which may be why you're getting the error.
Actually in the download version the [Matrix Dir]/data/public directory is included; if you didn't have that you wouldn't have got past step 3 as it will complain about it not being there.
Unfortunately I don't know enough about Apache on Mac-X to be able to help much, but does the 'www' user (or 'apache' or whatever user Apache runs on in Mac-X) have the correct permissions to the installed directory? If it's not inside htdocs then it may not have the correct permissions.
If I go directly to mysource_matrix/core/web/index.php in the browser, I get the following MySource Notice:
File:
[SYSTEM_ROOT]/core/include/mysource.inc
Line:
289
Message:
URL "127.0.0.1/mysource_matrix/core/web/index.php" not found
Apache is running here with the first Alias line outcommented. I installed mysource 2 times with the same installer files (deleting the mysource_matrix directory), could this interfere somehow?
Directory permissions are ok, I think. Apache on OS X is pretty the same as on other Unixes.
I'll investigate further later. It's probable me, not the installer :-)
You'll need the alias in place; that message shows the system is installed properly, but all the URLs for the system are based off the base url you enter, not core/web/index.php.
I just reinstalled the whole thing, with the same result: the Apache Alias error. But this time I didnt insert the mysource Aliases as a block, i split the four lines and mixed it with the aliases for my other web apps. It works! Do not ask me why!