Click to See Complete Forum and Search --> : Apache directory setting problem?


Rounin
05-29-2003, 09:04 AM
Ok I am running RH8 with Apache running my site.
I recently got a Linksys EFG80 (File server, NAS).

What I want to do is access the NAS through my Apache site.

I have mapped the NAS as a local directory in Apache, and it works almost perfectly.

The problem is the NAS make a reference to an internal directory with a leading /

http://www.mysite.com/NAS/ shows the NAS page, and links like "Drive/index.html" work, but if there is a leading slash like "/Drive/index.html" then it tries to go to http://www.mysite.com/Drive/index.html instead of http://www.mysite.com/NAS/Drive/index.html
I can't just go into the NAS and change to code because it is a built in Linux server.

I am hoping there is a simple solution to this that I don't have to resort to figuring out subdomains.

Thanks in advance for any help