Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    • CommentAuthorrkirkw
     
    I ran setup like this
    script/setup -d /home/rkirkw/events -p /home/rkirkw/public_html/mtnreview/events

    I setup my apache http.conf to find my new app like this:
    Alias /mtnreview/ "/home/rkirkw/public_html/mtnreview/"
    Alias /mtnreview "/home/rkirkw/public_html/mtnreview"

    <Directory "/home/rkirkw/public_html/mtnreview">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride All
    Order Allow,Deny
    Allow from all
    </Directory>

    If I access my app like http://localhost/mtnreview/events I see the welcome screen:

    Welcome aboard
    You’re using The Akelos Framework!

    but the Akelos Framework logo png is not displayed

    In order for the logo png to be displayed, I have to add another httpd.conf entry like this:

    Alias /events/ "/home/rkirkw/public_html/mtnreview/events/"
    Alias /events "/home/rkirkw/public_html/mtnreview/events"

    <Directory "/home/rkirkw/public_html/mtnreview/events">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride All
    Order Allow,Deny
    Allow from all
    </Directory>

    It seems like the setup script is not telling asset_tag_helper.php where to look - it is only looking for the last directory in the setup -p entry.
    Is there a way to adjust the image_path to tell asset_tag_helper.php to start further back in the path - some sort of base url setting?

    Thanks!
    • CommentAuthorrkirkw
     
    I updated the title in the hopes to get a reply - maybe the old one was not interesting enough.
    This issue came up on one of my test servers where I already have a sub-domain set up as mtnreview and wanted to create an events calendar under that sub-domain. Since this will ultimately go on a shared server where I do not have complete control of the httpd.conf file but only a control panel I was trying to mock it up before publishing when I found out the problem.
    Not only were the images not being found, but the css and favorite.ico were not found.

    Hopefully someone can help me here.
    • CommentAuthorKaste
     

    boah, its too early, and I'm not the Apache-guy - def not - but shouldn't the alias point to MyApp/public?

    Alias /mtnreview "/home/rkirkw/events/public"
    ...
    <Directory "/home/rkirkw/events/public">
    ...
    

    Did you edit the .htaccess?