[users@httpd] Strange behaviour when using -DFOREGROUND

2018-07-09 Thread Bachsau
Hi! I just installed Apache 2 on my Arch Linux Desktop machine for testing purposes and instead of running it as a system wide service through systemd I run it under my default user session whenever I need it, using the following command: /usr/bin/httpd -d "$HOME/Webserver" -f "$HOME/Webserv

Re: [users@httpd] Can I return a 404 for a file that is also the ErrorDocument?

2018-07-09 Thread John
I may be missing something here but in the case where 404.html is directly requested as /404.html, the 200 is the correct response code because the file was found and served. 404 means that the file was not found. regards, John==On Mon, 2018-07-09 at 10:33 -0400

Re: [users@httpd] Can I return a 404 for a file that is also the ErrorDocument?

2018-07-09 Thread Eric Covener
On Mon, Jul 9, 2018 at 9:49 AM David Wakelin wrote: > I have created a file 404.html to act as my 404 page that is returned by > ErrorDocument: > > ErrorDocument 404 /404.html > > This works fine, except when accessing 404.html directly, which returns a > status code of 200 > > I've attempted a R

[users@httpd] Register now for ApacheCon and save $250

2018-07-09 Thread Rich Bowen
Greetings, Apache software enthusiasts! (You’re getting this because you’re on one or more dev@ or users@ lists for some Apache Software Foundation project.) ApacheCon North America, in Montreal, is now just 80 days away, and early bird prices end in just two weeks - on July 21. Prices will b

[users@httpd] Can I return a 404 for a file that is also the ErrorDocument?

2018-07-09 Thread David Wakelin
I have created a file 404.html to act as my 404 page that is returned by ErrorDocument: ErrorDocument 404 /404.html This works fine, except when accessing 404.html directly, which returns a status code of 200 I've attempted a RewriteRule like so: ErrorDocument 404 /404.html RewriteRule "404\.ht

[users@httpd] Re: Test Functionality of Apache web server

2018-07-09 Thread Christophe JAILLET
Le 09/07/2018 à 08:40, Hemant Chaudhary a écrit : Any update on this ? Thanks Hemant On Fri, Jul 6, 2018 at 2:44 PM, Hemant Chaudhary > wrote: Hi All, Do we have any test suite for unit testing of apache source code?? I have taken open sou