How to tell LAMP server to look at 2nd HDD for files when php is still pointing to a location on 1st HDD?

Posted by Jizbo Jonez on Server Fault See other posts from Server Fault or by Jizbo Jonez
Published on 2013-06-27T03:21:51Z Indexed on 2013/06/27 4:23 UTC
Read the original article Hit count: 407

Filed under:
|
|
|

I have a phpBB install that currently has its attachments stored on my main HDD, but I am running out of room there fast. So I want to get a 2nd HDD installed on the server and put all of the phpBB files on that instead. So my question is how can I tell phpBB to look at my 2nd HDD for the files when it is still pointing to a location on 1st HDD? I've read a bit about softlinks and mod_alias but am still confused about how they work exactly. Does anyone know a good way to do this?

© Server Fault or respective owner

Related posts about apache2

Related posts about symlink