Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Cherokee: dev

Re: Issue 643 in cherokee: Site all up and running BUT cannot download or upload using version 0.99.28 on centos 5.3

 

 

Cherokee dev RSS feed   Index | Next | Previous | View Threaded


codesite-noreply at google

Dec 10, 2009, 7:16 AM

Post #1 of 2 (270 views)
Permalink
Re: Issue 643 in cherokee: Site all up and running BUT cannot download or upload using version 0.99.28 on centos 5.3

Comment #12 on issue 643 by tahers: Site all up and running BUT cannot
download or upload using version 0.99.28 on centos 5.3
http://code.google.com/p/cherokee/issues/detail?id=643

Hi Stubs.
Is there any update on this issue. Was it finally due to un-migrated
htaccess?
If it was, I think we should close the bug.



--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev


codesite-noreply at google

Dec 10, 2009, 1:00 PM

Post #2 of 2 (245 views)
Permalink
Re: Issue 643 in cherokee: Site all up and running BUT cannot download or upload using version 0.99.28 on centos 5.3 [In reply to]

Comment #13 on issue 643 by ruby.rub...@yahoo.co.uk: Site all up and
running BUT cannot download or upload using version 0.99.28 on centos 5.3
http://code.google.com/p/cherokee/issues/detail?id=643

Hello, no it wasn't htaccess. I have done some more research and found a
possible
remedy, however I lack the knowledge regarding regex.

THe code added was:

location ~ \.php {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
set $path_info "";
set $real_script_name $fastcgi_script_name;
if ($fastcgi_script_name ~ "^(.+?\.php)(/.+)$") { <<**this is the line I
need to edit
set $real_script_name $1;
set $path_info $2;
}
fastcgi_param SCRIPT_FILENAME /usr/share/nginx/html$fastcgi_script_name;
fastcgi_param SCRIPT_NAME $real_script_name;
fastcgi_param PATH_INFO $path_info;
include /etc/nginx/fastcgi_params;
}

**THat line accepts: http://url/download.php?id=1234

I need to edit it to accept
http://192.168.149.136/download.php/3826/XXXXXX.torrent

Any help with the regex would be great

Stubs

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
_______________________________________________
Cherokee-dev mailing list
Cherokee-dev [at] lists
http://lists.octality.com/listinfo/cherokee-dev

Cherokee dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.