Re: [users@httpd] No more message

2024-04-21 Thread Gillis J. de Nijs
To unsubscribe, please follow the steps outlined here: https://httpd.apache.org/userslist.html On Sun, Apr 21, 2024 at 9:44 PM Dalibor Medvedović < dalibor.medvedo...@gmail.com> wrote: > I'm out of discussion >

Re: [users@httpd] Reducing redirects

2024-01-25 Thread Gillis J. de Nijs
You could consider creating a static table using RewriteMap: https://httpd.apache.org/docs/current/rewrite/rewritemap.html Rather than first doing http to https and www to non-www, consider adding the RewriteMap in the http- and www-vhosts that you have and redirecting to the final URL straight

Re: [users@httpd] Apache 2.5 Source Code ?

2023-11-06 Thread Gillis J. de Nijs
The Apache Software Foundation hosts many projects, of which httpd is probably the best known. If you refer to that: there is no (released) Apache httpd 2.5. The latest release is 2.4.58. Source is here . On Mon, Nov 6, 2023 at 4:40 PM

Re: [users@httpd] mod_cluster in Apache 2.4.x

2023-09-21 Thread Gillis J. de Nijs
mod_cluster is open source. You can add it yourself to your Apache instance. https://www.modcluster.io/ Regards, Gillis On Thu, Sep 21, 2023 at 8:04 AM vicky chb wrote: > Hi all, > > Does Apache 2.4.x have mod_cluster module available? I checked > https://httpd.apache.org/docs/2.4/mod/ but

Re: [users@httpd] Restart over reload

2022-08-24 Thread Gillis J. de Nijs
I'm not aware of a list either, but my gut says something like: adding or removing modules, changing port numbers or ip addresses and the like, require a restart. "Regular" configuration changes, like you would do in a .htaccess, or adding/removing a VirtualHost can do with a reload.

Re: [users@httpd] Calling htdbm from another server

2022-01-12 Thread Gillis J. de Nijs
I'd probably consider using SQL/LDAP or a shared filesystem for this. Would that work? Alternatively, you could rsync between the servers, depending on how fast you want the updates to happen.

Re: [users@httpd] Allow relative paths in Directory directives?

2020-09-11 Thread Gillis J. de Nijs
Hi Erik, Couldn't you do something like this? That should work just fine, if you have your vhosts in a common structure. Alternatively, you could look at DirectoryMatch and come up with something awful that matches your structure. https://httpd.apache.org/docs/2.4/mod/core.html#directory

Re: [users@httpd] Please respond so I know I'm not Spam

2020-01-31 Thread Gillis J. de Nijs
Was in my spam folder, but I regularly check that. It could be due to your "NOTICE...".

Re: [users@httpd] Re: Virtual host macros and reverse proxy

2020-01-29 Thread Gillis J. de Nijs
9, 2020 at 4:05 PM Tom Browder wrote: > On Wed, Jan 29, 2020 at 08:36 Gillis J. de Nijs > wrote: > > > > There's mod_macro that might be useful. I don't think it does > calculations, though, so you might need to do some things yourself. Maybe > you could indeed genera

Re: [users@httpd] Re: Virtual host macros and reverse proxy

2020-01-29 Thread Gillis J. de Nijs
There's mod_macro that might be useful. I don't think it does calculations, though, so you might need to do some things yourself. Maybe you could indeed generate the conf files yourself and use Include

Re: [users@httpd] Apache 2.4 - 403 Forbidden: After Upgraded the Apache from 2.2.21 to 2.4.25 for all links

2019-12-04 Thread Gillis J. de Nijs
Did you read the upgrade guide at http://httpd.apache.org/docs/2.4/upgrading.html ? It outlines the changes in authorization and access control. I didn't read your configurations, but this might be a good starting point to get you going. Kind regards, Gillis

Re: [users@httpd] Regex in ServerAlias

2019-07-18 Thread Gillis J. de Nijs
But you can do: ServerAlias www.example.com www.example.info www.example.foo.bar

Re: [users@httpd] Setting Directive ServerName in VirtualHost to the full qualified domain of the request

2019-02-28 Thread Gillis J. de Nijs
The ServerName doesn't matter, since it's not used in the ProxyPass. Just make that server.de or whatever. Then create a ServerAlias *.server.de. Keep in mind that this setup allows something like a request to localhost-80.server.de which then gets proxied to localhost:80 and might serve things

Re: [users@httpd] define variables by vhost only

2018-11-05 Thread Gillis J. de Nijs
Alternatlvely, you can just put the AddHandler in the VirtualHost directly, and not bother with the .htaccess files. On Mon, Nov 5, 2018 at 9:43 AM Hajo Locke wrote: > Hello List, > > iam looking for a way to use define to create variables limited to > vhosts (apache 2.4). > Currently i have

Re: [users@httpd] Trouble-shooting Apache 2.2 Alias

2018-10-29 Thread Gillis J. de Nijs
nd "Directory" settings. They are also on a separate filesystem > from the server root and the DocumentRoot. Should we add something else? > > Thanks! > > Leam > > On 10/29/18 4:14 AM, Gillis J. de Nijs wrote: > > The only other thing I can think of right now is

Re: [users@httpd] Trouble-shooting Apache 2.2 Alias

2018-10-29 Thread Gillis J. de Nijs
The only other thing I can think of right now is that either the config is somehow not included (but in that case the Alias probably wouldn't work either), or it is before the block, which then overrides the former. All of this is assuming that you only have two blocks in your config. Anyway,

Re: [users@httpd] Trouble-shooting Apache 2.2 Alias

2018-10-26 Thread Gillis J. de Nijs
For any troubleshooting, your starting point should be the error log. It usually explains pretty well why something is forbidden. On Thu, Oct 25, 2018 at 9:52 PM Leam Hall wrote: > Following the Alias docs ( > https://httpd.apache.org/docs/2.2/mod/mod_alias.html#alias) and it's not > working.

Re: [users@httpd] IP address used by Apache reverse proxy?

2018-09-25 Thread Gillis J. de Nijs
I'm starting to think you don't know what you need, and we don't understand what you want. So, drop everything you (think you) know, and start over. What are you trying to do? Not how you're trying to do it, or why, but WHAT do you want to do? WHAT components are involved? I'm thinking it's

Re: [users@httpd] How to avoid plain password in mod_ldap

2018-09-12 Thread Gillis J. de Nijs
The documentation states that you can use an executable to return the password. Since the password is read on server startup, you could make that script owned by root and give it rx permissions for root only. That should make sure no one (except root) can read your password.

Re: [users@httpd] Reverse Proxy trouble with mod_substitute

2018-09-04 Thread Gillis J. de Nijs
Yes, it is. You can't rewrite something that's gzipped, so you'd have to unzip it first, or - like you did - never have it gzipped in the first place. See also http://www.apachetutor.org/admin/reverseproxies where there's a full reverse proxy scenario configured and explained. It uses the same

Re: [users@httpd] VirtualHost and HTTPS

2018-08-30 Thread Gillis J. de Nijs
Also see https://wiki.apache.org/httpd/NameBasedSSLVHosts As a rule, it is impossible to host more than one SSL virtual host on the > same IP address and port. This is because Apache needs to know the name of the host in order to > choose the correct certificate to setup the encryption layer.

Re: [users@httpd] Problem with CGI script

2017-12-29 Thread Gillis J. de Nijs
DirectoryIndex contains a list of files to try, not a full path. My guess is that it's supposed to be DirectoryIndex index.cgi instead of the path. On Fri, Dec 29, 2017 at 11:05 AM, mahmood n wrote: > Hi, > > > > In one the www folders, I have an index.cgi which

Re: [users@httpd] if statement and ssl directives (apache 2.4)

2017-12-06 Thread Gillis J. de Nijs
Hi Adam, Simplest, in my opnion, is simplest to read and parse for a human. What's wrong with: ## One VirtualHost that does everything ServerName www.comptoir-hardware.com SSLEngine on SSLCertificateFile /etc/ssl/certs/comptoir-hardware.com.crt SSLCertificateKeyFile

Re: [users@httpd] Hide URL link of target

2017-08-01 Thread Gillis J. de Nijs
Hi Chris, Displaying the URL when hovering over the link or loading the site is something your browser does, and not something Apache httpd has any control over. Cheers, Gillis On Tue, Aug 1, 2017 at 11:28 AM, Chris Chia wrote: > Hi > > > > Very newbie question. > > > >

Re: [users@httpd] configure apache2 on ubuntu 16.04 vps to use php-fpm is not leading to the desired outcome

2017-07-25 Thread Gillis J. de Nijs
I see you have libapache2-mod-php7.0 installed. Are you sure you disabled it? In Ubuntu you can use a2dismod to disable modules. I suspect mod_php is listed there. It's not required when you want to do fpm. On Tue, Jul 25, 2017 at 10:02 AM, Luca Toscano wrote: > Hi