Alias to network drive
Posted by: jalonsoc (---.coraltransports.com)
Date: February 21, 2020 11:45PM

Hi

I've created an alias for a network drive. I've tried several alternatives.

Alias "/logisto/Albaranes" "//192.168.209.226/Albaranes"
<Directory"//192,168,209,226/Albaranes">
Require all granted
#Options Indexes MultiViews
#AllowOverride None
#Order allow,deny
#Allow from all
</Directory>

The server is unable to access. The PHP service is started with the same user that connects the network drive. I work with the 32-bit version of Wampserver 3.2.0

Kind Regards
Justo Alonso

Options: ReplyQuote
Re: Alias to network drive
Posted by: Otomatic (Moderator)
Date: February 22, 2020 03:52PM

Hi,

With device name in place of IP, it works for me :
Alias /myphotos "//DS218/home/sites/photos-ottello"
<Directory "//DS218/home/sites/photos-ottello/">
  Options +Indexes +FollowSymLinks +MultiViews
  AllowOverride all
  Require local
</Directory>

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.