Link to home
Start Free TrialLog in
Avatar of Jeff
Jeff

asked on

Map a folder to another directory/site

Not sure I am asking the right question, but what I need to do is map/link to a folder and share the content with other sites on the server.

Example:
Files to access are located here:
/public_html/domain.com/content/siteadmin/features/folder_to_access/
 I would like to access the content from:
www.anotherdomain.com/folder_to_access/ (domain is licated "/public_html/anotherdomain.com")

I would prefer to do this from code and no use either symlink or .htaccess
because, in my opinion, it will be easier to find and modify later down the road if/when I need to make changes.

Any suggestions would be greatly appreciated.
Jeff
ASKER CERTIFIED SOLUTION
Avatar of Salah Eddine ELMRABET
Salah Eddine ELMRABET
Flag of Morocco image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jeff
Jeff

ASKER

They don't necessarily need to be in that specific folder. They just need to be shared by all the sites and that is just the folder I put them in.

The folder is whare my admin files are and it is shared with a symlink. I would prefer not using a symlink because I would have to go back and link each site that needs access to the files.

Thanks Salah, I will take a look.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial