Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Document root on another PC

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  DirectoryIndex, and other commands for the htacce..  
Author Message
dragonslayerde

External


Since: Jul 28, 2003
Posts: 1



(Msg. 1) Posted: Mon Jul 28, 2003 2:39 pm
Post subject: Document root on another PC
Archived from groups: alt>apache>configuration (more info?)

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

 >> Stay informed about: Document root on another PC 
Back to top
Login to vote
patpro

External


Since: Jul 06, 2003
Posts: 18



(Msg. 2) Posted: Mon Jul 28, 2003 10:09 pm
Post subject: Re: Document root on another PC [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In article <bg2qmv$7nn$03$1@news.t-online.com>,
"Kolja Engelmann" <dragonslayerde.RemoveThis@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
<a style='text-decoration: underline;' href="http://apache_ip/" target="_blank">http://apache_ip/</a> will fetch <a style='text-decoration: underline;' href="http://data_host/" target="_blank">http://data_host/</a>

patpro<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Document root on another PC 
Back to top
Login to vote
user2398

External


Since: Jul 29, 2003
Posts: 2



(Msg. 3) Posted: Tue Jul 29, 2003 6:21 pm
Post subject: Re: Document root on another PC [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"patpro" <patpro DeleteThis @elena.patpro.net> wrote in message
news:patpro-64D67F.19095828072003@biggoron.nerim.net...
 > In article <bg2qmv$7nn$03$1@news.t-online.com>,
 > "Kolja Engelmann" <dragonslayerde DeleteThis @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.

There is no need to use samba or NFS (we're talking about Windows here), you
can just map shares to a local drive letter to accomplish the same thing,
like this:
DocumentRoot "G:/wwwroot"

 >(and, well, it's an absolutely stupid way of
 > serving http...

Neither you nor I are familiar with the OP's network setup, so comments like
this are hardly relevant. How about giving him a bit of credit.


Gabriel<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Document root on another PC 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
ssl document download - Hi ,i have a page witch downloads any document (ms word,zip ,excel ...) ,my application runs over ssl connecton with apache & mod_ssl . My problem is when i download documents from my page over ssl session the navigator warns me about insecure eleme...

adding document include path to working shtml config - adding document include path to working shtml config in Apache 1.3.x I have server side includes working but would like to set a path for include statements to look in --other than current directory--. i.e. If the #include file doesn't insist in....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]