"The Other Guy" <nospam.RemoveThis@this.addy> wrote in message
news:eos8ivgotvm0uok4kvlqsh3mqd22r84v71@4ax.com...
> In the httpdocs directory htaccess, put:
> DirectoryIndex index.htm other_index_file.name etc.filename
> ...
Thanks for the reply.
I think that I'm really asking for something that may not exist.
Let's say that I have an Apache virtual web site called <a style='text-decoration: underline;' href="http://www.xyz.com" target="_blank">http://www.xyz.com</a>
Inside the <a style='text-decoration: underline;' href="http://www.xyz.com" target="_blank">http://www.xyz.com</a> virutal root, there are three subdirectories;
cgi-bin, httpdocs, and httpsdocs.
Inside the normal httpdocs, I have my images sub-directory, a few other
useful sub-directories, and other .htm files.
Inside the httpsdocs, I'm trying to setup a separate secured area, and I've
setup a sort of duplicate set of sub-directories inside of it, but different
content.
I'm basically trying to treat the two directories as separate with separate
information.
Whenever someone goes to the site, the .htaccess that I setup displays
<a style='text-decoration: underline;' href="http://www.xyz.com" target="_blank">http://www.xyz.com</a> instead of <a style='text-decoration: underline;' href="http://www.xyz.com/httpdocs/" target="_blank">http://www.xyz.com/httpdocs/</a>
This is what you described, and one of the things that I was looking for.
When I setup the ".htaccess" to look for the "index.htm" in "httpdocs/", it
still tries to look for any references to the image sub-directory inside the
root directory instead of looking for that sub-directory inside "httpdocs/".
Instead of me changing the many internal links and image addresses inside my
"index.htm" to look at "httpdocs/", I was wondering if there was something
for Apache.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: DirectoryIndex, and other commands for the htaccess file???