0

Issue server: Windows 2008
Apache Version: 2.2

Ive been having issues getting an alias to work on a Windows Server 2008 box. The same code is config is working fine on one of my test environments that runs Windows 2003.

Its very simple. I just need an alias that moves the request to a local file structure on the same server apache is running from.

What works on 2003:

    <IfModule alias_module>

    #alias attempt
    Alias /pages/images/img C:/folder/anotherFolder/images/img


</IfModule>
<Directory C:/folder/anotherFolder/images/img>
        Order allow,deny
        Allow from all
</Directory>

This works great in 2003, its grabbing the files from the local location outside of the project.

I have done the same setup on a 2008 and Apache starts up but the alias appears to never be used sense the new directory is never grabbed.

Also note that on 2008 Apache is running on the local system account with the folder that needs to be accessed shared through windows sharing along with the same directory sharing in apache.

Any idea why this might not be working in 2008?

littlevahn
  • 637
  • 2
  • 8
  • 25
  • Are you sure files from "anotherFolder" are readable by the Apache user? Check the access.log for any message. Check as well alias module is enabled – regilero Dec 16 '11 at 16:23
  • Both should be good. Thank you for the suggestions, I've even given Apache an admin user to run off of. Along with opening the privilege's to that folder and sub folders. – littlevahn Dec 19 '11 at 17:02

0 Answers0