Monday, July 02, 2018

Re: httpd setup info?

On Mon, 2018-07-02 at 06:27 -0500, edgar@pettijohn-web.com wrote:
> chroot "/var/content"
> server "example.com" {
> listen on * port 80
> listen on :: port 80
> root "/webserver/htdocs"
> directory auto index
> }

Thanks, this works. Actually I pushed things down one level and used

chroot "/var/content/webserver"

and then I can take the default for the root macro and omit it.


When I click on a PDF doc file, my browser (on Linux) wants to download
it instead of opening it. What's the appropriate way to let the browser
know it should open it in Acrobat (or default app set in the browser)
instead of downloading the file?

/jl

No comments:

Post a Comment