You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jens Kallup <ka...@web.de> on 2021/03/17 21:35:36 UTC

[users@httpd] RewriteRule Time settings for sub folders

Hello,

I use Apache 2.4.  is it possible to add time based openings in vhost's
sub/multiple directories?
When yes, how can I do this?

Greets, Jens


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] RewriteRule Time settings for sub folders

Posted by Antony Stone <An...@apache.open.source.it>.
On Wednesday 17 March 2021 at 22:35:36, Jens Kallup wrote:

> Hello,
> 
> I use Apache 2.4.  is it possible to add time based openings in vhost's
> sub/multiple directories?

I do not believe apache can use time specifications in its configuration files.

Out of interest, what would you do with them if this were possible?

Maybe I'm wrong, maybe there's another solution to your requirement, or maybe 
this is a feature request for apache...


Antony.

-- 
Pavlov is in the pub enjoying a pint.
The barman rings for last orders, and Pavlov jumps up exclaiming "Damn!  I 
forgot to feed the dog!"

                                                   Please reply to the list;
                                                         please *don't* CC me.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] RewriteRule Time settings for sub folders

Posted by Will Fatherley <we...@gmail.com>.
On Wed, Mar 17, 2021 at 5:36 PM Jens Kallup <ka...@web.de> wrote:

> Hello,
>
> I use Apache 2.4.  is it possible to add time based openings in vhost's
> sub/multiple directories?
> When yes, how can I do this?
>
>
A possibility might be to write up a cron script that interchanges the
value of an environment variable. Then the value transition of the variable
can be used to expose subdirs dynamically with mod_rewrite or an if-node?

Best,
Will

Re: [users@httpd] RewriteRule Time settings for sub folders

Posted by Eric Covener <co...@gmail.com>.
https://httpd.apache.org/docs/trunk/rewrite/advanced.html#time-dependent

On Wed, Mar 17, 2021, 5:35 PM Jens Kallup <ka...@web.de> wrote:

> Hello,
>
> I use Apache 2.4.  is it possible to add time based openings in vhost's
> sub/multiple directories?
> When yes, how can I do this?
>
> Greets, Jens
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>