I have two ecommerce sites selling music digital downloads. A customer pays, then PHP reads the file and gives them a download (built-in function of pre-existing shopping cart script I don't have much control over). The sites are on the same VPS, but have separate domains/IPs/etc. Both sites sell the same music and so use the same music files, so I have duplicate copies taking up disk space. Is there a way to make them share the same directory containing the music files, maybe via symlinks or something similar? I can only imagine running into all kinds of file ownership errors. I'm new to VPS management and currently have a cPanel/WHM setup, but thinking of switching to Virtualmin.


Reply With Quote


Bookmarks