[Web-ftp] connection problem please help
Status: Beta
Brought to you by:
aball
From: Samuel M. <sa...@mu...> - 2004-04-07 21:51:43
|
Hello all-- First of all, thanks to Anthony for writing this software, this is exactly what I need ! Most unfortunately I've been having some trouble getting it to work. Here is my problem : when I click on login, the page just sits there and after a while times out on http://www.samuelmurez.com/cgi-bin/webftp/web-ftp.cgi/02650/START? and then returns me to the login screen I have tried to include helpful information below. Please ask me for anything I haven't provided, and please bear in mind that I may have forgotten something very very simple. I would really appreciate any help on this. All best, --Sam - apache error log says : [Wed Apr 07 23:43:36 2004] [error] [client 193.251.61.201] Remote user timed out at /var/www/cgi-bin/webftp/web-ftp.cgi line 603, <STDIN> line 1., referer: http://www.samuelmurez.com/cgi-bin/webftp/web-ftp.cgi [Wed Apr 07 23:43:36 2004] [error] [client 193.251.61.201] Remote user timed out at /var/www/cgi-bin/webftp/web-ftp.cgi line 603, <STDIN> line 1., referer: http://www.samuelmurez.com/cgi-bin/webftp/web-ftp.cgi [Wed Apr 07 23:44:05 2004] [error] [client 193.251.61.201] Remote user timed out at /var/www/cgi-bin/webftp/web-ftp.cgi line 603, <STDIN> line 1., referer: http://www.samuelmurez.com/cgi-bin/webftp/web-ftp.cgi [Wed Apr 07 23:44:05 2004] [error] [client 193.251.61.201] Could not connect to socket: Connection refused, referer: http://www.samuelmurez.com/cgi-bin/webftp/web-ftp.cgi - vsftpd (my ftp server) is registering a successful login - here's what I'm getting in the apache access log : aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:22:45:11 +0200] "GET /cgi-bin/webftp/web-ftp.cgi HTTP/1.1" 200 2105 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:22:45:29 +0200] "POST /cgi-bin/webftp/web-ftp.cgi HTTP/1.1" 302 0 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:22:45:29 +0200] "POST /cgi-bin/webftp/web-ftp.cgi HTTP/1.1" 302 0 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:22:45:30 +0200] "POST /cgi-bin/webftp/web-ftp.cgi HTTP/1.1" 302 0 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:22:50:31 +0200] "GET /cgi-bin/webftp/web-ftpc.cgi/01664/START? HTTP/1.1" 404 1267 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:23:02:22 +0200] "GET /cgi-bin/webftp/web-ftpc.cgi/01664/START? HTTP/1.1" 404 1267 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:23:02:23 +0200] "GET /cgi-bin/webftp/web-ftp.cgi HTTP/1.1" 200 2105 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:23:02:36 +0200] "POST /cgi-bin/webftp/web-ftp.cgi HTTP/1.1" 200 398 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:23:02:40 +0200] "GET /cgi-bin/webftp/web-ftp.cgi HTTP/1.1" 200 2105 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:23:02:49 +0200] "POST /cgi-bin/webftp/web-ftp.cgi HTTP/1.1" 302 0 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:23:07:49 +0200] "GET /cgi-bin/webftp/web-ftp.cgi/02148/START? HTTP/1.1" 200 420 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:23:07:55 +0200] "GET /cgi-bin/webftp/web-ftp.cgi HTTP/1.1" 200 2105 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:23:08:43 +0200] "POST /cgi-bin/webftp/web-ftp.cgi HTTP/1.1" 302 0 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:23:08:43 +0200] "POST /cgi-bin/webftp/web-ftp.cgi HTTP/1.1" 302 0 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:23:13:44 +0200] "GET /cgi-bin/webftp/web-ftp.cgi/02363/START? HTTP/1.1" 200 420 aboulogne-102-1-2-201.w193-251.abo.wanadoo.fr - - [07/Apr/2004:23:13:49 +0200] "GET /cgi-bin/webftp/web-ftp.cgi HTTP/1.1" 200 2105 - I'm running redhat 9 on my server which is running vsftpd and web-ftp, apache 2.0.40 - I've put the files in /var/www/cgi-bin/webftp which is all owned and sub-owned by apache:apache - I've edited my apache config with : <Directory "/var/www/cgi-bin/webftp"> Options ExecCGI </Directory> - I have libnet - I can login with a normal ftp client - this problem occurs with IE6 on WinME and Mozilla on RedHat 9 - my /var/www/cgi-bin/webftp/web-ftp.conf is : #### CONFIG #### #This is the host machine you will connect to automatically #leave this blank to allow users to connect to any computer #they want to, effectively making Web-FTP an ftp client. #To specify a different port simply put :PORTNUMBER at the #End of your hostname. I.E. for port 10000: localhost:10000 #You may now also put a comma separated list here to specify #multiple sites that will appear at login in a drop down box. FTPhost= #Change this to anything you like #If you have multiple sites put their names in a comma separated #list in the same order as the hosts above. FTPHostname=Yoruban #How long without activity does webftp wait for the user #(In seconds) Timeout=300 #Directory that the webserver can create or write to, where #the unix socket handles will reside. SocketDir=/tmp/WebFTP #BaseCGI is the actual Web-FTP perl program, the default is #'web-ftp.cgi'. You only need to set this if you use the MainCGI #option, and if you have changed the perl script's file name to #something other than web-ftp.cgi BaseCGI= #MainCGI is the cgi to use for session connections. This was added #in 2.0.1 for use with the c session cgi. Using the c program to #connect to Web-FTP sessions will improve speed and reduce system #load. A compiled version is included with the distribution named #web-ftpc.cgi, to use that you would put MainCGI=web-ftpc.cgi #If you use this option, and the perl script is named other than #web-ftp.cgi you will need to set the BaseCGI setting MainCGI=web-ftpc.cgi #Specifies the mime types file for the viewer MimeFile=/etc/mime.types #Maximum file edit or view size. Script must buffer entire file #in memory, so keep this reasonable. MaxEditSize=100000 #If you have another language map in the /lang directory for web-ftp #say spanish.map, put spanish here to use it instead of the default, english Language=english,bork,chinese,french,german,italian,japanese,korean,portuguese,russian,spanish,chinese-traditional ##### APPEARANCE ##### # COLORS #Background Color BackgroundColor=#FFFFFF #Color of Buttons ButtonColor=#CCAAAA #Error Color ErrorColor=#FF0000 #link color LinkColor=#0000FF #link color VisitedLinkColor=#990099 #Color of login window LoginColor=#77EECC #text color TextColor=#000000 #Color of even file and directory columns EvenColColor=#FFFFFF #Color of odd file and directory columns OddColColor=#EEEEEE # Size of the files frame, default *, * suggested, though it # can be a number, designated pixel height, or a %, designating # Percentage height FilesFrameSize=* # Size of the files frame, default *, * suggested, though it # can be a number, designated pixel height, or a %, designating # Percentage height DirsFrameSize=* # Size of the files frame, default 40, 40 suggested, though it # can be a number, designated pixel height, or a %, designating # Percentage height InfoFrameSize=30 # WHAT IS SHOWN #Do not show delete button HideDelete=0 #Do not show download button HideDownload=0 #Do not show Last Mod field HideLastMod=0 #Do not show mkdir button HideMkdir=0 #Do not show move button HideMove=0 #Do not show Own/Grp field HideOwnGrp=0 #Do Not show permissions button HidePermButton=0 #Do Not show or allow to change permissions HidePermissions=0 #Do not show Tag field # NOTE: This hide the following buttons: # permissions, download, delete, move # as they do not make sense without the tag field. HideTag=0 #Do not show size field HideSize=0 #Do not show upload button HideUpload=0 #Hide advanced permission edit option (Octal mode) HideOctalPerms=0 #Hide the server messages button HideMessages=0 #Hide the site button HideSite=1 ###EDITORS#### editors=viewer,View editors=editor,Edit,New File #Copyright 2002,2003 Anthony Ball <An...@we...> #Web-ftp 2.2.1 |