webdav bind ip address configuration setting missing
I am using freenas for a file share for several people. I've enabled webdav, but the URL isn't very easy to remember (https://hostname:portnumber/sharename). What I'd like to do is setup a second IP address that will then listen on a normal port, so users don't need to remember a port number - so something like https://webdavserver/sharename.
I am able to add an additional IP address just fine, but webdav doesn't have a configuration setting that allows it to bind to a specific IP address and to listen on specific ports on just that IP. This capability already exists for CIFS, NFS, AFP, etc.
Please add a feature to allow webdav to bind to a specific IP address.
#1 Updated by Jordan Hubbard over 4 years ago
- Category set to 131
- Assignee set to Suraj Ravichandran
Not sure about this feature request - over to Suraj to decide if it's worth doing or not. Binding to multiple IPs from a single box, jails notwithstanding, can lead to some weird network confusion where 1 box is claiming n IPs and network administrators want to kill you because you're also not DHCP'ing for the extra IPs and may well screw up other services on the network (I understand that while in a home sharing scenario, this is not likely, FreeNAS also gets deployed to a variety of other environments).
#3 Updated by Seth Russell over 4 years ago
I understand that the FreeNAS system stores its configuration settings in some sort of database rather than relying on direct edits to the standard files used by Apache HTTPD. I don't know how the web UI and configuration works, but to make webdav listen on a specific IP and port should be something as simple as adding an IP address specification to the Listen and VirtualHost directives.
here's an example showing the diff between the FreeNAS web UI file and my tmp version:
[root@vmfreenas /etc/local/apache24/Includes]# diff ./webdav.conf /tmp/webdav.conf
< Listen 8080
< <VirtualHost *:8080>
\ No newline at end of file
Hope this helps
#6 Updated by Suraj Ravichandran almost 3 years ago
- Project changed from 9 to FreeNAS
- Category changed from 197 to 131
- Status changed from Screened to Unscreened
- Target version changed from 237 to 9.10.1-U2
Exchanging tickets with Deepika, giving her this one instead of 14723, while also moving this to FreeNAS9 (since 10's WebDAV will be a rewrite for release anyways)