First step to troubleshoot vhosts is to run the apachectl -S command. It'll
expose your current vhost configuration.
For name-based vhosts, you always want to specify the port, and avoid
IP:PORT unless you know exactly what you're doing. When in doubt, define
all vhosts as *:PORT, and make sure th
Make sure you match the trailing slashes when proxying too.
On Tue, Feb 6, 2018 at 11:34 AM, Bret Stern <
bret_st...@machinemanagement.com> wrote:
> Yann,
> This works. Thank you very much.
>
> Would you consider this a safe arrangement?
>
> Here's what I did.
>
> To make it work I did the follo
You should use mod_wsgi instead. The last release of mod_python is over
three years old.
On Sun, Feb 11, 2018 at 2:41 PM, David Mehler wrote:
> Hello,
>
> I'm trying to get mod python 3.5 working with apache 2.4. I keep
> getting an error on the PythonHandler line. I've got python 3.5
> installe
gt; Thank you. I've got mod_python uninstalled and mod_wsgi installed, and
> apache restarted no problems. The issue is I'm not getting python
> scripts working, I keep getting a 404.
>
> Thanks.
> Dave.
>
>
> On 2/11/18, Frank Gingras wrote:
> > You should u
Be wary of such blanket answers. When used in the per directory context
(Directory block or .htaccess file), the leading slash is stripped before
the rewrite rule is evaluated.
Consider using the rewrite log to see what is happening.
On Wed, Feb 14, 2018 at 4:38 AM, wrote:
> The regex groups co
uot; seems to be a bit of
> overkill (aka, perpetual employment coding).
>
>
>
> > Date: Wednesday, February 14, 2018 07:46:14 -0500
> > From: Frank Gingras
> >
> > Be wary of such blanket answers. When used in the per directory
> > context (Directory blo
There are a few hints that the user is new to mod_rewrite and PCRE too: no
need to escape the '-' in an expression, not using a substring match with
the RewriteCond (or just anchoring it at the beginning), and you can match
^ instead of a wildcard. And for 301's, always test with curl to bypass
you
It's fine. Why do you think it isn't safe?
On Mon, Feb 19, 2018 at 3:10 AM, Turritopsis Dohrnii Teo En Ming <
teo.en.m...@gmail.com> wrote:
> I am running 64-bit version of Windows 10 and Windows Server 2016.
>
>
> ===BEGIN SIGNATURE===
>
> Turritopsis Dohrnii Teo En Ming's Academic Qualification
What does the error log say, exactly?
On Tue, Feb 20, 2018 at 5:08 PM, John Cardinal wrote:
> Environment:
> WHM v68.0.29
> Apache/2.4.29
> CENTOS 7.4
>
> I am trying to configure Apache to follow a symbolic link from one
> account's
> public_html folder to another account's public_html folder.
It's a rather terrible idea to post a link without much context.
To make it worse, that forum post is without much substance that would help
us fix your problem. Start with the relevant error log entries.
On Wed, Feb 21, 2018 at 7:49 PM, jose cabrera wrote:
>
> Please take a look at this url,
>
No, it would produce http://www.example.comindex.html
The directive allows for optional trailing slashes for flexibility, i.e.
Redirect /foo http://www.example.com/bar
On Sat, Feb 24, 2018 at 5:29 PM, @lbutlr wrote:
> The syntax for redirect treats
>
> Redirect / http://www.example.com
>
> as a
Make sure mod_cgi / mod_cgid is loaded first.
On Thu, Mar 8, 2018 at 10:47 PM, Gary Aitken wrote:
> My first time trying to get a perl script to run, so probably something
> obvious.
>
> On freebsd 10.3, apache 2.4.25
>
> httpd.conf:
>
> /usr/local/etc/apache24/httpd.conf:
>
> ...
> S
What mpm is this?
On Sun, Mar 11, 2018 at 3:34 AM, Mahendiran Vel wrote:
> Dear Team,
> I have installed Apache 2.4.29 and Openssl 1.0.2 in CENTOS 7 . httpd2.so
> file is available in module folders.
>
> i have loaded
>
> LoadModule http2_module modules/mod_http2.so
>
> and added below line in
Why is your API not using pathinfo? You could simply use FallbackResource
/app/controllers/ApiController.php then.
On Tue, Mar 13, 2018 at 7:55 AM, Eric Covener wrote:
> On Tue, Mar 13, 2018 at 3:51 AM, anke.wiene...@gmx.net
> wrote:
> > Hi,
> >
> > I have to admit that I am a total amateur con
7;version\|mpm'
>
>
> system says MPM is worker. please guide me.
>
>
>
>
> On 11 Mar 2018 18:17, "Frank Gingras" wrote:
>
> What mpm is this?
>
> On Sun, Mar 11, 2018 at 3:34 AM, Mahendiran Vel
> wrote:
>
>> Dear Team,
>> I have install
I would just use a few FallbackResource directives instead.
On Thu, Mar 22, 2018 at 8:27 PM, Rajib Karmakar
wrote:
> Hello,
>
> Issues Facing for multiple htaccess rule for dynamic slug.
> Mainly for an eCommerce website starting from which has
> Department,category,subcategory,subsubcategory an
.creativeweblogo.com
> Mobile: +919874704940
> Skype: creative.web.logo
> © 2008-2018 Creative Web Logo Technologies.
>
> On Fri, Mar 23, 2018 at 5:52 PM, Frank Gingras wrote:
>
>> I would just use a few FallbackResource directives instead.
>>
>> On Thu, Mar 22, 2018
Sincerely
> -
> Rajib Karmakar
>
> Creative Web Logo Technologies
> Website: http://www.creativeweblogo.com
> Mobile: +919874704940
> Skype: creative.web.logo
> © 2008-2018 Creative Web Logo Technologies.
>
> On Fri, Mar 23
Any reason you're using IP:PORT instead of *:PORT to define your vhosts?
On Sat, Mar 24, 2018 at 5:43 PM, @lbutlr wrote:
> On 24 Mar 2018, at 12:52, Jerry Malcolm wrote:
> > The problem is that when I go to http://domainA it redirects (and
> changes the URL on the browser) to https://domainB.
You need to use a threaded mpm (event or worker) to support http2.
Additionally, you need to configure httpd to use fcgi to process php
content. See http://wiki.apache.org/httpd/php
The simplest approach will likely to use mod_proxy_fcgi and php-fpm pools.
On Wed, Mar 28, 2018 at 12:17 PM, David
So, just to confirm, you had a lingering config file that was trying to use
SSLv3 prior?
If not, please file a bug with the ubuntu package maintainer, as Nik
pointed out.
On Sat, May 12, 2018 at 5:01 AM Deepak Goel wrote:
> On Sat, May 12, 2018 at 2:25 PM, Nick Kew wrote:
>
>>
>> > On 12 May 2
You cannot use the Listen directive twice on the same IP:PORT combo. Remove
the duplicate and it will work.
On Fri, May 18, 2018 at 2:11 AM salil GK wrote:
> Hello
>
>I have tried to upgrade my http from version 2.4.25 to 2.4.33 but
> encountered an issue with configuration file. In my confi
What does the error log say, exactly?
On Wed, Jun 13, 2018 at 1:20 PM @lbutlr wrote:
> No ideas?
>
> On 11 Jun 2018, at 12:34, @lbutlr wrote:
> > I can access the files directly, but if I access the folder, I get a
> permission error.
>
>
>
>
wrote:
> On 13 Jun 2018, at 11:25, Frank Gingras wrote:
> > What does the error log say, exactly?
>
> From the original message:
> > The only thing in the http-error.log is:
> >
> > [Mon Jun 11 12:26:28.390150 2018] [ssl:info] [pid 34433] [client
> xx.xx.xx
You would need to use mod_macro in this case.
On Thu, Jun 14, 2018 at 11:50 AM David Tkacik <
dtka...@healthcoachinstitute.com> wrote:
> Hey Guys,
>
> I’m running Apache/2.4.33 on RHEL
>
> I have this config:
>
>
> ServerName "${APACHE_HOSTNAME}"
>
> Redirect permanent / https://${APACHE_HOSTNA
Other than LimitRequestBody, there isn't any limit enforced by httpd.
Further, httpd doesn't really process the uploaded data, aside from
esoteric configurations. How did you configure httpd to parse php content?
(And should likely leave the legal mumbo jumbo out of your signature for
public maili
Have a look at the signature when posting to the list:
-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org
On Mon, Jun 25, 2018 at 2:17 PM Jason Brooks wrote
What does "mod_php is not able to unload properly" mean in this case?
Secondly, any reason why you're not using php-fpm with a threaded httpd mpm
instead?
On Wed, Jun 27, 2018 at 10:21 AM David Copeland
wrote:
> Okay, sorry, probably can't help then. I'm running Opensuse 42.3, Apache
> 2.4.33 (
I'm going to venture that you're using the mod_php DSO here. Please clarify
otherwise.
If a mod_php extension prevent httpd from starting normally, I would use
strace to get the exact error, first:
strace -o /tmp/outputfile -s 5000 httpd -X or strace -ff -F -s200 -o
/tmp/strace.out -p PID
It mig
is not able to unload properly.
>
> Hemant
>
> On Thu, Jun 28, 2018 at 5:45 PM, Frank Gingras wrote:
>
>> What does "mod_php is not able to unload properly" mean in this case?
>>
>> Secondly, any reason why you're not using php-fpm with a threaded h
ctory)
> open("/usr/share/locale/en.UTF-8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/usr/share/locale/en.utf8/LC_MESSAGES/libc.mo", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/usr/share/locale/en/LC_MESSAGE
it httpd.service has failed
>> -- Defined-By: systemd
>> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>> --
>> -- Unit httpd.service has failed.
>> --
>> -- The result is failed.
>> Jul 02 13:49:43 someserver systemd[1]: Unit httpd.s
; Server.
>> -- Subject: Unit httpd.service has failed
>> -- Defined-By: systemd
>> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>> --
>> -- Unit httpd.service has failed.
>> --
>> -- The result is failed.
>> Jul 05 10:41:03
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
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
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
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
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
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
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
>
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,
>
id correctly and the virtual
> host also doesn't seem to be working correctly (I tried to navigate to the
> site after starting Apache httpd as a service, but it didn't work; how do I
> correctly navigate to a proxied app on Apache?).
>
>
> Thanks in advance.
> --
onment variables to work with
> Apache's reverse proxy. Again: the environment variables are in the C++
> server application to begin with and the frontend needs to get them so it
> request for them. The app works perfectly on localhost, so I just need to
> deploy it.
> --
that would accept an actual web
> server app aside from a VPS. I could use a CGI script, but I'll have to
> change my app and I don't even know how I can make the current HTML file I
> have work with a CGI script (also, can a CGI script take environment
> variables?)?
>
&g
Listen 8001 and Listen 127.0.0.1:8000 would do it.
On Thu, Sep 20, 2018 at 7:58 AM @lbutlr wrote:
> If I have a secondary web service service running on www.example.com:8000
> and I want to create a reverse proxy on port 8001, how do I prevent users
> from connecting to :8000 anyway?
>
>
>
> ---
Osman,
Starting another thread to ask the same question is a bit ill-advised. I
would still recommend that you get up to speed on networking and DNS
basics, first.
Next, you should read the following docs:
http://wiki.apache.org/httpd/ExampleVhosts
http://httpd.apache.org/docs/current/vhosts/exa
already read about networking and DNS to some extent. I'll read
> about them some more, though.
>
> But I still think I should know how to find the IP address used by the
> Apache reverse proxy server. Just in case.
> ----------
> *From:* Frank Gingras
>
>
> Another question: the current file path I have for my virtual host
> DocumentRoot setting is the one my app's files are in. Should I set it to
> the htdocs folder instead (if so, how do I tell it that it what files it
> has to serve behind a reverse proxy?)?
>
> --
ead and try to use a DNS
> to reach my server after I've gotten this to work? Just want to ask this
> first, just in case.
>
> I can read about how to define a front-facing vhost in the examples and
> documentation, right?
> ------
> *From:* Frank G
Osman,
Take a step back, you're all over the place. You need to focus on one task
at a time, else you will never finish configuring your server.
For the vhost, again, if you use ProxyPass / http://target/, then you do
*not* need set set a DocumentRoot, as every single request will be proxied.
If
There is no reference to "webdir" anywhere in your configuration, so you
effectively munged it to the point that we cannot help you.
Further, I would recommend setting AllowOverride none in every single
block - the last thing you want is for a rogue .htaccess file
to interfere. If the sole purpos
Consider the wiki article:
http://wiki.apache.org/httpd/php
On Fri, Sep 28, 2018 at 6:12 PM @lbutlr wrote:
> Once again I have tried, and failed, to move from php 5.6 to php 7.0
> (using postmaster under FreeBSD 11.3-RELEASE). The results are largely the
> same, php pages don’t load either "Pri
;vhost context'. I am unfamiliar with the
> FallbackResource directive.
> Thanks for our help; I'm still head scratching here.
>
> Jack Nilles
>
> On 28 Sep 2018, at 15:14, Frank Gingras wrote:
>
> There is no reference to "webdir" anywhere in your configur
"Everything breaks" isn't really a useful statement. Be more specific if
you want more precise feedback.
On Sat, Sep 29, 2018 at 7:37 AM @lbutlr wrote:
> On 28 Sep 2018, at 16:15, Frank Gingras wrote:
> > Consider the wiki article:
> >
> > http://wiki
What does the error log say now?
On Sat, Sep 29, 2018 at 5:01 PM Jack M. Nilles wrote:
> I have found another DirectoryIndex directive in
> /etc/apache2/conf.d/gitweb.conf. Since this is higher up the chain than the
> vhosts.d directory that might be what's producing the file download
> behavior
"Primary Script Unknown" means that you're mapping to a non-existent
resource on the fpm backend - remember that when using ProxyPassMatch, the
request uri path is appended to the last path provided.
On Sat, Sep 29, 2018 at 5:06 PM @lbutlr wrote:
> On 29 Sep 2018, at 05:59, Fr
As for the "filter_var" error, you're missing a php extension/module.
On Sat, Sep 29, 2018 at 10:57 PM Frank Gingras wrote:
> "Primary Script Unknown" means that you're mapping to a non-existent
> resource on the fpm backend - remember that when using Proxy
Make sure that /home/data/site1/htdocs/index.html exists, first.
If you want to allow directory listings, then use Options +Indexes (don't
mix relative and absolution options).
On Sun, Sep 30, 2018 at 3:14 PM Jerry Martinez wrote:
> Also, it was not clear as to what exactly was upgraded - the S
Your first step is to list the current vhosts with either httpd -S or
apachectl -S. Edit accordingly. Also, avoid IP:PORT vhost, and use *:PORT
when unsure.
Pay attention to your logs, especially if you get a 302 or 301.
On Sun, Sep 30, 2018 at 2:42 PM Labs Ocozzi wrote:
> I did make somethings
The exit signal 31 is a bit odd here. What mpm are you using? What modules
are loaded (check with apachectl -M)? How large is that directory? Is it
provided via NFS?
On Wed, Sep 26, 2018 at 6:32 AM Hemant Chaudhary <
hemantdude.chaudh...@gmail.com> wrote:
> Hi All,
>
> I want to see the content o
It worked before because you had other DirectoryIndex directives (mostly
unaware of that fact).
Now, you need DIrectoryIndex index.html index.php or just DirectoryIndex
index.php
On Sun, Sep 30, 2018 at 4:36 PM Jack M. Nilles wrote:
> I don't have an index.html in that directory -- only index.p
It is indeed recommended *not* to use for that very reason. If
the module isn't loaded, then those directives will not be evaluated. Run
apachectl -M to see loaded modules.
On Mon, Oct 1, 2018 at 5:27 PM Filipe Cifali
wrote:
> Are you sure you have mod_php installed and active? This would expla
http://wiki.apache.org/httpd/php is a good starting point - I would
recommend not using mod_php, unless you have a good reason to use it.
Nowadays, mod_proxy_fcgi and php-fpm is trivial to set up, and allow you to
use a threaded mpm, such as event.
On Tue, Oct 2, 2018 at 11:21 AM Jack M. Nilles
Why do you want to remove the extensions?
On Tue, Oct 2, 2018 at 2:45 PM Filipe Cifali
wrote:
> You can reach that via mod_rewrite [1] and a combination of rules for
> checking if the file exists before the proxy, depending on the proxy,
> itself can do the checking.
>
>
> [1] https://httpd.apac
:
> mpm_prefork_module is/was loaded.
>
> On 2 Oct 2018, at 8:24, Frank Gingras wrote:
>
> http://wiki.apache.org/httpd/php is a good starting point - I would
> recommend not using mod_php, unless you have a good reason to use it.
>
> Nowadays, mod_proxy_fcgi and php-fpm i
The main document root does not interfere with your vhosts. See:
http://httpd.apache.org/docs/current/vhosts/name-based.html#using (See note
about "Main host goes away")
On Wed, Oct 3, 2018 at 2:40 PM Jack M. Nilles wrote:
> I just noticed, upon running 'apache2ctl -S', that the server root is
http://wiki.apache.org/httpd/CouldNotBindToAddress will help you
troubleshoot that error.
On Wed, Oct 3, 2018 at 8:21 PM Filipe Cifali
wrote:
> Jack, the logs saying you can't bind the addresses:
>
> Oct 03 14:44:01 donner start_apache2[3998]: (98)Address already in use:
> AH00072: make_sock: co
vhosts do not bind to ports - the Listen directive does.
On Thu, Oct 4, 2018 at 3:17 PM Filipe Cifali
wrote:
> Because something else could be listening on those ports, preventing httpd
> from starting. This is not so uncommon to happen. httpd is complaining on
> listening to both IPv4 and IPv6,
Please don't hijack other threads, thank you.
On Tue, Nov 27, 2018 at 2:56 PM Chaithanya Taduri
wrote:
> Hi team,
>
>
> We have observed a strange thing after we have upgraded our environment
> from apache 2.2 to pache 2.4. Its stops responding suddenly and works fine
> after restart. Could you
The (111) is a networking issue because you're not matching the trailing
slashes with your redirects.
On Thu, Nov 29, 2018 at 6:06 PM Jonathon Koyle wrote:
> Can you reproduce the issue and provide some logs, and maybe more
> information about the actual response? the 1xx range isn't supposed t
If you're stuck with .htaccess, then mod_rewrite is likely your only
recourse.
I would recommend debugging mod_rewrite on your development / staging
server with the rewrite log, too.
Lastly, look up the "http2https" recipe on the httpd wiki.
On Sat, 2 Feb 2019 at 12:51, R. Diez
wrote:
> First o
Depending on the error returned by the OS, httpd can't do much in some
cases. It would be useful if you were to share the verbatim error, as a
start.
On Mon, 4 Feb 2019 at 13:17, Jeff Cauhape wrote:
> Yes, it was the Secure Linux preventing the use of the port. I wonder if
> the error message s
Nitin,
You will need to ask the folks that maintain your distribution/repository
for help with updated packages.
On Tue, 14 May 2019 at 01:18, Nitin Kadam wrote:
> Hello Team,
>
> I have ubuntu 14.04 web server with apache 2.4.33 package and with the
> latest release of 2.4.39 internal security
namei -mo /var/www/sellfam.com/public/minecraft/www will help you here.
Check each path.
On Sun, 2 Jun 2019 at 05:47, timothylegg . wrote:
> These are access.log and error.log entries.
>
> I added the + to the FollowSymLinks and no obvious change occurred,
> These resemble the same errors before
You're referring to DNS resolution, which occurs before httpd is involved.
As far as httpd is concerned, the requested host: header must match the
common name or SAM of the certificate.
The host: header is also used for name-based vhost resolution.
On 06/09/20 07:22 AM, Jason Long wrote:
> Thank
Always match the trailing slashes when redirecting.
On 12/10/20 10:43 AM, Jason Long wrote:
> # apachectl -S
> #
>
> My Virtual Host configuration is:
>
>
> Header always set Strict-Transport-Security "max-age=63072000;
> includeSubdomains; preload"
> ServerAdmin root@localhost
> ServerName ww
I would also strongly recommend the event mpm over prefork, in any
scenario. The fact that you are trying to tweak prefork likely means that
you inherited a legacy prefork and mod_php configuration, which is just not
going to cut it any more. For dynamic requests, look into fcgi.
Having a separate
This is an extremely bad idea. You should never write to the docroot from
your application. Write outside the docroot instead, and use group write
permissions.
On Thu, 18 Mar 2021 at 20:15, Tatsuki Makino
wrote:
> I'm not sure, but FreeBSD happens to be different from Linux, so please
> change t
It has nothing to do with being "free to do anything".
This is about basic security, and the principle of least privileges.
On Fri, 19 Mar 2021 at 19:33, Tatsuki Makino
wrote:
> Frank Gingras wrote on 2021/03/19 21:36:
> > This is an extremely bad idea. You should never w
You will likely find that d...@httpd.apache.org is a better venue for this,
as the users@httpd.apache.org is more tailored for configuration questions
and troubleshooting issues with the HTTPd server in general.
On Sat, 31 Jul 2021 at 08:46, Harald Schlangmann
wrote:
> It turned out that DNS res
The error log entries on the httpd and php-fpm side will be helpful to
continue troubleshooting.
A POST request is not typically a problem for this configuration.
On Thu, 29 Jul 2021 at 23:47, JEA Holdings LLC
wrote:
> Hello...
>
> Our project has moved to a new OS that needs PHP-FPM I got the
This is wrong, actually. Here are the problems:
1) You should redirect to https:// from the :80 vhost, and nothing else
2) You should only proxy to your backend in your :443 vhost
3) If you proxy to http://, you don't need SSLProxyEngine on
4) A :443 vhost requires SSLEngine on, but you likely hav
You can use ProxyPass /robots.txt !
(the ! is important)
On Tue, 7 Sept 2021 at 20:13, David Jentes
wrote:
> I have had a Raspberry Pi, and am now also running a couple VMs on my new
> ProxMox server, and now the leader of the organization I am a part of
> called KygekTeam wants me to make my r
The first mistake is to use the hostnames when defining vhosts. Define them
all as *:PORT, then test with curl, and run apachectl -S or httpd -S to
spot any overlap.
On Tue, 21 Sept 2021 at 14:48, Daniel Armando Rodriguez
wrote:
> Hi,
>
> I have four subdomains on the same host which work as exp
e.
>
> Suite 6-600 – Box #39
>
> Evanston, IL 60201-3715
>
> *darryl.ba...@northwestern.edu *
>
> (847) 467-6674 <+18474676674>
>
>
>
>
>
> *From: *Frank Gingras
> *Reply-To: *"users@httpd.apache.org"
> *Date: *Tuesday, September 21, 2
t;
> El 2021-09-21 16:32, Frank Gingras escribió:
> > The first mistake is to use the hostnames when defining vhosts. Define
> > them all as *:PORT, then test with curl, and run apachectl -S or httpd
> > -S to spot any overlap.
> >
> > On Tue, 21 Sept 2021
c/apache2/sites-enabled/3.DOMAIN.conf:1)
> alias 3.DOMAIN.unau.edu.ar
> ServerRoot: "/etc/apache2"
> Main DocumentRoot: "/var/www/html"
> Main ErrorLog: "/var/log/apache2/error.log"
> Mutex ssl-stapling: using_defaults
> Mutex ssl-ca
I would not rely on the debian scripts. Looking at apachectl -S will tell
you what you need to know.
On Tue, 21 Sept 2021 at 18:51, Frank Gingras wrote:
> Why do you have two vhosts with the same ServerName value set? That will
> break name-based vhosts. Set a unique ServerName value for
Yes, you can, but I would question why you would want to proxy from the
port 80 vhost, and not from a TLS vhost, unless you don't intend to handle
the TLS handshake with httpd on the first leg.
Don't forget SSLProxyEngine on
On Tue, 23 Nov 2021 at 22:04, 佐藤昌宏 / SATOU,MASAHIRO <
masahiro.satou...@
Hello,
A mod_php segfault is most likely linked to a php extension.
You have two options here:
1) Unload each php extension until you find the culprit
2) Switch to php-fpm, and configure httpd to use the event mpm via
proxy_fcgi to pass the requests to php-fpm
On Wed, 9 Mar 2022 at 08:15, Ivan
Ivan,
Keep the replies in the ML for everyone to see.
See the fpm wiki page at:
https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM
On Wed, 9 Mar 2022 at 11:13, Frank Gingras wrote:
> Hello,
>
> A mod_php segfault is most likely linked to a php extension.
>
> You have t
That would really be a band-aid; also preventing memory leaks might not
stop segfaults at all.
You will gain many advantages by moving to the fpm pools model, and your
httpd will use less memory as well.
On Wed, 9 Mar 2022 at 20:15, Dino Ciuffetti wrote:
> Already tried to disable the opcache P
Those settings could fit your workload, or not. You need to measure it with
/server-status to see how many idle workers you have.
That being said, ThreadsPerChild seems very low. Depending on your content,
you could likely ramp up to a much higher value, which means that you would
need less parent
First point: you're proxying, and not redirecting.
Secondly, if the end user sees the URL change, then the ProxyPassReverse
directive is too specific. Some part of the page content could also be
causing issues, so that would need to be inspected first.
On Sat, 26 Mar 2022 at 07:53, olivier giorgi
As well, do not forget that you will need to bump the log level to see
useful details about 404 errors on 2.4.
On Wed, 30 Mar 2022 at 15:23, Paul wrote:
> On 2022-03-30 2:17 p.m., SAJESH PC wrote:
> > Iam sharing a screenshot of the browser console errors. Hope this helps.
>
> Probably not an ap
refers to the full filesystem path. I strongly
doubt that you have /jscripts/ on your system.
On Sun, 3 Apr 2022 at 03:45, SAJESH PC wrote:
> Hi all,
> I got it corrected by changing to "/jscripts/">. What is the real problem here?
> regards
>
>
> On Sat, Apr 2, 2022 at 2:39 AM Ruben Safir w
You do not need a RewriteCond here, the RewriteRule directive is perfectly
capable of capturing the request uri path.
If you don't want the URL to change, then perhaps you should use AliasMatch
instead of mod_rewrite. If you want to change the URL, use RedirectMatch
instead.
Using mod_rewrite sho
The output from apachectl -M would help.
On Mon, 4 Apr 2022 at 08:18, Paul Gregory wrote:
> Hello,
> httpd is eating my server memory. 12GB of installed memory.
> I've read a lot of info on memory tuning, but can't seem to make it use
> less than shown below.
>
> Thanks for any and all help,
>
gt; cgid_module (shared)
> dir_module (shared)
> alias_module (shared)
> rewrite_module (shared)
> http2_module (shared)
> php7_module (shared)
> jk_module (shared)
>
>
> Thanks,
> Paul
>
> On 4/4/22 7:56 AM, Frank Gingras wrote:
>
> The output from apachectl -M wo
Sounds like simple Alias directives in the main vhost should suffice.
On Mon, 4 Apr 2022 at 11:17, Eric Covener wrote:
> On Mon, Apr 4, 2022 at 11:11 AM A wrote:
> >
> > Hi,
> >
> > I am planning to make changes to Apache web server so that it can serve
> multiple websites (not sub-domains) fro
201 - 300 of 577 matches
Mail list logo