I am running drupal 7.59 hosted on nginx webserver and i have set the below location block in nginx.conf configuration file to prevent a file to download. When i hit http://example.com/web.config on the browser, the web.config file gets downloaded. It is not working.
location ~* \.(config)$ {
deny all;
}
I will appreciate if somebody can pitch in for help. Thanks in Advance.
Hello again,
I was able to add days to my date field using computed field and php code. Thanks to the help of wombatbuddy.
Now here is another problem:
1) The date in my computed field is in plain text format.
2) In views, using views conditonal, I want to compare my computed field (plain text date format) to current date (NOW). To be specific, in views condition - when date is less than NOW - then the output is OVERDUE.
Thanks to all who have offered their help, the project has aleay been realized!
--------
I'm responsible for a small Drupal 7 site, for a non-profit psychology group that organizes continuous education activities. The site's main feature is the use of Ubercart for the registration of participants to these activities, and is mainly in French, partly internationalized to English.
I bought a "website security deluxe" from godaddy. This has SSL and stuff.
I'm having problems after that. When I press SAVE button to create a content, the interface does not refresh. So it looks like the content was not created. I think this is related to "mixed content" stuff. Here is an example of the mixed content error which I'm getting. Basically, I was trying to add a forum content, but it was not successful due to the blocked http request.
I have a view on my site that is visible to all signed in users. I'd like to add some notes to this view, e.g. in a footer, but I'd like for only a specific subset of users to be able to see them. Is this possible?