Re: [users@httpd] reverse proxy issue

2022-06-08 Thread Deepak Goel
How does Apache access the application server? Is the ip address of application server changing (and it coincides with the 404 error)? Deepak "The greatness of a nation can be judged by the way its animals are treated - Mahatma Gandhi" +91 73500 12833 deic...@gmail.com Facebook: https://www.fac

Re: [users@httpd] reverse proxy issue

2022-06-08 Thread Yann Ylavic
On Wed, Jun 8, 2022 at 3:21 PM Serge Krawczenko wrote: > > We have application server behind httpd as a reverse proxy, > with basic ldap auth, so only ldap authenticated users are able to get into > the application. > (Require valid-user > Allow from all > ) It's usually not a good idea

Re: [users@httpd] Apache website conversion from alias to virtualhost

2022-06-08 Thread Paul Kudla (SCOM.CA Internet Services Inc.)
please note that changing the site around you will also have to update your dns to point to the webserver ie : basecolldev.mydomain.fr needs a dns lookup otherwise apache virtual hosts would get setup to match fyi Happy Wednesday !!! Thanks - paul Paul Kudla Scom.ca Internet Services

Re: [users@httpd] Apache website conversion from alias to virtualhost

2022-06-08 Thread Tom Browder
On Wed, Jun 8, 2022 at 07:12 Thomas WILLIAMSON wrote: > Hello, > > I have to take over an internal Web server that has been configured by a > colleague who is no longer there. Our developers team asks me to convert > applications URLs from an *Alias* to a *Virtualhosts* (subdomain naming) > syste

[users@httpd] reverse proxy issue

2022-06-08 Thread Serge Krawczenko
Hello, My issue is very simple but complicated by sudden behavior. We're unable to resolve it for years so decided to request community's help. We have application server behind httpd as a reverse proxy, with basic ldap auth, so only ldap authenticated users are able to get into the application.

Re: [users@httpd] Apache website conversion from alias to virtualhost

2022-06-08 Thread Thomas WILLIAMSON
Hello, I eventually managed to make it functional, by following: - File /etc/apache2/default-server.conf within : Allow Override *None* becomes Allow Override *All* - File /etc/apache2/vhosts.d/basecoll-ssl.conf within : Options -Indexes -Includes -ExecCGI -FollowSymlinks becomes Op

Re: [users@httpd] Apache website conversion from alias to virtualhost

2022-06-08 Thread Yehuda Katz
You probably need to do exactly what the error message says: You currently have "-FollowSymlinks" in your options. You can probably just change that to a + and make sure that it is in the directory configuration for /var/www - Y Sent from a device with a very small keyboard and hyperactive autoco

Re: [users@httpd] Apache website conversion from alias to virtualhost

2022-06-08 Thread Frank Gingras
As for the error log entry, it does tell you what to do exactly to fix the issue. Do you understand it? On Wed, 8 Jun 2022 at 08:51, Eric Covener wrote: > > > > avoid hostnames in VirtualHost tags. If you don't care what IP > address the connection comes in on, use *:443. > > On Wed, Jun 8, 20

Re: [users@httpd] Apache website conversion from alias to virtualhost

2022-06-08 Thread Eric Covener
> avoid hostnames in VirtualHost tags. If you don't care what IP address the connection comes in on, use *:443. On Wed, Jun 8, 2022 at 8:12 AM Thomas WILLIAMSON wrote: > > Hello, > > I have to take over an internal Web server that has been configured by a > colleague who is no longer there. O

Re: [users@httpd] Apache website conversion from alias to virtualhost

2022-06-08 Thread Thomas WILLIAMSON
Error log: [Wed Jun 08 14:45:32.634334 2022] [rewrite:error] [pid 29729] [client > 10.9.4.140:55414] AH00670: Options FollowSymLinks and > SymLinksIfOwnerMatch are both off, so the RewriteRule directive is also > forbidden due to its similar ability to circumvent directory restrictions : > /var/ww

Re: [users@httpd] Apache website conversion from alias to virtualhost

2022-06-08 Thread Thomas WILLIAMSON
Hello, Thank you for such a quick response! Modifying this option in file /etc/apache2/default-server.conf within returns a prohibited access (403 error) page: [image: image.png] -- Thomas WILLIAMSON • Technicien Systèmes et réseaux *Tél.* 05 49 61 25 25 (*interne *: 2235) *Eaux de Vienne

Re: [users@httpd] Apache website conversion from alias to virtualhost

2022-06-08 Thread Yehuda Katz
You have "AllowOverride None" in your "". This means your .htaccess file and therefore your mod_rewrite configuration is not being read. The simplest option is "AllowOverride All" (you can specify specific overrides too if you want). - Y Sent from a device with a very small keyboard and hyperacti

[users@httpd] Apache website conversion from alias to virtualhost

2022-06-08 Thread Thomas WILLIAMSON
Hello, I have to take over an internal Web server that has been configured by a colleague who is no longer there. Our developers team asks me to convert applications URLs from an *Alias* to a *Virtualhosts* (subdomain naming) system. For instance: https://srv-intra.mydomain.fr/basecolldev shoul