|
-
Jun 5th, 2008, 08:11 AM
#1
Thread Starter
Frenzied Member
How to make virtual host/Alias in apache pointing to external hardrive?
How to make alias point to external hardrive folder
How to make virtual host/Alias in apache pointing to external hardrive(Keepting root directory working)?
Hi all could any one tell me how to make Virtual Host/Alias pointing to external hardrive
in my Apache/1.3.33 (Win32) server. ( I don't want to put all the content into default root directory).
This is exactly what i want .Suppose my default root directory is "C:\MyServer\htdocs", and the new root is "E:\music".
Basically i want only the urls that link to the virtual host will use the "E:\music" root directory, and all the others (on port 80) will still link to the default root directory.
Hope you guys help me achive this task.Thanks
-
Jun 5th, 2008, 05:58 PM
#2
Re: How to make virtual host/Alias in apache pointing to external hardrive?
if i am correct, your using wamp server? If so, start the wamp server, click the system tray icon, go to Apache -> Alias Directories -> Add Alias.
My usual boring signature: Something
-
Jun 5th, 2008, 09:05 PM
#3
Thread Starter
Frenzied Member
Re: How to make virtual host/Alias in apache pointing to external hardrive?
 Originally Posted by dclamp
if i am correct, your using wamp server? If so, start the wamp server, click the system tray icon, go to Apache -> Alias Directories -> Add Alias.
dclamp i am using wamp but older version (1.4.4) with Apache/1.3.33 (Win32) which doesn't have any alias dicrectories in the system tray icon. i don't want to upgrade since as some of them might stop working!
I hope you help me fix it with same old version of wamp.Thanks
-
Jun 5th, 2008, 09:35 PM
#4
Re: How to make virtual host/Alias in apache pointing to external hardrive?
My usual boring signature: Something
-
Jun 7th, 2008, 04:23 AM
#5
Re: How to make virtual host/Alias in apache pointing to external hardrive?
Its as easy as editing the httpd.conf file:
Code:
Alias /external/ e:/
<Directory e:/>
Options -Indexes
</Directory>
-
Jun 7th, 2008, 06:51 AM
#6
Thread Starter
Frenzied Member
Re: How to make virtual host/Alias in apache pointing to external hardrive?
Thanks vistualAd .so in order to access content of e: drive i should use http://localhost/external ?
-
Jun 7th, 2008, 07:05 AM
#7
Re: How to make virtual host/Alias in apache pointing to external hardrive?
Yes, make sure you include a solidus at the end of the address to signify that it is a directory and not a resource.
-
Jun 7th, 2008, 08:07 AM
#8
Thread Starter
Frenzied Member
Re: How to make virtual host/Alias in apache pointing to external hardrive?
Visual add i tried it but i keep getting Forbidden error when trying to load
http://localhost/external/. Could you help me fix that ?My media player applet can't play it either!! Furthermore, is there away to limit external hardrive access to a perticuler folder not the whole drive ?
Last edited by tony007; Jun 7th, 2008 at 08:18 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|