Welcome to WebmasterWorld Guest from 54.226.130.194

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

     

Rounin

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

10+ Year Member



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?

Birdman

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

WebmasterWorld Senior Member 10+ Year Member



You may want to look into mod_rewrite for your problem.

Rounin

9:20 am on Jun 3, 2003 (gmt 0)

10+ Year Member



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