Questions tagged [apache2]
The apache2 tag has no usage guidance.
106 questions
0
votes
1
answer
21
views
Installing magento on wsl, /pub and /setup are not found
Magento is freshly installed on wsl, /var/www/html/mage is visible in browser but /var/www/html/mage/pub and /var/www/html/mage/setup are not displaying in browser with a 500 server error. Any ideas ...
0
votes
1
answer
273
views
Varnish cache missing in headers - Is it running at all? How to chek?
My apologies if that question is already asked - I searched thru all related questions but found a similar not exact match to my problem.
What is my set:
Magento 2.4.3 running on Ubuntu 22.04 server ...
0
votes
0
answers
79
views
autoload error after installing Magento website locally
After I installed a website from git and imported the corresponding database i tried getting the website to work locally. But I keep getting the error
{$e->getMessage()}
HTML; http_response_code(...
0
votes
0
answers
132
views
Magento 2.4.6 in subfolder on Apache2
Ok, lets see if this famous issue got some updates and solutions. Seen many questions about it, but no real solutions.
I'm having a setup with two different systems in two subfolders, like this
root
...
0
votes
0
answers
38
views
Magento 2 504 Time Out Gateway
I have a Magento site, running on the Apache. Sometimes it gives us the 504 Time Out Gateway.
Steps I performed till now :
increased the time out related in the php.ini
What will be the reason, If ...
0
votes
3
answers
556
views
issues when installing magento 2.4.6 on WSL2 ubuntu 22.04
Ok, let's move on. I am new to this and I am trying to install magento 2.4.6 on a local WSL server with Ubuntu 22.04, I have apache2, php8.1 and 8.2, composer, mysql and elasticsearch 8 installed.
I ...
0
votes
1
answer
425
views
Mageno 2.4.6 with Apache - Varnish - Nginx Proxy on HTTPS
System:
Ubuntu 22.04 LTS
Varnish Cache 7.0.3
Magento 2.4.6-p2
Ngnix 1.8
Apache 2.4
Magento (Setting Web) set Base URLs with HTTP http://magento.com
Magento (Setting Web) set Base URLs (Secure) with ...
1
vote
0
answers
339
views
Magento2 alternative class of Zend_Filter_BaseName in magento 2.4.6 [closed]
when i download log file from admin then this error occur
Error: Class "Zend_Filter_BaseName" not found in app/code/vendor/module/Controller/adminhtml/Download/GetLog.php
Here is that file.
&...
0
votes
8
answers
4k
views
installed magento 2.4.6 and running php 8.1 but the frontend still asking for php 8.1.0 or later
I have magento 2.4.6 installed on my server and running php 8.1.18.
(upgraded from 2.4.3)
when I open the main page, I'm getting this message :
Can anyone help me how to fix this? Thank you.
0
votes
1
answer
390
views
We have HTTP varnish as it is coming from port 80 but not HTTPS
I have followed Blogs to configure Varnish on our Magento store with the help of a server person.
Magento version 2.3.5-p1
Varnish version : varnishd (varnish-5.2.1 revision 67e562482)
Server - Ubuntu ...
1
vote
1
answer
384
views
Header set in .htaccess doesn't work
I am adding below headers in .htaccess file but it is not reflecting in frontend.
I have done cache:flush and restart server apache.
I am getting - https://i.sstatic.net/mKsoP.png in security headers.
...
1
vote
4
answers
3k
views
Magento 2 - No cache server(s) could be purged
I try to clone a project to which was running on nginx and using varnish.
I try to run it on apache2.
I get this error:
report.CRITICAL: No cache server(s) could be purged Cache host:
company.vm:...
0
votes
2
answers
719
views
chown: invalid group: ‘:apache’
After copying all files / db on my local VB when I tried to setup permissions:
find var vendor pub/static pub/media app/etc -type f -exec chmod g+w {} + && find var vendor pub/static pub/media ...
1
vote
1
answer
357
views
Magento 2 on Apache + Varnish getting continuous purge request
I have configured Varnish on my ubuntu server with apache.
But varnish is showing a lot of repetitive purge requests and the site is extremely slow.
What could be the reason behind it?
I have magento ...
0
votes
1
answer
132
views
Magento or Apache 2 Permission?
I have a vm where I run ubuntu 18.04 , Apache 2 and Magento 2.3 every thing works fine but I think I'm doing something wrong with my permissions.
So I have added to user 'dev' to the www-data group (...
0
votes
0
answers
195
views
Magento2. client denied by server configuration on hosting error report
client denied by server configuration on hosting error report
When I check Cpanel errors I can see below errors appear lot of time
AH01630: client denied by server configuration: /home/b/public_html/...
0
votes
2
answers
291
views
404 Error after success installing magento 2.4.2-sp1 using Windows 10 + composer --XAMP
**My current Environment is**
>Server version: Apache/2.4.48 (Win64)
>Apache Lounge VS16 Server built: May 18 2021 10:45:56
PHP 7.4.20RC1 (cli) (built: May 19 2021 17:12:38) ( ZTS Visual C++ 2017 ...
0
votes
2
answers
6k
views
Apache shows Magento directory index after installation (local dev setup)
So this is a bit of a debugging question, but I do not have any idea what else to try.
I am new to Magento and I wanted to set up a local instance of it to fiddle around.
I followed effectively this ...
4
votes
3
answers
5k
views
Error 404 on Magento 2.4.2 on Localhost
I have set up a localhost installation of Magento 2.4.2 community edition, now I am getting this error: 404 Not Found.
I've got elasticsearch installed, a mysql database created but I can't even ...
0
votes
1
answer
552
views
Updating products on backend doesn't reflect on frontend
I have this magento store I just installed and configured according to guides Varnish cache.
Website now is blazing fast, but if I update a product (for example, add a description), even if I cache ...
0
votes
2
answers
3k
views
Varnish Cache not working Magento 2.3, nginx proxy and apache2 backend webservers
I have a site setup with nginx as proxy serving an apache2 server, I'm trying to implement varnish caching.
nginx is listening on 443 and 80
varnish is configured to listen on 8080
apache2 is ...
0
votes
1
answer
167
views
Moving from Hostgator Magento 1.9.3.3 to Digital Ocean Magento 1.9.4.4
I am trying to move away from a HostGator VPS to a Digital Ocean VPS and also upgrade my Magento version in the meantime. I have a very basic knowledge of VPS and the LAMP stack.
So on Hostgator, I ...
1
vote
3
answers
1k
views
Magento 2:Your web server is set up incorrectly and allows unauthorized access to sensitive files. Please contact your hosting provider
I'm struggling trying to solve this very annoying problem on my Magento 2.3.3 store.
Today I forced the SSL on the website (I did it that by enabling the https on the unsecure URL). After 10-15 mins, ...
0
votes
1
answer
2k
views
Unable to access Magento Due To ERR_EMPTY_RESPONSE
Magento was working fine but then on trying to access http://80.85.85.79/berguard_stationery
I get an error:
This page isn’t working
80.85.85.79 didn’t send any data. ERR_EMPTY_RESPONSE
I have three ...
0
votes
1
answer
1k
views
Confused about Apache and Varnish Ports when redirecting HTTP to HTTPS with Magento 2
Our setup is a Magento 2.3.3 store running on a dedicated (not shared) Linux host. We have full root access and can edit all files as needed. The httpd server is Apache 2.4. Varnish is ver 6.3.
...
0
votes
1
answer
378
views
How to Change URL of Magento Site After Modifying Apache DocumentRoot?
My question is similar to How to do redirect the URL of site but I want to do the opposite. And there is a further challenge or two I cannot understand yet.
Our setup is a Magento 2.3.3 store running ...
1
vote
1
answer
863
views
How to improve Magento performance by eliminating Apache .htaccess files?
Our setup is a Magento 2.3.3 store running on a dedicated (not shared) Linux host. We have full root access and can edit files as needed. The httpd server is Apache 2.4.41.
We have read several good ...
1
vote
2
answers
1k
views
How to use Elasticsearch 6 with Apache, Redis and Varnish on Magento 2.3 Open Source?
I'm just learning Magento. I have Magento 2.3.3 open source set up on a Linux server with Apache, Redis & Varnish. Next I want to install Elasticsearch 6 ("ES") and I have confusion about some ...
2
votes
0
answers
59
views
Magento2 Seller Sub Domain Configuration
We are using multivendor marketplace in magento2. Now i we have login for seller as http://mystore.com/marketplace/vendor/login , I want to make it as seller.mystore.com that means when ever seller....
2
votes
1
answer
392
views
Different PHP-FPM Pools for frontend and backend using Apache2
I found this article teaching how to create two different php-fpm pools from magento frontend and backend using nginx.
My question is: is it possible to do this using Apache2?
Thanks in advance.
0
votes
0
answers
3k
views
Apache Virtual host setup configuration in localhost for multiple magento sites
I have two Magento 2 instances in my Virtualbox ubuntu server.
1st one is new installation magento2.3 located at
/var/www/html/, it is working fine and accessible from the browser using IP 127.0.0.1 ...
0
votes
1
answer
1k
views
Magento 2.2.9 CE Which Elasticsearch Version?
Please, can someone clarify for me Magento 2.2.9 Community Edition Which Elasticsearch Version can be used with it?
I have Amasty Elasticsearch extension installed - Tests are successful with both ...
2
votes
1
answer
175
views
Magento 2.3 Installation worked on Ubuntu 18.04, but after Ubuntu Restart Magento Page will not load any more. Any Ideas what could be the Problem?
I need your help. I am new to Magento 2.3 and first everything worked perfect after the Installation on my Ubuntu 18.04 Maschine, but after my first Ubuntu restart the Magento Shop Page and Admin Page ...
4
votes
3
answers
13k
views
Magento 2: 403 error when visiting website in browser
When I connect from my local machine to a live instance of Magento 2, I get a 403 Error with the following message:
Forbidden
You don't have permission to access / on this server.
Server unable to ...
0
votes
1
answer
818
views
Magento 2 multi store with ubuntu and apache
I have magento instance running on 8090 port. I have created an another store call store2 I followed all the steps and also change base url and added store code with base url as per this link
My ...
2
votes
1
answer
2k
views
SoapFault: looks like we got no XML document - Magento and laravel
I am with a problem in my application Laravel, when i use the SoapClient, for example my_object_soap->login(); returned this error:
Fatal error: Uncaught SoapFault exception: [Client] looks like ...
7
votes
2
answers
6k
views
How can I display a custom maintenance message on Magento 2.2.4
I have to update several modules of Magento, also deactivate others and during that the frontend will not be available.
How can I make a simple personalized message? Would you touch on some Magento ...
2
votes
1
answer
1k
views
FollowSymLinks is enabled for <Directory> however Apache returns HTTP 403 for image request
It seems like I have some generic Apache configuration issue, but I cannot spot the problem.
I have Magento v2.2.7 installed to default Apache document root directory (/var/www/magento) under user ...
1
vote
0
answers
356
views
htaccess for brotli does not work
I want to add the following code to my htaccess but it does not work.
# ----------------------------------------------------------------------
# | Brotli pre-compressed content ...
5
votes
0
answers
674
views
Magento2 : Too much apache processes running and consume memory
In magento2 - I've an instance of type c5d.xlarge on AWS with centos 7 with 8GB of RAM. I'm running a magento storefront on it. Magento version is 2.1.7 and apache version is 2.4 . Now the problem is ...
0
votes
1
answer
99
views
Images not loading and size and color dropdown also not loading with Apache and NGINX
im struggling with Magento 2.2.4, its giving so many errors.
Initially we had Apache web server with PHP 7.1 and NO nginx. In this scenario sometimes the color and size dropdown were not getting ...
0
votes
2
answers
2k
views
404 Not Found After changing HTTP to HTTPS
I have recently installed a SSL certificate on my VPS and I've been trying to make it work with the Magento store.
HTTP works just fine but it won't work when I'm using HTTPS. I changed the Secure ...
0
votes
0
answers
65
views
Magento 2 - website is not loading full in my server how i can fix this
Magento 2 - when access my domain it's print like above image
i run
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f
then i cleared cache but it's not working ...
...
1
vote
1
answer
113
views
Magento 2: Media url issue url like "example.com/media/a.png" not working
I migrated my website from nginx to apache, my media url of nginx are not working now.
For example below url used to work earlier
example.com/pub/media/blog-banner.jpg
example.com/media/blog-banner....
0
votes
1
answer
1k
views
Why we rewrite urls in magento 2?
When I deployed magento project from one server to another server css and js didn't loaded. So I google and got this answer which worked for me.
<Directory /var/www/html>
Options ...
0
votes
1
answer
80
views
Magento2 custom folder php scripts are not being executing 500 error
I have some PHP scripts for creating products using rest api.
All the script are under products_create_factory folder and this folder is in magneto2 root. When I execute a script from that folder from ...
0
votes
1
answer
138
views
Magento 2 permission issue
I installed Magento 2 via Composer and after I followed the steps and it was installed I received this on the frontend:
Basically all URLs go to 404 (admin as well).
I am using Ubuntu 18 and Apache ...
0
votes
1
answer
457
views
Magento 2 static files missing issue
i have setp up magento 2.2 on apache server , my static files url are like :
<script type="text/javascript" src="http://example.com/pub/static/frontend/Magento/luma/en_US/requirejs/require.js"&...
0
votes
1
answer
205
views
How can I redirect Document root to Magento root?
Ducument root is /var/www/html
Magento root is /var/www/html/magento
I tried the virtual directory like
VirtualHost *:80>
DocumentRoot /var/www/html/magento
<Directory /var/www/html/...
0
votes
1
answer
666
views
Are there any benefits of using Apache's mod_cache_disk with Magento 2?
I'm currently configuring a web hosting server (Ubuntu 16, Apache 2.4, 8GB RAM, 6 Core CPU) with about 20 Wordpress and Magento 1.9.X/2.2.X sites and would like to optimize it for speed with Apache's ...