Morpheus Posted January 3, 2007 Report Share Posted January 3, 2007 Hi everyone - happy new year! I am replacing a PC webserver for a local business who were operating a Mambo site but I'm running into a small issue.... The previous IT guy has done some very weird stuff so to save some time I have used Uniform server. Getting the Mambo site up and running took almost 5 minutes but I have hit a snag! The website serves up documents (PDFs) that are located on their network but are not within the scope of the W drive or the webroot so I need to invoke some kind of alias or redirection but I just can't make it work. I found a post on the web suggesting that I map a network drive i.e. G: to the folder on the workstation containing the files and then access them using an alias entry as below but for testing purposes I have tried using the root of the local C drive: The virtual host part is working great but the redirect / alias is driving me nuts! An example of a link is "http://office.english-mutual.co.uk/files/EMW.pdf" <VirtualHost *>ServerName office.english-mutual.co.ukServerAlias english-mutual.co.uk *.english-mutual.co.uk DocumentRoot /www/Intranet/html #<Directory "/www/Intranet/html">#Allow from all#Options +Indexes#Options Indexes FollowSymLinks ExecCGI#</Directory> Alias /files/ "C:/"<Directory "C:/"> Options Indexes Includes AllowOverride All Order allow,deny Allow from all</Directory> ServerAdmin firstname.lastname@example.orgErrorLog logs/english-mutual.co.uk.com-error_logCustomLog logs/english-mutual.co.uk.com-access_log common</VirtualHost> Regards, Adam Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.