Hi Yann,

 

                Thanks a lot for your help.

 

                GLPI is a web app (the site to use, it must be open from and 
towards Internet)

 

                The linux release is LinuxLite 4.8 (=Ubuntu 18.04)

 

                So, the first conf file is /etc/apache2/apache2.conf

 

                Inside there is this : includeOptional sites-enabled/*.conf

 

                So it read the conf file (glpi.conf) of app :

 

                                In "/etc/apache2/sites-enabled" there is 
glpi.conf, it contains :

 

                                <VirtualHost *:443>

                                               DocumentRoot /var/www/html/glpi

                                               ServerName 192.168.0.60

                                               ServerAlias glpi

                                               <Directory /var/www/html/glpi/>

                                                               Require all 
granted

                                                               AllowOverride All

                                                               Order deny, allow

                                                               deny from all    
 

                                                               Allow from all

                                                               AuthType Basic

                                               </Directory>

                               </VirtualHost>

 

                In "/etc/apache2/ports.conf" there is :

                               Listen 80

                               <ifModule ssl_module>

                                               Listen 443

                               </ifModule>

                               <ifModule mod_gnutls.c>

                                               Listen 443

                               </ifModule>

                #vil: syntax=apache ts=4 sw=4 sts=4 sr noet

 

                The ssl module is ok, the web site works on local machine 
(192.168.0.60) with certificate.

 

                But, none other PC of the network can connect on, from outside 
(Internet) not too.

 

                To answer at your question :

Access from both local network or internet is done on different IP addresses 
(and/or DNS names) is suppose, right?

 

Now, I try to access from the network, after I will try from Internet. And, 
yes, from outside the local network the access will have a DNS address, and 
from inside with ip adress.

 

 

                About : 

This looks like the application needs an access to a database, something httpd 
can do nothing about I'm afraid.

 

I know, that the mariaDB falls after about 10 minutes, now.

I don’t think, it’s an apache2 default

 

Thanks in advance for your help

Serge

 

-----Message d'origine-----
De : Yann Ylavic <ylavic....@gmail.com> 
Envoyé : mercredi 22 avril 2020 20:51
À : users@httpd.apache.org
Objet : Re: [users@httpd] Access from Internet to web app

 

Hi Serge,

 

On Mon, Apr 20, 2020 at 6:43 PM < <mailto:serge.chav...@anconseil.eu> 
serge.chav...@anconseil.eu> wrote:

> 

> 

>                 I need to access to a web app from the local network 

> and from internet (GLPI)

 

Not sure what "GLPI" internet means.

 

> 

>                 The current configuration is :

 

Is that complete configuration?

For instance I don't see some <VirtualHost> configuration which is the entry 
point in Apache httpd for serving content from a listening IP address.

Access from both local network or internet is done on different IP addresses 
(and/or DNS names) is suppose, right?

 

> 

>                 With this setup, the site is not available from Internet. How 
> to do ?

> 

> 

> 

>                 And I can access it about 10 minutes from local 

> machine and after a error message appears : « A link to the SQL server 

> could not be establied. Please check your configuration »

 

This looks like the application needs an access to a database, something httpd 
can do nothing about I'm afraid.

 

> 

>                 I don’t understand and I don’t know what to do ?

 

To start with httpd, there is:

 <https://httpd.apache.org/docs/2.4/getting-started.html> 
https://httpd.apache.org/docs/2.4/getting-started.html

I can't really suggest something more precise without knowing about your needs 
and environment...

 

Regards,

Yann.

 

---------------------------------------------------------------------

To unsubscribe, e-mail:  <mailto:users-unsubscr...@httpd.apache.org> 
users-unsubscr...@httpd.apache.org

For additional commands, e-mail:  <mailto:users-h...@httpd.apache.org> 
users-h...@httpd.apache.org

 

Reply via email to