Re: [users@httpd] httpd reload fails due to php72w-mysql package?

2018-09-08 Thread Nick Kew
> On 17 Aug 2018, at 10:41, Stefaan Vanbillemont > wrote: > > When we execute the command ‘systemctl reload httpd’ several times after each > other Do you know what that does under the hood? I'd guess it either wraps or replaces apachectl on your system and performs restart, probably gracef

Re: [users@httpd] Basic question about https

2018-09-08 Thread Frank Gingras
Those two URLs point to the same vhost. You can either create directories in the DocumentRoot for that vhost accordingly, or use simple Alias directives. Further, the config file where you defined your vhost isn't really important. On Tue, Aug 21, 2018 at 9:25 AM Mahmood Naderan wrote: > Hi, >

Re: [users@httpd] httpd reload fails due to php72w-mysql package?

2018-09-08 Thread Frank Gingras
None of those are errors from httpd - focus on setting up proper logging first. Seeing the actual errors will help you fix them. On Fri, Aug 17, 2018 at 5:41 AM Stefaan Vanbillemont < stefaan.vanbillem...@hogent.be> wrote: > Hi all, > > We have the following setup: > > Centos 7.5 > httpd: 2.4.6 >

Re: [users@httpd] ssl.conf and httpd.conf in Centos

2018-09-08 Thread Frank Gingras
IncludeOptional will include any files if present, based on the pattern. If no file can be included, it won't cause issues. Further, you don't need to use separate files for everything. You can use a single monolithic file for everything, if you prefer that approach. Running apachectl -V will sho

Re: [users@httpd] Having child process Segmentation fault

2018-09-08 Thread Frank Gingras
If you must use mod_php and prefork (and get segfaults), the first step is to usually unload all mod_php extensions that are not strictly needed. If you use the event or worker mpm, then you must recompile php to be thread-safe. A better and future-proof approach would be to set up fastcgi (via pr

Re: [users@httpd] Re: Testing for apache open relaying

2018-09-08 Thread Frank Gingras
You should be asking the roundcube mailing list instead - httpd has nothing to do with email, as stated previously. On Thu, Sep 6, 2018 at 8:15 AM Robert Moskowitz wrote: > > > On 09/06/2018 06:40 AM, @lbutlr wrote: > > On 05 Sep 2018, at 09:58, Robert Moskowitz wrote: > >> So I suspect my apac

Re: [users@httpd] Upgraded from Apache 2.2 to 2.4 now getting redirect loop problem

2018-09-08 Thread Frank Gingras
For redirection loops, the first step is to determine if you get a 301 or 302 with curl. Then look for the possible culprits that can issue said redirection. Inspect headers as well (request and response. On Thu, Sep 6, 2018 at 5:35 PM WISE, MATTHEW A (Matt) CTR STRATCOM J64 (US) wrote: > I've u

Re: [users@httpd] Want to Deploy Web App Behind a Reverse Proxy

2018-09-08 Thread Frank Gingras
See http://httpd.apache.org/docs/2.4/howto/reverse_proxy.html and http://www.apachetutor.org/admin/reverseproxies. You do need to have a httpd instance running at all times; how else do you think it will serve requests? Lastly, your comment about the documentation is a bit odd - perhaps you could

Re: [users@httpd] HTTPS and .htaccess

2018-09-08 Thread Frank Gingras
You don't need to use .htaccess files, nor mod_rewrite. Run apachectl -S and edit the appropriate vhost. Set the DocumentRoot and DirectoryIndex properly, and also look into FallbackResource. On Wed, Sep 5, 2018 at 2:09 AM Mahmood Naderan wrote: > Hi > > > I have configured a Centos server with

Re: [users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server)

2018-09-08 Thread Eric Covener
On Sat, Sep 8, 2018 at 9:37 PM Osman Zakir wrote: > > I already attached the code in an earlier message. If you want to know what > my application does and what the server I wrote is doing, please read the > code. I also explained it in comments in the code, including at the very top > of the

Re: [users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server)

2018-09-08 Thread Osman Zakir
I already attached the code in an earlier message. If you want to know what my application does and what the server I wrote is doing, please read the code. I also explained it in comments in the code, including at the very top of the C++ and JavaScript files. What I copied over were the HTML

[users@httpd] Server port/signature is incorrect in directory index listing

2018-09-08 Thread Lucas Buchala
When I set HeaderName or ReadmeName (directives from mod_autoindex, see [1]) to a SSI-enabled HTML file or a CGI program and then try to display the server signature, the port number shown is incorrect (always port 80). If either the SSI file or the CGI program is retrieved separately, they print

Re: [users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server)

2018-09-08 Thread Eric Covener
On Sat, Sep 8, 2018 at 8:13 PM Osman Zakir wrote: > > I put the files for my app that I wanted to be served behind a reverse proxy > into Apache's document root instead to have them served that way (is this a > good idea? Can Apache start the server as an extension like this?). What files did

Re: [users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server)

2018-09-08 Thread Osman Zakir
I put the files for my app that I wanted to be served behind a reverse proxy into Apache's document root instead to have them served that way (is this a good idea? Can Apache start the server as an extension like this?). I've put the PassEnv directive into httpd.conv, once each for the environ

Re: [users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server)

2018-09-08 Thread Osman Zakir
What I want Apache to do is to serve my application behind a reverse proxy. For the email address thing, I meant to ask about the email address used for the ServerAdmin directive. If Apache can't pass environment variables to proxied servers, do have to hardcode the API keys that my applicati

Re: [users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server)

2018-09-08 Thread Eric Covener
> For instance, do I really need to add a balancer set when I really only have > one web server I need to do this for? No. > And I need an email address for the server that I know I'll be able to get > emails on, but I don't have a host name aside from the one I'm setting up a > virtual host f

[users@httpd] Reverse Proxy for Web Application (or adding it as extension to Apache web server)

2018-09-08 Thread Osman Zakir
I have a web application I created that has a backend written in C++ with its own built-in web server. I want to deploy it behind Apache's reverse proxy (or as an extension to the Apache web server (would that be different?), so I want to know how to do it correctly considering my situation.