On Sun, 2003-12-14 at 20:54, Craig Tinson wrote:
guys.. hope someone can point me in the right direction here..
I have a rh9 server co-located at my isp.. I want to export the web root.. I have:
----------------------- /var/www/ <my ip>/255.255.255.0(no_root_squash,rw)
One more note...to enable it for writing, you'll need to enter each, writeable IP address. It's not obvious in the manual, but NFS doesn't allow wildcard matches to write...ever. (Unless they've changed it recently).
Export it like /var/www ip-address options
...and restart nfs; that should do it.
Brian,
I think you are mistaken...
/var/www 192.168.1.0/255.255.255.0(no_root_squash,rw) will export to the entire 192.168.1.x IP range.
/var/www 192.168.1.1(no_root_squash,rw) will export to a single IP address.
/var/www 192.168.1.1 (no_root_squash,rw) will export to the entire internet (note the space).
/var/www (no_root_squash,rw) will export to the entire internet.
/var/www *(no_root_squash,rw) will export to the entire internet.
It has been this way for at least the past six years. See man exports for more details (and other docs).
-DU-...etc...