Questions tagged [apache2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
24 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(...
VdeJ's user avatar
  • 1
0 votes
0 answers
21 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 ...
Relja's user avatar
  • 113
0 votes
0 answers
15 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 ...
Rana Zain's user avatar
  • 642
0 votes
3 answers
162 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 ...
ramses adames's user avatar
0 votes
1 answer
164 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 ...
Pako's user avatar
  • 75
0 votes
0 answers
20 views

Too many CSP Whitelist headers

I am getting errors on CSP_Whitelist headers in an apache2.4 environment. Apparently, there are too many of them, And I can't say which ones are more important than others. Is there a way to determine ...
Jo-Anne's user avatar
  • 43
1 vote
0 answers
268 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. &...
Ekta's user avatar
  • 101
0 votes
8 answers
2k 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.
user9814's user avatar
0 votes
1 answer
239 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 ...
Dharmesh's user avatar
  • 142
1 vote
1 answer
247 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.stack.imgur.com/mKsoP.png in security ...
user3411's user avatar
  • 134
1 vote
4 answers
2k 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:...
Black's user avatar
  • 3,280
0 votes
2 answers
617 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 ...
Sakara's user avatar
  • 1
0 votes
1 answer
275 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 ...
Anish Sapkota's user avatar
0 votes
1 answer
101 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 (...
BigJonna's user avatar
0 votes
0 answers
164 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/...
kiran's user avatar
  • 597
0 votes
2 answers
285 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 ...
bugingout's user avatar
0 votes
2 answers
5k 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 ...
Noob Doob's user avatar
  • 127
4 votes
3 answers
4k 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 ...
Rafael Moreira's user avatar
0 votes
1 answer
440 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 ...
Odin's user avatar
  • 11
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 ...
Chris Grierson's user avatar
0 votes
1 answer
149 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 ...
J W's user avatar
  • 33
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, ...
Gerardo Siano's user avatar
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 ...
Esseme's user avatar
  • 13
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. ...
MountainX's user avatar
  • 240
0 votes
1 answer
353 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 ...
MountainX's user avatar
  • 240
1 vote
1 answer
822 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 ...
MountainX's user avatar
  • 240
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 ...
MountainX's user avatar
  • 240
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....
Dinesh's user avatar
  • 552
2 votes
1 answer
361 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.
Filipe Marques's user avatar
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 ...
Mage Explorer's user avatar
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 ...
jt9489's user avatar
  • 175
2 votes
1 answer
156 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 ...
Felix Schönherr's user avatar
0 votes
1 answer
3k views

Magento 2 : Mixed Content Error Block HTTP Request an HTTPS page

When I call the third party HTTP URL in my page. Then, I face the below error. How can I solve it? Mixed Content: The page at 'https://*******************' was loaded over HTTPS, but requested an ...
Dharmik Ponda's user avatar
4 votes
3 answers
12k 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 ...
Dhruv's user avatar
  • 71
0 votes
1 answer
722 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 ...
Ramesh KR's user avatar
  • 866
2 votes
1 answer
1k 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 ...
Diego Cunha's user avatar
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 ...
Oriol's user avatar
  • 357
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 ...
dma_k's user avatar
  • 121
1 vote
0 answers
338 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 ...
user avatar
5 votes
0 answers
635 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 ...
Yomna Mansour's user avatar
0 votes
1 answer
85 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 ...
Ans's user avatar
  • 1
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 ...
Leto's user avatar
  • 15
0 votes
0 answers
58 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 ... ...
prabhakaran7's user avatar
  • 1,077
1 vote
1 answer
112 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....
user1799722's user avatar
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 ...
Ramesh KR's user avatar
  • 866
0 votes
1 answer
78 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 ...
Phoenix404's user avatar
0 votes
1 answer
130 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 ...
Attila Naghi's user avatar
  • 3,963
0 votes
1 answer
453 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"&...
user1799722's user avatar
0 votes
1 answer
203 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/...
stevieki's user avatar
0 votes
1 answer
590 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 ...
Lez's user avatar
  • 2,907