Wiki

Clone wiki

facilities / Apache Alias Config

To enable Apache to serve static content in your facilities repo, add the following config (edit to reflect your directory structure of course) to Apache's alias_module section.

    # BEGIN Facilities
    Alias /facilities /Users/amit/Development/source/personal/facilities/fmp-webapp/src/main/webapp/facilities
    <Directory /Users/amit/Development/source/personal/facilities/fmp-webapp/src/main/webapp/facilities>
        Order allow,deny
        Allow from all
    </Directory>

    Alias /css /Users/amit/Development/source/personal/facilities/fmp-webapp/src/main/webapp/css
    <Directory /Users/amit/Development/source/personal/facilities/fmp-webapp/src/main/webapp/css>
        Order allow,deny
        Allow from all
    </Directory>

    Alias /images /Users/amit/Development/source/personal/facilities/fmp-webapp/src/main/webapp/images
    <Directory /Users/amit/Development/source/personal/facilities/fmp-webapp/src/main/webapp/images>
        Order allow,deny
        Allow from all
    </Directory>

    Alias /js /Users/amit/Development/source/personal/facilities/fmp-webapp/src/main/webapp/js
    <Directory /Users/amit/Development/source/personal/facilities/fmp-webapp/src/main/webapp/js>
        Order allow,deny
        Allow from all
    </Directory>
    # END Facilities

Updated