Bawy
04-26-2003, 12:53 AM
I need the file system equivelent of a database view (you MySQL/Access people may have never heard of a view, keep reading NEwayz.)
I have two domains with different sites running on the same server, they have gaphic elements in common that I would like to consolidate into one directory.
I do not want to reveal the two sites share content in the HTML source code, so simply making fully-qualified URLs to the other site is not an option.
I do not want to leave the directory below both roots and pass the images through a PHP script, the server is pretty stressed as it is, more CPU work is not a good idea in this case.
Ideally I could create a hypothetical directory that is always identicle to the other. So site1.com/images is the same as site2.com/images, but only site1.com/images is a real directory. Is that what a link is in Linux? The ln comand so I have read?
It would be simpler (politically in this company) to not involve the sys admin who did not give me access to the httpd.conf, there goes virtual directories... Or can you make them in .htaccess? I do have ssh access, just the rights to the good stuff are left to SU which I am not given rights to.
I have two domains with different sites running on the same server, they have gaphic elements in common that I would like to consolidate into one directory.
I do not want to reveal the two sites share content in the HTML source code, so simply making fully-qualified URLs to the other site is not an option.
I do not want to leave the directory below both roots and pass the images through a PHP script, the server is pretty stressed as it is, more CPU work is not a good idea in this case.
Ideally I could create a hypothetical directory that is always identicle to the other. So site1.com/images is the same as site2.com/images, but only site1.com/images is a real directory. Is that what a link is in Linux? The ln comand so I have read?
It would be simpler (politically in this company) to not involve the sys admin who did not give me access to the httpd.conf, there goes virtual directories... Or can you make them in .htaccess? I do have ssh access, just the rights to the good stuff are left to SU which I am not given rights to.