GIDForums  

Go Back   GIDForums > Web Hosting Forums > Apache Web Server Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 09-Aug-2009, 13:12
snomimons snomimons is offline
New Member
 
Join Date: Aug 2009
Location: Dorset, UK
Posts: 2
snomimons is on a distinguished road
Question

Directory on other drive


Hello, I'm new here so please play nice

I managed to do this in the past but built a new server and I've lost and forgotten something.

My Apache is running on Windows XP and is installed on C:\

Now I've run out of space on that drive and I know I can use a second drive as a directory for example:

domain.a/hello/ = C:\Apache\htdocs\hello
&
domain.a/goodbye/ = D:\goodbye

Now I know this can be edited in the httpd.conf file but what do I need to add?

Thank you in advanced, because I've looked on a lot of sites and found nothing.
  #2  
Old 09-Aug-2009, 20:55
admin's Avatar
admin admin is offline
Administrator
 
Join Date: Sep 2002
Posts: 841
admin will become famous soon enough

Re: Directory on other drive


What you are looking for is probably the ALIAS option in the httpd.conf file.

Something like this:

Code:
Alias /goodbye/ "D:/goodbye/" <Directory "D:/goodbye"> Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all </Directory>

As commented (in the file, under ALIASES), please pay special attention to those trailing slashes and decide if you want them or not.
__________________
Custom BB codes you can use here:
[HTML] | [C++] | [CSS] | [JAVA] | [PY] | [VB]
  #3  
Old 10-Aug-2009, 03:56
snomimons snomimons is offline
New Member
 
Join Date: Aug 2009
Location: Dorset, UK
Posts: 2
snomimons is on a distinguished road

Re: Directory on other drive


Yes it works, thank you sooo much!
 
 

Recent GIDBlogProgramming ebook direct download available by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ANN library with BCC55 sheree C++ Forum 10 02-Apr-2008 16:43
Named virtual host not working Johnnyrotton Apache Web Server Forum 4 04-Sep-2007 21:32
Buying a SATA Drive and Using it as my Master OS Drive dw84uk Computer Hardware Forum 1 27-Nov-2006 20:20
How do I include a directory on a networked drive on the Apache2 server? thewheelman Apache Web Server Forum 0 23-Mar-2005 12:38
Can't view pages from another machine on the Intranet aevans Apache Web Server Forum 9 14-May-2004 03:26

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 01:01.


vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.