This is a discussion on Document root on another PC within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi! Using a windows 2000 Network I have got one PC containing all the documents for the internet. The Apache ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi!
Using a windows 2000 Network I have got one PC containing all the documents for the internet. The Apache is installed on another PC and I wanted to set the DocumentRoot to the location at the Doecument Server...it doesn't work this way: DocumentRoot "\\10.1.1.1/c$/wwwroot" using the default share and it doesn't work that way DocumentRoot "\\10.1.1.1/c/wwwroot" BUT it works as soon as I use an alias... Alias /xyz/ "\\10.1.1.1\c$\Inetpub\wwwroot" I don't want to use a work around with mod rewrite aso. it must be possible somehow, isn't it? Thanks Kolja |
|
|||
|
In article <bg2qmv$7nn$03$1@news.t-online.com>,
"Kolja Engelmann" <dragonslayerde@t-online.de> wrote: > Hi! > Using a windows 2000 Network I have got one PC containing all the documents > for the internet. The Apache is installed on another PC and I wanted to set > the DocumentRoot to the location at the Doecument Server...it doesn't work > this way: > DocumentRoot "\\10.1.1.1/c$/wwwroot" using the default share > and it doesn't work that way > DocumentRoot "\\10.1.1.1/c/wwwroot" > BUT it works as soon as I use an alias... > Alias /xyz/ "\\10.1.1.1\c$\Inetpub\wwwroot" > I don't want to use a work around with mod rewrite aso. it must be possible > somehow, isn't it? you should mount the disk containing data on the server (using samba may work, NFS will work) and use le path to the mounting point, not the IP to the remote server. (and, well, it's an absolutely stupid way of serving http... Other solution : turn on the personal web sharing of the PC hosting the data, and set your apache to use mod_proxy so that request to http://apache_ip/ will fetch http://data_host/ patpro |