1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Adding an alias inside an .htaccess file
Actions to be carried out
Put the links to be implemented in a PHP file and call the file via a browser.
<? symlink("target", "link"); ?>
The Directory where the link will be created must have 0777 permissions at least temporarily so that the web server has sufficient permissions to create the link.
If you specify "Options +FollowSymlinks" in your .htaccess file this doesn't allow a symlink to be followed if the owner of the target is different to the source. Which is the case when for example a directory belongs to httpd (link created from the web) and another directory belongs to the default FTP account sys_... So in order to nevertheless allow this you just need to add the following to your .htaccess file "Options +FollowSymlinks -SymlinksIfOwnerMatch".
Link to this FAQ: