Re: [users@httpd] Variable of document root path based on source ip

2022-05-03 Thread Frank Gingras
A blunt approach could also leverage mod_rewrite, but I would test Yann's suggestion. You can rewrite the path to the filesystem provided that the RewriteRule is in the vhost context. On Tue, 3 May 2022 at 12:57, Ivan Ionut wrote: > No, I have clients that from wan too. Basically when I make som

Re: [users@httpd] Variable of document root path based on source ip

2022-05-03 Thread Ivan Ionut
No, I have clients that from wan too. Basically when I make some important changes to a site...all clients from wan to view the under_construction directory. On 03-05-2022 16:03, Frank Gingras wrote: Do all clients come from the 192.168.1.0/24 [1] range? On Tue, 3 May 2022 at 04:23, Ivan Ion

Re: [users@httpd] Linking website pages with Apache on LocalHost

2022-05-03 Thread Ruben Safir
On 4/27/22 12:25, DiversityLink/Milt Spain wrote: > I have gotten Apache2.4 installed and running on my local computer. It’s > on the C drive and the website is at C:/Apache24/htdocs/Milt.com. >   > The Milt.com folder contains Index (htm file) and Page1 (html file). >   > 127.0.0.1/Milt.com displa

Re: [users@httpd] Variable of document root path based on source ip

2022-05-03 Thread Yann Ylavic
On Tue, May 3, 2022 at 5:44 PM Yann Ylavic wrote: > > On Mon, May 2, 2022 at 8:24 AM Ivan Ionut wrote: > > > > I'm trying to set a virtual host on apache2 with this configuration. > > > > > > ServerName mysite.com > > ServerAlias www.mysite.com > > > > > > Define directory_path /srv/h

Re: [users@httpd] Variable of document root path based on source ip

2022-05-03 Thread Yann Ylavic
On Mon, May 2, 2022 at 8:24 AM Ivan Ionut wrote: > > I'm trying to set a virtual host on apache2 with this configuration. > > > ServerName mysite.com > ServerAlias www.mysite.com > > > Define directory_path /srv/http/mysite > > > Define directory_path /srv/http/under_construc

Re: [users@httpd] Variable of document root path based on source ip

2022-05-03 Thread Frank Gingras
Do all clients come from the 192.168.1.0/24 range? On Tue, 3 May 2022 at 04:23, Ivan Ionut wrote: > I did not understand... I have to define two vhosts configs for mysite.com > with two separate document root in each config? > > > PS: i have one static ip for mysite.com > > On 03-05-2022 00:32,

[users@httpd] REMINDER - Travel Assistance available for ApacheCon NA New Orleans 2022

2022-05-03 Thread Gavin McDonald
Hi All Contributors and Committers, This is a first reminder email that travel assistance applications for ApacheCon NA 2022 are now open! We will be supporting ApacheCon North America in New Orleans, Louisiana, on October 3rd through 6th, 2022. TAC exists to help those that would like to attend

Re: [users@httpd] Variable of document root path based on source ip

2022-05-03 Thread Ivan Ionut
I did not understand... I have to define two vhosts configs for mysite.com with two separate document root in each config? PS: i have one static ip for mysite.com [1] On 03-05-2022 00:32, Frank Gingras wrote: The simple approach here would be to define separate IP:80 vhosts and set a separate