Re: [users@httpd] openssl comand(s) for https mode on apache 2.4 on windows.

2024-04-16 Thread Will Fatherley
Pardon me- have 443 redirect to 80 of the environment variable is true. Alternatively, have a completely different 443 vhost declared for development purposes On Tue, Apr 16, 2024 at 11:30 AM Will Fatherley wrote: > > But should your development be not protocol independent? If you

Re: [users@httpd] openssl comand(s) for https mode on apache 2.4 on windows.

2024-04-16 Thread Will Fatherley
> But should your development be not protocol independent? If your code > works on http it should also work on https. I am getting sick of these > wordpress idiots where they still have hardcoded links everywhere and I > can't even convert a website from http to https. > TLS is not in the

Re: [users@httpd] openssl comand(s) for https mode on apache 2.4 on windows.

2024-04-16 Thread Will Fatherley
> Can someone please give me exact openssl command(s) to use. > Command parameters can vary, and encryption technology is regulated by national laws. You should consult with your IT security staff on this matter if possible. What you are probably looking for is “how to self-sign my TLS public

Re: [users@httpd] Rewrite query string?

2024-01-04 Thread Will Fatherley
> > https://example.com/search?searchword=CVE-2021-4014= >> >> I've tried the following RewriteCond/RewriteRule in various forms, but not >> sure what I'm doing wrong. >> >> RewriteCond %{QUERY_STRING} ^searchword=(.*) >> RewriteRule ^ q=$1 [NC,L] >> >> Ideas for what I'm doing wrong would be

Re: [users@httpd] Rewrite query string?

2024-01-04 Thread Will Fatherley
> https://example.com/search?searchword=CVE-2021-4014= > > I've tried the following RewriteCond/RewriteRule in various forms, but not > sure what I'm doing wrong. > > RewriteCond %{QUERY_STRING} ^searchword=(.*) > RewriteRule ^ q=$1 [NC,L] > > Ideas for what I'm doing wrong would be greatly

Re: [users@httpd] RE: [External][users@httpd] Building 32-bit Apache-httpd

2023-11-28 Thread Will Fatherley
> >> Any help on this? How to build 32-bit Apache httpd on a 64-bit server? > I am unsure of recommended workarounds as I usually have my package manager build httpd directly from that OSs package index. That said, a container or VM might be a possibility.

Re: [users@httpd] Tracing redirects

2023-11-24 Thread Will Fatherley
> > - use a client on the first url, and write the location header to file or > stdout each time your 3xx response comes through > >> … using a script that has access to a set data structure that can store each request url, so as to break before the second request to the first resource :)

Re: [users@httpd] Tracing redirects

2023-11-24 Thread Will Fatherley
> Any ideas greatly appreciated. > Probably a good idea to think of a longer term vision for logging approach, but the two other possibilities I can think of are - awk grep or sed your configuration files with some desirable regular expression to include the rewrite directives and rules - use a

Re: [users@httpd] dynamic ssl cert/key selection

2023-10-20 Thread Will Fatherley
> Is there a way to chose what ssl certs/keys to load when you have > something like > > ServerAlias test.*.* > > So when host test.example.com is serviced, that it will get > > SSLCertificateFile "/etc/pki/tls/certs/example.com.crt" > > > So when host test.example.net is serviced, that it will

Re: [users@httpd] Child process executing tasks of parent process

2023-09-29 Thread Will Fatherley
It’s not the point of this distribution list to discuss Perl, but fork will return the process id for both processes. A simple pattern for the source code looks like: pid = fork(); if (pid==0){print "do the child things";} else {print "do parent things"} You want to aim your script semantics

Re: [users@httpd] Apache web server httpd in Netgear Wireless Router WNR3500L

2023-09-27 Thread Will Fatherley
> > But when we need to reboot the Netgear wireless router, where are the > Apache web server httpd autostart scripts? Do we have to manually > execute the httpd command every time we reboot the Netgear wireless > router? It depends on the OS distributor, but it’s a typical convention to find

Re: [users@httpd] Information Request | RFC- 7919 Support

2023-09-20 Thread Will Fatherley
> It would be very helpful if someone can help in some way or some > documentation link that gives some more information on RFC-7919 support in > apache httpd server. > Maybe you’re looking for mod_ssl— https://httpd.apache.org/docs/2.4/mod/mod_ssl.html >

Re: [users@httpd] allow general access after 1 auth

2023-08-13 Thread Will Fatherley
> > No, that doesn't satisfy the following: > > > If someone authenticates on https://www.example.com/webapp, the url is > available for everyone. > Could the complicating allow directive sequence be placed in an if/else type of scope that uses some elements of the deciding session?

Re: [users@httpd] allow general access after 1 auth

2023-08-12 Thread Will Fatherley
> > I was wondering if it is possible to allow general access to an url after > some account authenticated for this url. Without the necessity to adapt the > web application for this > > Yes, that would be mod session and it’s related modules

[users@httpd] Tuning TLS of reverse proxy

2022-10-06 Thread Will Fatherley
Hi all, Please let me know if this is not suitable for the user distribution list— There is an interesting question on stack overflow regarding reverse proxy handling of TLS protocol whereby the user is interested in having httpd (the reverse proxy) tunnel incoming requests to a specific TLS

Re: [users@httpd] display Markdown in apache2?

2022-07-17 Thread Will Fatherley
> > Can anyone point me at a resource for help getting apache2 to display > Markdown (.md) files as translated to html? I know there are numerous > markdown variants; I'm looking to display Commonmark. > I use mod_wsgi to execute a Bottle application I wrote that uses nbconvert to dynamically

Re: [users@httpd] Choosing Windows platfrorm

2021-10-22 Thread Will Fatherley
> > Thinking of upgrading hardware (and Apache2.4). Would you choose Windows > 10 Pro or Windows Home Server 2011? and why? > > Thanks for any suggestions, (I have an application that precludes using > Linux in this case.) > It’s tough to give a straight answer to this sort of question,

Re: [users@httpd] Reverse Proxy robots.txt

2021-09-09 Thread Will Fatherley
Did you try using the alias directive ( https://httpd.apache.org/docs/current/mod/mod_alias.html#alias)? Yes, I am using it in /robots.txt. It's also what I'm testing it with. It's > not super urgent, but we'd like to finish it ASAP. > >> >>

Re: [users@httpd] Fwd: [modwsgi] mod_wsgi 3.4 issues

2021-07-28 Thread Will Fatherley
> > > Any hints appreciated. > > Hi Philip, One thing I didn't see in the snippet is usage of the `WSGIPassAuthorization` directive, which is necessary to pass in the content of the Authorization header into the WSGI environment. Best, Will

[users@httpd] blacklisting

2021-06-16 Thread Will Fatherley
Hi All, I have been using A2 for a few years now, but I've not really needed to implement any deny/black-listing because I simply have no meaningful security/traffic constraints. In moving forward with development on top of A2 which does have security implications, I'm hoping it might be possible

Re: [users@httpd] RewriteRule Time settings for sub folders

2021-03-17 Thread Will Fatherley
On Wed, Mar 17, 2021 at 5:36 PM Jens Kallup wrote: > Hello, > > I use Apache 2.4. is it possible to add time based openings in vhost's > sub/multiple directories? > When yes, how can I do this? > > A possibility might be to write up a cron script that interchanges the value of an environment

Re: [users@httpd] 500 Internal Server Error

2021-02-15 Thread Will Fatherley
Should be /var/log/apache2 On Mon, Feb 15, 2021 at 6:34 PM João Aguiar wrote: > Can you tell me where the error logs are in Debian 10 ? > > Em seg., 15 de fev. de 2021 às 20:28, Richard < > lists-apa...@listmail.innovate.net> escreveu: > >> >> >> >> > Date: Monday, February 15, 2021 20:13:29

Re: [users@httpd] mod_cgi not passing headers for authentication

2020-03-10 Thread Will Fatherley
Is there a possibility that you can configure a vhost that forwards to the vhost that you are running cgi in? In that case, you'll get an http-forwarded-for header with the address you want. This of course is a hack, and may not be appropriate On Tue, Mar 10, 2020 at 10:53 AM Yann Ylavic

Re: [users@httpd] ./confgure syntax to create static binary and eliminate "Shared" modules?

2020-02-12 Thread Will Fatherley
A blunt but otherwise reasonable way to handle this situation is to run configure w/o any disable flags, and then just use the `a2dismod` command at some point after the config steps on the shared mods On Wed, Feb 12, 2020 at 3:13 PM edflecko . wrote: > I'm trying to learn how to compile Apache