Can you put files into a different site on the same server?

For instance, my directory looks like so
‘ROOT’
‘website’
‘website_admin’

with the website and the website admin both being separate websites that apache serves up. I serve them up during dev. via port #'s. But, can I upload a file with the website_admin ‘site’ and have it dump into the website folder since I know all the path names?

Am I just creating a lot of issues for myself here? Should I just create a ‘admin’ folder in the website directory and lock down via login system? Seems better having them separate and only publish one internally and the other publicly.

can I upload a file with the website_admin ‘site’ and have it dump into the website folder since I know all the path names?

Yeap - Say you have an “images” folder in the root. Get ColdFusion to drop the files in there when a user uploads them, Then use Apache’s Alias to reference them with a mapping of “/images”

Alias /images “C:/root/images”

In your code you would have:

<img src=“images/myimage.jpg” />

Apache knows from the mapping that anything reference images can be found in C:/root/images.