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

advanced help can't show README.txt #6

Closed
spacereactor opened this issue May 20, 2011 · 5 comments
Closed

advanced help can't show README.txt #6

spacereactor opened this issue May 20, 2011 · 5 comments
Assignees

Comments

@spacereactor
Copy link

some modules have their help text in README.txt and it can't show on the nginx setting

@perusio
Copy link
Owner

perusio commented May 25, 2011

Hello,

That's not very kosher :( Nevertheless the best thing to do is to enable on a case by case basis each README.txt and constrain it to be internal. Can you give me an example of a module that uses a README for help so that I can try it out?

Thanks,
António

@ghost ghost assigned perusio Aug 19, 2011
@fidelix
Copy link

fidelix commented Aug 22, 2011

Just install the advanced_help module.
When accessing any module's help, you'll get a 404 (except if that module uses help hooks, and few do)

@perusio
Copy link
Owner

perusio commented Sep 16, 2011

Fixed now. Try it out. Thanks for your patience.

@olariuromeo
Copy link

i have the some error, whose function is to activate advanced_help? for exemple i can't see the html files in /help/classified/views from module https://drupal.org/project/ed_classified get 404 error.

.txt files can be seen perfectly, but I have a problem with .html files

@mdryan
Copy link

mdryan commented Oct 25, 2014

Sorry to resurrect an old thread, but I also had olariuromeo's problem of not being able to see anything else generated at /help/. This was one of the first google hits, so posting the solution here in case it helps others who come across the same problem.

I'm not sure I totally understand the need for the nested location in perusio's initial fix, but adding a try_files $uri @drupal-noargs; after the more specific location fixed it for me. My config is based on a fairly recent version of perusio's and that section now looks like this:

        location ^~ /help/ {
                location ~* ^/help/[^/]*/.*.txt$ {
                        include fastcgi_params;
                        fastcgi_param QUERY_STRING q=$uri&$args;
                        fastcgi_param SCRIPT_NAME /index.php;
                        fastcgi_param SCRIPT_FILENAME $document_root/index.php;
                        fastcgi_pass www;
                }
                try_files $uri @drupal-no-args;
        }

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

No branches or pull requests

5 participants