Access CGI-BIN

Web hosting discussion, programming, and shared and dedicated servers.
4 posts Page 1 of 1
by scotts » Sat Jul 06, 2024 11:04 am
Since I am not allowed shell access, the only way I have to update web pages is using FTP.

I need to update a page in my CGI-BIN folder.

How do I access files in the CGI-BIN folder?

The file I am trying to locate is located at:

http://www.sonic.net/cgi-bin/scotts/pdj ... gorder.cgi

When I use FTP to navigate to:

/home2/03/28/scotts/

There is a folder called:

/home2/03/28/scotts/bin

When I click that I am taken to my root directory.

In my root there is also a folder called:

public_cgi

When I click that folder, I am taken back to my root directory.

How do I access the file called http://www.sonic.net/cgi-bin/scotts/pdj ... gorder.cgi

How do I access the cgi folder using FTP?

Thanks,
by apl » Sat Jul 06, 2024 3:41 pm
try
/home/WWW_pages/scotts/cgi-bin/
by scotts » Sat Jul 06, 2024 8:25 pm
Thanks but this folder doesn't show any files.

When I copy and paste:

/home/WWW_pages/scotts/cgi-bin/

into the coffee cup FTP, all it shows is a single folder.

When I click the folder it takes me back to the root directory.

This directory path looks correct, but I can't access the /scotts/cgi-bin/ folder.

Any other suggestions.

Thanks,
by joemuller » Mon Jul 08, 2024 10:57 am
EDIT: The CGI directory should now be viewable. (For the curious, this was due to how proftpd handles symlinks inside of chroot.)

Most accounts should have a 'public_cgi' show up in the home folder when you connect to ftp.sonic.net. If you need to manually navigate to the CGI folder, you can use the following path: (where 'USERNAME' is your login)

/usr/local/lib/httpd/cgi-bin/USERNAME/
I'm a proud employee of Sonic.net! :-)
4 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 2877 on Wed Sep 25, 2024 9:53 pm

Users browsing this forum: No registered users and 3 guests