1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Alias not allowing read access

Discussion in 'Apache' started by lektrikpuke, Jan 28, 2018.

  1. #1
    I have a raspberry pi that has a mounted usb drive as /media1/usb1 => filearchive. My scripts can move files to /media1/usb1, but I cannot read them (via html) at filearchive or /media1/usb1. I have an alias set up in /etc/apache2/mods-enabled/alias.conf but cannot serve the files that are not located in the original document root.

    I thought about trying virtual host, but I have the primary server set up to serve all docs via https via ip address. This is a problem because I've read you can't mix and match ip addresses with host names on the same server.

    You don't have permission to access /filearchive/1517161507-HMsH4iu_source.wav on this server.
    Apache/2.4.10 (Raspbian) Server at 192.168.10.77 Port 443

    Folders are set to user of www-data with access rwx

    Any ideas?
     
    Last edited: Jan 28, 2018
    lektrikpuke, Jan 28, 2018 IP
  2. lektrikpuke

    lektrikpuke Well-Known Member

    Messages:
    297
    Likes Received:
    1
    Best Answers:
    1
    Trophy Points:
    113
    #2
    It's working. Conflicting aliases. =)
     
    lektrikpuke, Jan 29, 2018 IP