My Oracle Support Banner

How To Conditionally Rewrite By Testing The Existence Of A File System File (Doc ID 728385.1)

Last updated on JUNE 29, 2023

Applies to:

Oracle HTTP Server - Version to [Release AS10gR2 to AS10gR3]
Information in this document applies to any platform.


The goal is to perform an Apache rewrite on the condition that a particular file exists at the operating system level.

This would provide the convenience of being able to write / delete a file via , for example, a cron job,  that would effectively close off access to a page or pages at certain times of the day or week.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.