help... symlinks?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mr Pheer
    So Fucking Banned
    • Dec 2002
    • 22083

    #1

    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
    Confirmed User
    • Feb 2002
    • 6504

    #2
    ln -s real_dir virtual_dir
    112.020.756

    Comment

    • rowan
      Too lazy to set a custom title
      • Mar 2002
      • 17393

      #3
      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.

      Comment

      • Mr Pheer
        So Fucking Banned
        • Dec 2002
        • 22083

        #4
        Originally posted by tical
        ln -s real_dir virtual_dir
        that worked... thanks

        Comment

        Working...