Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Alias on image folders.

Status
Not open for further replies.

altendew

Programmer
Mar 29, 2005
154
US
Lets say I host 6 websites, and they all have different image directories as follows:
/images/1/ (site1.com)
/images/2/ (site2.com)
/images/3/ (site3.com)
/images/4/ (site4.com)
/images/5/ (site5.com)
/images/6/ (site6.com)

Now lets say they goto:
and they see all their images.

But this person also has access to:

Which is not good, is there a way the user can goto and it is basically an alias of
Thanks,
Andrew
 
Nope. I use the same software for each site.
 
Add this to each Virtual Host. Note change the directory number to match the entry.
Code:
Alias /images /path/to/images/[i]1[/i]
</VirtualHost>

M. Brooks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top