You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Rob Landry <bi...@hotmail.com> on 2003/03/10 21:55:51 UTC

[users@httpd] How do I access files on a different drive using Apache 2.0 for

I have just installed Apache for the first time and have discovered it is a
really nice server.  One issue I am running into is that I cannot access
another hard drive on my computer.  I am running Apache 2.0 on WindowsXP.  I
installed apache in the default folder:
C:\Program Files\Apache Group\Apache2

I am running my web site from:
C:\*\my documents\my webs\budlite\

I am trying to access some files I have stored on my D: drive for users with
a password.

How can I configure the server to actually see the files on my d: drive?
Thank you,
Rob


_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How do I access files on a different drive using Apache 2.0 for

Posted by BAO RuiXian <ba...@atbusiness.com>.
You can use "alias" directive.

Bao

Rob Landry wrote:
> 
> I have just installed Apache for the first time and have discovered it is a
> really nice server.  One issue I am running into is that I cannot access
> another hard drive on my computer.  I am running Apache 2.0 on WindowsXP.  I
> installed apache in the default folder:
> C:\Program Files\Apache Group\Apache2
> 
> I am running my web site from:
> C:\*\my documents\my webs\budlite\
> 
> I am trying to access some files I have stored on my D: drive for users with
> a password.
> 
> How can I configure the server to actually see the files on my d: drive?
> Thank you,
> Rob

-- 
BAO RuiXian, SOFTWARE ENGINEER, Project Consulting, Software Services
AtBusiness Communications Corporation, Kaapeliaukio 1, 00180 Helsinki
Phone +358-9-2311 6674, Mobile +358-50-329 6275, Fax +358-9-2311 6601
www.atbusiness.com,  Email: {bao.ruixian, ruixian.bao}@atbusiness.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] How do I access files on a different drive using Apache 2.0 for

Posted by David Picon Alvarez <el...@myrealbox.com>.
> How can I configure the server to actually see the files on my d: drive?

Not sure, but try using alias

Alias /whatYouWant whatItReallyIs

HTH,
--David.



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org