|Comments inline - tagged RR.|
On Sep 28, 2012, at 9:54 AM, Gandalf Corvotempesta wrote:
RR: I can see a few different options here:
1. One method is to just change the git template app in the php cartridge. Do something like "mv php public_html" and then "ln -s public_html php".
That should work as long as FollowSymLinks is set (should be the default but you can check this in your httpd config).
That does however keep the php directory as a symlink.
2. The other alternative is to do the rename above "mv php public_html" and then modify the php cartridge's deploy_httpd_config script to set the
DocumentRoot to the public_html directory instead of the php/ directory. That seems to be the cleanest solution.
3. You could use some custom .htaccess configuration (rewrite rules + directory paths) as well if you want to go that route -- its a bit more "heavy" for
what you want though. A possible alternative here is to put the public_html directory under the php/ directory and have a rewrite rule that adds
public_html to the uri.