coldfusion - Unable to access shared folder on windows via apache on mac -


i trying setup local site on mac.

the configuration -

application server: coldfusion 9

webserver: apache 2

i have got local site , running. in site, wish access images hosted on dev server (windows 2003). images folder shared , can mount mac.

i have added virtual director in httpd.conf -

alias /images/covers/uk "//xxx.xx.x.xx/imagesfolder/covers/uk/" <directory "//xxx.xx.x.xx/imagesfolder/covers/">    options indexes followsymlinks    allowoverride    order allow,deny    allow    require granted </directory>   alias /images/covers "//xxx.xx.x.xx/imagesfolder/covers/" <directory "//1xxx.xx.x.xx/imagesfolder/covers/">    options indexes followsymlinks    allowoverride    order allow,deny    allow    require granted </directory> 

here xxx.xx.x.xx ip of windows server. imagesfolder name of shared folder on server.

however, not able access folder , getting 403 error.

any idea how fix please.

you should mount shared folder on mac , configure apache use mounted directory alias. apache cannot access smb/cifs shares url trying do.

alias /images "/path/to/mounted/images-directory" <directory /path/to/mounted/directory>   ... </directory> 

i advise read apache's manual more in deep details.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -