Re: [users@httpd] Running Lua Script using mod_lua

2018-05-16 Thread Daniel Gruno
On 05/17/2018 08:21 AM, Luca Toscano wrote: Hi, 2018-05-16 12:22 GMT+02:00 Hemant Chaudhary mailto:hemantdude.chaudh...@gmail.com>>: Hi, While running lua_script using mod_lua, I am getting this error in error_log. What does it mean "PANIC: unprotected error in call to Lua AP

Re: [users@httpd] Running Lua Script using mod_lua

2018-05-16 Thread Luca Toscano
Hi, 2018-05-16 12:22 GMT+02:00 Hemant Chaudhary : > Hi, > > While running lua_script using mod_lua, I am getting this error in > error_log. What does it mean > "PANIC: unprotected error in call to Lua API (core and library have > incompatible numeric types)" > > What version of Lua are you using

Re: [users@httpd] IF request_uri regex syntax

2018-05-16 Thread Chaitanya Govande
Thank you very much - this seems to have did the trick. I appreciate it, Yann. On Wed, May 16, 2018 at 2:38 PM, Yann Ylavic wrote: > On Wed, May 16, 2018 at 9:22 PM, Chaitanya Govande wrote: >> >> Following is the code: >> >> > The issue may be that '/' is both a regex separator and a path in t

Re: [users@httpd] IF request_uri regex syntax

2018-05-16 Thread Yann Ylavic
On Wed, May 16, 2018 at 9:22 PM, Chaitanya Govande wrote: > > Following is the code: > > regex", so you possibly could try something like "m#manager/status#" here. Regards, Yann. - To unsubscribe, e-mail: users-unsubscr...@httpd

[users@httpd] IF request_uri regex syntax

2018-05-16 Thread Chaitanya Govande
Hello, Trying to check the request uri against a regex in an IF directive. This IF directive is located inside a tag. Following is the code: AddOutputFilterByType INFLATE;SUBSTITUTE;DEFLATE text/html However, when trying to restart apache, I get the following: May 16 19:20:53 apache.local

[users@httpd] In directory pages, how to show file dates in a specific timezone?

2018-05-16 Thread Dedeco Balaco
Hello, I could not find a way to show file listing pages (of Apache) with times in correct the timezone. The timezone is defined in the enrironment, but Apache refuses to take it into account. The discussion made in https://www.linuxquestions.org/questions/showthread.php?p=5855435 shows tha

[users@httpd] Running Lua Script using mod_lua

2018-05-16 Thread Hemant Chaudhary
Hi, While running lua_script using mod_lua, I am getting this error in error_log. What does it mean "PANIC: unprotected error in call to Lua API (core and library have incompatible numeric types)" Thanks Hemant