Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate an error #1

Open
GoogleCodeExporter opened this issue Apr 22, 2015 · 7 comments
Open

Generate an error #1

GoogleCodeExporter opened this issue Apr 22, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Download a file
2.
3.

What is the expected output? What do you see instead?
I see the file downloading but it makes an error in the apache log.

What version of the product are you using? On what operating system?
1.0.5

Please provide any additional information below.
The error generated is
mod_auth_token: malformed or nonexistent token
i know why, it's because it run authenticate_token one time with the url
/download/the token/the date/the file.zip
and another time with
/download/the file.zip
and the last one will generate an error, but still send the file.

Original issue reported on code.google.com by [email protected] on 15 Feb 2010 at 6:34

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Hi Madri2,
Have you changed the code ? since when the module print "malformed or 
nonexistent
token" it returns unauthorized. 

Can you please provide the way you are generating the token to investigate? 
I'll try to reproduce.

Thank you.

Original comment by [email protected] on 16 Feb 2010 at 10:32

@GoogleCodeExporter
Copy link
Author

i did not changed the code

$time_now = dechex(time());
    $hash = md5('blablabla'.'/'.$filename.$time_now);
    return '/download/'.$hash.'/'.$time_now.'/'.$filename;

loaded modules:

apache2ctl -t -D DUMP_MODULES
Loaded Modules:
 core_module (static)
 log_config_module (static)
 logio_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 alias_module (shared)
 auth_basic_module (shared)
 authn_file_module (shared)
 authz_default_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cache_module (shared)
 cgi_module (shared)
 dav_module (shared)
 dav_svn_module (shared)
 authz_svn_module (shared)
 dir_module (shared)
 env_module (shared)
 limitipconn_module (shared)
 mem_cache_module (shared)
 mime_module (shared)
 security2_module (shared)
 negotiation_module (shared)
 perl_module (shared)
 php5_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 ssl_module (shared)
 status_module (shared)
 unique_id_module (shared)
 auth_token_module (shared)
Syntax OK

Original comment by [email protected] on 16 Feb 2010 at 10:48

@GoogleCodeExporter
Copy link
Author

 apache2ctl -v
Server version: Apache/2.2.9 (Debian)
Server built:   Nov 14 2009 21:07:23


 php -v
PHP 5.2.6-1+lenny4 with Suhosin-Patch 0.9.6.2 (cli) (built: Nov 22 2009 
01:50:58)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
    with XCache v1.2.2, Copyright (c) 2005-2007, by mOo

Original comment by [email protected] on 16 Feb 2010 at 1:24

@GoogleCodeExporter
Copy link
Author

Did you have some news ?
Can you reproduice the error ?

Original comment by [email protected] on 21 Feb 2010 at 2:13

@GoogleCodeExporter
Copy link
Author

I can't reproduce the error (on squezze) , i will try to get the same setup on 
lenny.

Original comment by [email protected] on 22 Feb 2010 at 11:29

@GoogleCodeExporter
Copy link
Author

i have uninstalled the mod limitipconn and i don't have the warning anymore,
can you explain me why ?

Original comment by [email protected] on 23 Feb 2010 at 2:10

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant