I would like to do the following simple thing:
When a folder is referenced in a web site (i.e. href=’folder1/pic.jpg’), I want the server to actually look in another folder (i.e. ‘folder2’), where the actual ‘pic.jpg’ will be.
I believe this can be done by connecting to the server via SSH and then setting something up there, but I don’t know what.
Could anyone give me an example?
Thanks!
You can try going into your document root (
cd) and executingI think this is the thing in
sshyou’re talking about. Alternatively, you can edit server config there, but that requires more input.