SSL / Cross-domain / Images

I'm re-doing a website for the company I work for. We have two domains, and, the subdomain runs on https with a valid ssl certificate.

/home/webserver/ and /home/webserver/ are the absolute folders for these 2 domains. Both share the same unix user account information.

To save space and be more efficient in general with the site, as several images are used on both that are the same. So rather than duplicate the image files in both webspaces can I link between them? Normally this is straight-forward but with SSL this will give a warning won't it? About using unsecure content on a secure webpage. If so can I prevent this?

What if I create a symbolic link from /home/webserver/ to point to /home/webserver/ Would that work? I don't have access to apache and therefore can't see it's config files or redo anything with it.

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

if FollowSymLinks is enabled for /home/webserver/  on apache config   it should not be a problem

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ramazanyich is correct;  as long as FollowSymLinks is enabled, the symbolic link will work.

However, there's another potential solution, which is to create an Alias for that directory within your httpd.conf or .htaccess file:

Alias /images /home/webserver/

NarusegawaAuthor Commented:
Thanks Rama. I thought the SSL would've been an issue but it's not. Luckily my host allows me shell access to create the symlink and they have FollowSymLinks turned on.

If they didn't, then I'd be out of luck.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.