RE: [users@httpd] Access from Internet to web app

2020-04-22 Thread serge.chavant
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 <  
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

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

 



Re: [users@httpd] Access from Internet to web app

2020-04-22 Thread Yann Ylavic
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] web app from Internet

2020-04-22 Thread serge.chavant
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] RE: LDAP SASL support in Apache configuration

2020-04-22 Thread Yann Ylavic
On Wed, Apr 22, 2020 at 1:11 PM Eric Covener  wrote:
>
> On Wed, Apr 22, 2020 at 3:28 AM Rathore, Rajendra  wrote:
> >
> > Hi Team,
> >
> >
> >
> > Can you please provide me any document or module which we can use to 
> > support LDAP SASL(ADS) with Apache httpd server.
> >
>
> There's a large patch somewhere in bugzila.

I see two PRs in my mail archive:
 https://bz.apache.org/bugzilla/show_bug.cgi?id=51757
 https://bz.apache.org/bugzilla/show_bug.cgi?id=55178

Hth..

Regards,
Yann.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] RE: LDAP SASL support in Apache configuration

2020-04-22 Thread Eric Covener
On Wed, Apr 22, 2020 at 3:28 AM Rathore, Rajendra  wrote:
>
> Hi Team,
>
>
>
> Can you please provide me any document or module which we can use to support 
> LDAP SASL(ADS) with Apache httpd server.
>

There's a large patch somewhere in bugzila.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] RE: LDAP SASL support in Apache configuration

2020-04-22 Thread Rathore, Rajendra
Hi Team,

Can you please provide me any document or module which we can use to support 
LDAP SASL(ADS) with Apache httpd server.

Thanks and Regards,
Rajendra Rathore
9922701491

From: Rathore, Rajendra 
Sent: Thursday, April 16, 2020 3:35 PM
To: users@httpd.apache.org
Subject: [users@httpd] LDAP SASL support in Apache configuration
Importance: High


External email from: 
users-return-119401-rarathore=ptc@httpd.apache.org
Hi Team,
Can you please let me know whether Apache configuration support LDAP SASL 
mechanism or not.

If yes please let me know how?


Thanks and Regards,
Rajendra Rathore
9922701491



[users@httpd] Access from Internet to web app

2020-04-22 Thread serge.chavant
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.