GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   help... symlinks? (https://gfy.com/showthread.php?t=832614)

Mr Pheer 06-03-2008 08:13 PM

help... symlinks?
 
I have a bunch of new websites being built and alot of them use the same images

So instead of uploading these same images to every website, I want to like make a main/central image directory and then make an image directory in the website folder and have it linked to the main/central image directory

I know this can be done but cant remember how.. someone help me out?

tical 06-03-2008 08:31 PM

ln -s real_dir virtual_dir :)

rowan 06-03-2008 08:42 PM

You may also be able to this with mod_rewrite, which would mean you don't need to manually set up the symlinks for each site. One possible catch, I'm not sure whether mod_rewrite will let you read outside of the site's htdocs directory structure.

Mr Pheer 06-03-2008 08:59 PM

Quote:

Originally Posted by tical (Post 14274775)
ln -s real_dir virtual_dir :)

that worked... thanks :thumbsup


All times are GMT -7. The time now is 12:58 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123