| View previous topic :: View next topic |
| Author |
Message |
hitec7
Joined: 09 Aug 2007 Posts: 8
|
Posted: Aug 09, 2007 12:52 am Post subject: New to CGI |
|
|
Hello goodjob for ur first release i just got the script
im new in CGI u speak in the installation about
| Code: | | 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?  |
|
| Back to top |
|
 |
admin Site Admin

Joined: 22 Mar 2006 Posts: 1127
|
Posted: Aug 09, 2007 7:00 am Post subject: Re: New to CGI |
|
|
| hitec7 wrote: | Hello goodjob for ur first release i just got the script
im new in CGI u speak in the installation about
| Code: | | 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. |
|
| Back to top |
|
 |
henry068
Joined: 09 Aug 2007 Posts: 1
|
Posted: Aug 09, 2007 8:45 am Post subject: |
|
|
Hi Admin !
Why when upload it on my servers after it's report as :
| Quote: | Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@bestupload.net 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 . |
|
| Back to top |
|
 |
admin Site Admin

Joined: 22 Mar 2006 Posts: 1127
|
Posted: Aug 09, 2007 10:01 am Post subject: |
|
|
| henry068 wrote: | Hi Admin !
Why when upload it on my servers after it's report as :
| Quote: | Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@bestupload.net 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. |
|
| Back to top |
|
 |
hitec7
Joined: 09 Aug 2007 Posts: 8
|
Posted: Aug 09, 2007 10:52 am Post subject: |
|
|
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...
| Quote: | #Options FollowSymLinks
RewriteEngine on |
|
|
| Back to top |
|
 |
admin Site Admin

Joined: 22 Mar 2006 Posts: 1127
|
Posted: Aug 09, 2007 10:55 am Post subject: |
|
|
| 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...
| Quote: | #Options FollowSymLinks
RewriteEngine on |
|
Please check that you have proper .htaccess file in your cgi-bin. |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2109 Location: UFO Lab
|
Posted: Aug 09, 2007 11:00 am Post subject: |
|
|
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: | | my $ftime = (lstat($flength_file))[9]; # Upload start time |
and replace it with
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 |
|
| Back to top |
|
 |
hitec7
Joined: 09 Aug 2007 Posts: 8
|
Posted: Aug 09, 2007 11:02 am Post subject: |
|
|
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"
| Quote: | 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. |
|
| Back to top |
|
 |
hitec7
Joined: 09 Aug 2007 Posts: 8
|
Posted: Aug 09, 2007 7:49 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
alang
Joined: 21 Dec 2007 Posts: 3
|
Posted: Dec 22, 2007 1:29 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
doowane
Joined: 30 Nov 2007 Posts: 6
|
Posted: Dec 22, 2007 7:27 pm Post subject: |
|
|
| 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] |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2109 Location: UFO Lab
|
Posted: Dec 24, 2007 7:37 am Post subject: |
|
|
| yea, Servage hosting has bad reputation with XUpload &XFileSharing cause they're using strong caching which makes impossible to track uploads well. |
|
| Back to top |
|
 |
|