Apache Network Drive Alias

后端 未结 4 639
小蘑菇
小蘑菇 2021-01-07 12:56

I\'ve searched through stackoverflow for a similiar problem, but none of the solutions seem to work.

I\'m running WAMP and have a network drive T:\\ whi

4条回答
  •  礼貌的吻别
    2021-01-07 13:21

    You need to use forward slashes instead of backslashes or escape them all using an additional backslashas well as enclosing the paths in quotes as stated by Xophmeister. Eg:

    Alias /p "//ps-file.server_location.edu/A$/"
    
    Order allow,deny
    Allow from all
    
    

    or

    Alias /p "\\\\ps-file.server_location.edu\\A$\\"
    
    Order allow,deny
    Allow from all
    
    

    You are correct to use a UNC path unless you create a mapped drive in the user profile being used to run the apache service.

提交回复
热议问题