Request: fix missing /nfs/www

Web hosting discussion, programming, and shared and dedicated servers.
4 posts Page 1 of 1
by chongo » Fri Apr 24, 2020 9:23 pm

In web server applications (like php) one sees paths of the form:


However when logging into to a sever via ssh, one sees paths of the form:


Please add the following symlink to my filesystem:

ln -s . /nfs/www

Or please do:

mkdir -p /nfs/www
ln -s /cgi-bin /nfs/www/cgi-bin
ln -s /ftp /nfs/www/ftp
ln -s /web /nfs/www/www_pages
ln -s /web /nfs/www/WWW_pages

so that from an ssh based login, /nfs/www/WWW_pages resolves to /nfs//WWW_pages.

Thank you.

chongo (Landon Curt Noll - sonic username: chongo) /\oo/\
by chongo » Mon May 04, 2020 8:02 pm

Had anyone else noticed the difference between what the web server sees and the filesystem one observes when you ssh into to

We have a php program that runs successfully via a URL in the web server. However when we try to run the same php program when ssh-ed into, the program fails. The reason is that the php program seems web paths that start with:


whereas when I login via ssh, I see paths of the form:


The lack of a /nfs/www means I cannot debug the code directly from a shell. It means that code that runs via the web server cannot work under the shell.

Either /nfs/www should point at /nfs, OR there should be a /nfs/www directory with suitable symlinks for cgi-bin, ftp www_pages, WWW_pages in order to fix this problem.

I cannot do this because /nfs is owned by root, someone from Sonic needs to fix this.

chongo (Landon Curt Noll) /\oo/\
by david.c » Tue May 05, 2020 11:03 am

The path you can use for this situation would be: /nfs/WWW_pages/username/

This should work fine for both shell and http. We have tested both with no issues.

Thank you,
Community and Escalations Specialist
David C
by chongo » Thu Jul 09, 2020 7:33 am
Thank you
4 posts Page 1 of 1

Who is online

In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 999 on Mon May 10, 2021 1:02 am

Users browsing this forum: No registered users and 4 guests