duesi
07-27-06, 07:13 AM
Hi all,
I have a test server with apache 2.0. Now I want to put several projects into subdirectories of its DocumentRoot, but for them, it should "feel" as if they are in the document root.
So for example:
(My document root is /srv/www/htdocs/).
In /srv/www/htdocs/project1 I have file which references "/inc". This should refer to /srv/www/htdocs/project1/inc and not to /srv/www/htdocs/inc, which is the default.
I do not want to build Virtual Hosts if it is not needed (I do not have a Network Card for each project :-)
Is there any easy way to do this?
Thanks for your advice!
I have a test server with apache 2.0. Now I want to put several projects into subdirectories of its DocumentRoot, but for them, it should "feel" as if they are in the document root.
So for example:
(My document root is /srv/www/htdocs/).
In /srv/www/htdocs/project1 I have file which references "/inc". This should refer to /srv/www/htdocs/project1/inc and not to /srv/www/htdocs/inc, which is the default.
I do not want to build Virtual Hosts if it is not needed (I do not have a Network Card for each project :-)
Is there any easy way to do this?
Thanks for your advice!