« Return to Thread: [OT] Apache error log

Re: [OT] Apache error log

by Alexander Dewilde :: Rate this Message:

Reply to Author | View in Thread

Jason,

I'll give it a try...

One more thing: if lasso uses apache to retrieve files, and those  
files are in a protected directory 'deny from all', how can lasso get  
access to those files?




> Unfortunately that's normal. Lasso uses Apache to retrieve the include
> files. The only real downside is that it clutters up your logs. One
> solution is to raise the LogLevel in Apache, though that may cause
> other things not to be logged that you'd like to know about. There's
> another solution using mod_rewrite that we found here on the list. Bil
> had something to do with it IIRC. This would go in your Apache config,
> and assumes you use an '.inc' extension for your include files:
>
> # disallow direct serving of .inc files
> # this method should avoid cluttering up apache's
> # error logs with subrequests.
> # -------------------------------------------------------------------
> RewriteCond %{REQUEST_URI}  ^.*\.inc$  [NC]
> RewriteRule (.*)  - [L,NS,F]
>
>
> - jason

--
This list is a free service of LassoSoft: http://www.LassoSoft.com/
Search the list archives: http://www.ListSearch.com/Lasso/Browse/
Manage your subscription: http://www.ListSearch.com/Lasso/


 « Return to Thread: [OT] Apache error log