Request: fix missing /nfs/www

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

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

/nfs/www/WWW_pages/chongo/isthe.com

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

/nfs/WWW_pages/chongo/isthe.com

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
Hello,

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

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 sh.sonic.net, the program fails. The reason is that the php program seems web paths that start with:

/nfs/www/WWW_pages/...

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

/nfs/WWW_pages/...

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
Hello,

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

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

Thank you,
Sonic
Community and Escalations Specialist
David C
3 posts Page 1 of 1

Who is online

In total there are 3 users online :: 0 registered, 0 hidden and 3 guests (based on users active over the past 5 minutes)
Most users ever online was 487 on Tue May 05, 2020 2:07 pm

Users browsing this forum: No registered users and 3 guests