View Full Version : Serving Files Outside the Apache Root

09-03-2005, 09:07 PM
Actually a Double-Barrel question

Can I use Alias, Redirect, or do I need to set up a Virtual Host situation?


Running on an XP machine which recieves My DSL via Bellsouths' Westell External Modem. XP then connects My LAN(three machines) to the Internet via ICS. The folders I need to access are on WorkStation2//E:\

This IS to be "Members Only"!
MySite: cksPlace (http://cksPlace.dns2go.com)

Second Barrel, I Also have a Public Site which I Serve Affiliate banners to From MySite. Have as yet to configure htaccess to allow unquestioned access to these called from that site.

Any suggestions will Help.

09-04-2005, 06:17 AM
not sure if you can alias a network share directly (perhaps you can... did you try ?? ) if not map the share as a network drive , the remoteness should then be transparent to apache & I would use a simple Alias in apache, leave virtual hosts for exactly that ;)

as for 2) google for mod_rewrite for pages & pages of mind-bending regex :D

09-04-2005, 08:42 AM
yep!...You're thinking along the Exact Lines I was. ie: yes, did try That! Mapped the Drive to the Host machine and used

Alias /all_albw/ "G:/All_ALBW/"

Also Tried

Alias /all_albw/ "//workstation2/E:/All_ALBW"

to no avail