Apache httpd.conf change without restart the server

1.4k Views Asked by At

According to my client requirement every time a user register to software we need to provide a separate URL. For that we are using apache and registering the new url in apache httpd.conf. Now the issue is after every new url entry we need to restart the apache server to reflect the changes. But this approach is bad because restarting the apache server also effecting the existing client. So, I would like to reflect the changes without restarting.

So, an any one help me to do that with apache. I am also open for other tools if that can solve my issue.

1

There are 1 best solutions below

2
On

Apache can't update it's configuration without restart (graceful or clean).

It's a bad idea to store generated URLs in Apache config.

Much better is to use rewrite maps or store URLs in database and rewrite them with mod_rewrite