Welcome to WebmasterWorld Guest from 23.20.147.6

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Need help setting another server as a directory of main site

Need help setting another server as a directory of main site in apache

     
2:14 pm on May 31, 2003 (gmt 0)

New User

10+ Year Member

joined:May 31, 2003
posts:2
votes: 0


I have a NAS (Network Attached Storage) that has a web interface, that I want to set up as a sub directory of my main site that is running Apache under Linux.

ex. [mysite.com...]

The problem that I am running into is that the NAS makes a reference to an internal directory that it has with a leading slash (/)

ex. /drive

It needs to go to [mysite.com...] to work properly, but I am being sent to [mysite.com...] instead, which does not exist. I cannot re-code the NAS, to fix the problem, because it is an out of the box kind of product.

Is there a way of setting up Apache so that it will prevent this from happening, and fix my problem?

4:11 pm on June 2, 2003 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 22, 2002
posts:2546
votes: 0


You may want to look into mod_rewrite for your problem.
9:20 am on June 3, 2003 (gmt 0)

New User

10+ Year Member

joined:May 31, 2003
posts:2
votes: 0


Thanks for a glimpse of hope.
I will read up on that.