RE: [users@httpd] Access from Internet to web app
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 : DocumentRoot /var/www/html/glpi ServerName 192.168.0.60 ServerAlias glpi Require all granted AllowOverride All Order deny, allow deny from all Allow from all AuthType Basic In "/etc/apache2/ports.conf" there is : Listen 80 Listen 443 Listen 443 #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 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 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
Re: [users@httpd] Access from Internet to web app
Hi Serge, On Mon, Apr 20, 2020 at 6:43 PM 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 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 I can't really suggest something more precise without knowing about your needs and environment... Regards, Yann. - To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
[users@httpd] Access from Internet to web app
Hi team, I need to access to a web app from the local network and from internet (GLPI) I use linuxlite =ubuntu 18.04 and Apache 2 with SSL certificat. But, I don't know to set up Apache 2 to do it. Are there a real documentation, simple and complete ? Thanks in advance for your help, Regards, Serge.
RE: [users@httpd] Access from Internet to web app
Hi team, Thanks for your answer Oops ! I’m not rewrite correctly from my VM On my VM, the « > » doesn’t exist. These are the « < ». So, it’s not the problem, sorry. I need your help Thanks for advance Best regards De : Jack M. Nilles Envoyé : lundi 20 avril 2020 20:11 À : users@httpd.apache.org Objet : Re: [users@httpd] Access from Internet to web app For starters, all your entries >/Directory> should read On 20 Apr 2020, at 9:43, mailto:serge.chav...@anconseil.eu> > mailto:serge.chav...@anconseil.eu> > wrote: Hi team, I need to access to a web app from the local network and from internet (GLPI) I use linuxlite =ubuntu 18.04 and Apache 2 with SSL certificat. The current configuration is : * (in « /etc/apache2/ » folder) Apache2.conf : AllowOverride All >/Directory> - (in « /etc/apache2/conf-available » folder ) Glpi.conf AllowOverride All >/Directory> Options -Indexes >/Directory> Options -Indexes >/Directory> 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 » So, it’s not reliable. I don’t understand and I don’t know what to do ? Thanks by advance for your help Best regard
Re: [users@httpd] Access from Internet to web app
For starters, all your entries >/Directory> should read > On 20 Apr 2020, at 9:43, > wrote: > > Hi team, <> > > I need to access to a web app from the local network and from > internet (GLPI) > > I use linuxlite =ubuntu 18.04 and Apache 2 with SSL > certificat. > > The current configuration is : > (in « /etc/apache2/ » folder) > Apache2.conf : > > AllowOverride All > >/Directory> > >- (in « /etc/apache2/conf-available » folder ) >Glpi.conf > > AllowOverride All > >/Directory> > >/var/www/html/glpi/config> > Options -Indexes > >/Directory> > > > Options -Indexes > >/Directory> > > 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 » > > So, it’s not reliable. > > I don’t understand and I don’t know what to do ? > > Thanks by advance for your help > > Best regard
[users@httpd] Access from Internet to web app
Hi team, I need to access to a web app from the local network and from internet (GLPI) I use linuxlite =ubuntu 18.04 and Apache 2 with SSL certificat. The current configuration is : * (in < /etc/apache2/ > folder) Apache2.conf : AllowOverride All >/Directory> - (in < /etc/apache2/conf-available > folder ) Glpi.conf AllowOverride All >/Directory> Options -Indexes >/Directory> Options -Indexes >/Directory> 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 > So, it's not reliable. I don't understand and I don't know what to do ? Thanks by advance for your help Best regard