Re: [users@httpd] protect apache to stop work if logdir is missing

2019-09-09 Thread D';Arcy Cain
On 9/9/19 12:13 PM, Anton Gorlov wrote: > 09.09.2019 19:07, @lbutlr пишет: >> On 9 Sep 2019, at 09:57, Anton Gorlov wrote: >>> I need the web server to continue working if the user has deleted the log >>> directory. >> I would solve this by preventing the user from deleting the directory or >> r

Re: [users@httpd] Re: Reditect HTTP to HTTPS .htaccess

2018-03-04 Thread D';Arcy Cain
On 03/04/2018 08:07 AM, LuKreme wrote: > I don't do this in .htaccess, I do it in > > >ServerName www.example.com >ServerAlias example.com >Redirect / https://www.example.com/ > > > But something like this should work in .htaccess as well: > > RewriteEngine On > RewriteCond %{S

Re: [users@httpd] mirror a html site

2017-12-24 Thread D';Arcy Cain
On 12/24/2017 12:54 PM, Jonathan Sélea wrote: > Offtopic, but why do is your email "miguel_3_gonza...@yahoo.es.INVALID"? The purpose is to lower his spam by making you do some work to to help him. In other words, he's making his spam problem your problem. At least it isn't as bad as making you go

[users@httpd] Trouble with Action directive

2016-12-10 Thread D';Arcy Cain
I am trying to get rid of the PHP module for various reasons. I tried adding the following directives in my .htaccess as a test. The idea is to eventually move that into httpd.conf. AddHandler phpweb .php Action phpweb /cgi-bin/phpweb The binary phpweb is a tine program that simply execs the r