This site is a static archive of the Aegir community site. Documentation has moved to http://docs.aegirproject.org. Other community resources can be found on the Contacting the community page.
Skip navigation

Revision of File Paths for Files and Images for Many Sites on a Platform from Tue, 01/31/2012 - 18:33

Help

File Paths for Files and Images for Many Sites on a Platform

Hello,

We have many sites on a platform, and the URLs paths to the images and static files on these sites begin with this format:

http://site1.domain.com/sites/site1.com/files/

So images and static files URLs end up looking like:

http://site1.domain.com/sites/site1.domain.com/files/images/logo.png http://site1.domain.com/sites/site1.domain.com/files/downloads/aboutus.pdf

Is there a way to make this something like:

http://site1.com/files/

-- i.e., remove "sites/site1.domain.com", without bypassing core Aegir functionality? In theory we could try some Apache configs (aliases, rewrites, etc), but I would rather avoid that complication.

Thanks!

KM

Need help?

The revisions let you track differences between multiple versions of a post.

Discussion

The discussion area lets your team communicate by posting updates and discussing issues. It is a great place for sharing progress, discussing challenges, and exploring ideas.