httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filipe Cifali <cifali.fil...@gmail.com>
Subject Re: [users@httpd] Re: 0 length robot.txt
Date Thu, 04 Oct 2018 17:50:12 GMT
You want to use a CustomLog for virtualhost config to gather the most info
you can from the request:

https://httpd.apache.org/docs/current/mod/mod_log_config.html#customlog

Also, read the *Context* so you know where you can use them:

https://httpd.apache.org/docs/2.4/mod/core.html#LogLevel



On Thu, Oct 4, 2018 at 2:46 PM @lbutlr <kremels@kreme.com> wrote:

> On 03 Oct 2018, at 18:27, Filipe Cifali <cifali.filipe@gmail.com> wrote:
> > you can for example turn log level to debug and access the site, tailing
> the logs should provide some information about what is breaking.
>
> Is it possible to set the log level just for a virtual host? I thought
> that was a server-wide setting. I tried adding
>
> LogLevel warn rewrite:trace8
>
> to the virtual host and didn’t get an error on starting apache, but the
> http-error log for the site didn’t appear any different.
>
> > Also, why you have a ProxyPass on a virtualhost that doesn't run
> anything PHP? Create a template without the config and use it.
>
> All the sites are setup for php so that I don’t have to get an email, go
> edit a file, and restart apache just because someone wants to put some php
> code in their page.
>
> At least today it is failing immediately, so debugging should be easier.
>
> --
> @mdhughes: One of the few regrets I have about lawn-less apartments:
> Shallow graves are so much harder to come by.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

-- 
[ ]'s

Filipe Cifali Stangler

Mime
View raw message