Forum Moderators: phranque

Message Too Old, No Replies

Merge Directories?

         

KilerCris

12:54 am on Aug 30, 2004 (gmt 0)



Does anyone know of a way that I could make the files in one directory in the filesystem appear to be in another?

Something like Alias.

For Example

/var/www/html:
file1.php
file2.html

/some/other/directory:
somethingelse.html
file99.php

What im trying to do is if /var/www/html was my documentroot have / come up as:
file1.php
file2.html
file99.php
somethingelse.html

is this possible under Apache?

Thanks in advanced for any information

jdMorgan

1:06 am on Aug 30, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



KilerCris,

Welcome to WebmasterWorld!

Do you want to do this in the filesystem, or in the URL space? In the filesystem, you can use *nix symlinks. In URL-space you can use mod_alias or mod_rewrite.

Jim