New to CGI

Free version of Xfilesharing

Moderator: admin

Message
Author
hitec7
Posts: 8
Joined: Aug 09, 2007 12:49 am

New to CGI

#1 Postby hitec7 » Aug 09, 2007 12:52 am

Hello goodjob for ur first release i just got the script

im new in CGI :) u speak in the installation about

Code: Select all

Change relative URLs in .htaccess file in htdocs to proper ones.


I dont see any .htaccess file to edit how should i do it?

there is no an example .htaccess to work on plz can u give me one? :)

admin
Site Admin
Posts: 1791
Joined: Mar 22, 2006 12:32 pm

Re: New to CGI

#2 Postby admin » Aug 09, 2007 7:00 am

hitec7 wrote:Hello goodjob for ur first release i just got the script

im new in CGI :) u speak in the installation about

Code: Select all

Change relative URLs in .htaccess file in htdocs to proper ones.


I dont see any .htaccess file to edit how should i do it?

there is no an example .htaccess to work on plz can u give me one? :)



Hello,

we just emailed you correct zip. Thanks for letting us know.

henry068
Posts: 1
Joined: Aug 09, 2007 8:40 am

#3 Postby henry068 » Aug 09, 2007 8:45 am

Hi Admin !
Why when upload it on my servers after it's report as :


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.37 Server at www.bestupload.net Port 80


Why ? Please help me .

admin
Site Admin
Posts: 1791
Joined: Mar 22, 2006 12:32 pm

#4 Postby admin » Aug 09, 2007 10:01 am

henry068 wrote:Hi Admin !
Why when upload it on my servers after it's report as :


Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/1.3.37 Server at www.bestupload.net Port 80


Why ? Please help me .



Something wrong with your installation. Double-check everything.
If that will not help - email us your FTP connection info, we will check.

hitec7
Posts: 8
Joined: Aug 09, 2007 12:49 am

#5 Postby hitec7 » Aug 09, 2007 10:52 am

thanks alot it worked now ...

but something else is wrong...

http://www.savefilez.org/

when i upload many times the progress bar stops updating it freezes

I dont know what is causing this tbh...

also ill like to add that in my .htacess in htdocs i get error if i use this command so i commened it and it works...
#Options FollowSymLinks
RewriteEngine on

admin
Site Admin
Posts: 1791
Joined: Mar 22, 2006 12:32 pm

#6 Postby admin » Aug 09, 2007 10:55 am

hitec7 wrote:thanks alot it worked now ...

but something else is wrong...

http://www.savefilez.org/

when i upload many times the progress bar stops updating it freezes

I dont know what is causing this tbh...

also ill like to add that in my .htacess in htdocs i get error if i use this command so i commened it and it works...
#Options FollowSymLinks
RewriteEngine on


Please check that you have proper .htaccess file in your cgi-bin.

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#7 Postby PilgrimX182 » Aug 09, 2007 11:00 am

First of all I see problem with Perl & Filesystem time synchonizaion(happens on some virtual hostings), you should apply quick fix for this:

in upload_status.cgi find

Code: Select all

my $ftime = (lstat($flength_file))[9]; # Upload start time

and replace it with

Code: Select all

my $ftime = time;


test again then. Probably this is not the only problem.

Also I see that captchas images not generating...make sure captchas folder CHMODed to 766 or 777.
Last edited by PilgrimX182 on Aug 09, 2007 11:03 am, edited 1 time in total.

hitec7
Posts: 8
Joined: Aug 09, 2007 12:49 am

#8 Postby hitec7 » Aug 09, 2007 11:02 am

yea the .htaccess in cgi-bin gives me no errors it seem to work...

only when i comment this line it works otherwise it gives me 403 error .....
"#Options FollowSymLinks"

Also I see that captchas images not generating...make sure captchas folder CHMODed to 766 or 777.


it was just a path problem now it works but i still get the frozen Progress Bar and after i applied your fix.

hitec7
Posts: 8
Joined: Aug 09, 2007 12:49 am

#9 Postby hitec7 » Aug 09, 2007 7:49 pm

I forgot to say thanks all for the fast support :)

I hope to see a nice development of this script in the future :)

note. The script does not work in Servage Shared Hosting.

alang
Posts: 3
Joined: Dec 21, 2007 6:26 pm
Contact:

#10 Postby alang » Dec 22, 2007 1:29 am

I also do not found any .htaccess file in my htdocs folder thus my site is not working properly. Could anyone please paste the code here so I can create it myself.

doowane
Posts: 6
Joined: Nov 30, 2007 7:01 pm

#11 Postby doowane » Dec 22, 2007 7:27 pm

alang wrote:I also do not found any .htaccess file in my htdocs folder thus my site is not working properly. Could anyone please paste the code here so I can create it myself.


RewriteEngine on

RewriteRule ^$ /cgi-bin/index.cgi [L]
RewriteRule ^([0-9A-Z]{12})/(.+)$ /cgi-bin/index.cgi?act=download1&id=$1&fname=$2 [L]
RewriteRule ^del\-([0-9A-Z]{12})\-([0-9A-Z]+)/.+$ /cgi-bin/index.cgi?del=$1-$2 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([a-z0-9\-\_]+).html$ /cgi-bin/index.cgi?act=page&tmpl=$1 [L]

User avatar
PilgrimX182
Posts: 2182
Joined: Mar 22, 2006 1:39 pm
Location: UFO Lab
Contact:

#12 Postby PilgrimX182 » Dec 24, 2007 7:37 am

yea, Servage hosting has bad reputation with XUpload &XFileSharing cause they're using strong caching which makes impossible to track uploads well.


Return to “XFileSharing Free”

Who is online

Users browsing this forum: No registered users and 0 guests