httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Mull <m...@tower-communications.com>
Subject [users@httpd] URL Mapping or ReWriting Help
Date Fri, 17 Jun 2005 12:54:49 GMT
Hello,

Hope this can be done.

What I am trying to figure out is how I can make a subdirectory of a 
site look like the document root for all of its files and 
subdirectories?

For example:

Say www.domain.com/test exists, and "www.domain.com" is a VirtualHost 
and "test" is a subdirectory of that VirtualHost's DocumentRoot. 
When entering that URL, I would like it to act as a separate site 
where if someone were to link to /images/whatever.gif or 
/anotherdirectory/test.html from any file in that directory it would 
actually access the /test/images or /test/anotherdirectory instead of 
/images and /anotherdirectory?

Thanks for any help!
-Andy

-- 
------------------------------
Andrew Mull
Tower Communications, LLC
102 Carmen Drive
Blandon, PA  19510

Work:  610-926-9734
Cell: 484-794-9433

mull@tower-communications.com
www.tower-communications.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message