Alfahane
asked on
Same include file for multiple websites in classic ASP on IIS 6
How do I let several websites on my server access the same include-file? I want my websites to access the same file so that central functions do not have to be uploaded to each and every /public_html/
Standard practice would be to create a directory 1 level up from each site, give the users the sites run as access to that directory, and when doing includes use relative paths. For example, ../includes would refer to a 'include' directory up one folder, and when doing the includes use ../includes/whatevercodefi le.php, etc.
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Is it possible to give access to:
c:\\websites\includes\
while run the websites at
c:\\websites\website1\publ ic_html\
c:\\websites\website2\publ ic_html\
c:\\websites\website3\publ ic_html\
....
?
I dont know how to do this
c:\\websites\includes\
while run the websites at
c:\\websites\website1\publ
c:\\websites\website2\publ
c:\\websites\website3\publ
....
?
I dont know how to do this