Questions tagged [apache]

Use this tag for programming questions relating to the Apache HTTP Server. Do not use this tag for questions about other Apache Foundation products. Note that server configuration questions are usually a better fit on https://serverfault.com

Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

MFTF with protected files

I am doing an MFTF for the product page on a test environment with htpasswd (apache file protection), I enter the htpasswd credentials in the url in order to bypass the test. ex: https://test:test@dev....
Mohammed Alrefai's user avatar
0 votes
1 answer
63 views

Magento 2.4.6 Localhost Install Windows 11

I am having issues installing Magento2 on my local machine. I have been following this tutorial but I run into the same issue where my localhost/magento2/pub/ page doesn't display content. I have been ...
Kage Dev's user avatar
0 votes
1 answer
265 views

Magento 2.4.6: All pages 404 after upgrade from 2.3.5-p1

I am getting 404 page not found on all pages including admin dashboard after upgrading Magento from 2.3.5p1 to 2.4.6 on a VPS. My root .htaccess: RewriteEngine on RewriteCond %{REQUEST_URI} !^pub/ ...
mechanic's user avatar
  • 440
0 votes
0 answers
22 views

Best apache mods for mage 2.4.4

so other than the baseline required apache mods for magento 2.4.4 (as per https://devdocs.magento.com/guides/v2.3/install-gde/prereq/apache.html). What other mods do you think should be enabled in ...
loginid's user avatar
  • 392
0 votes
1 answer
2k views

Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR

I have Magento 2.4.4 running on Plesk CentOS Server. PHP 8.1 PHP FPM Enabled Varnish on Port 80 Nginx on Port 8080 and 443 Apache on Port 7080 and 7081 Most of the time the website doesn't load well ...
David Buik's user avatar
0 votes
1 answer
189 views

magento 2 xampp pdo_mysql extension is not installed

I have installed everything needed for magento-2 to run on xampp on windows. php.ini is also edited properly and have enabled all the extensions needed. When I try to run the localhost/magento link i ...
KarmaCoding's user avatar
1 vote
1 answer
349 views

Magento 2.3.7 developer mode : I need to regenerate my static content all the time

Env : Magento 2.3.7 PHP 7 VM on Linux I'm facing an issue : my instance of Magento 2 is in developer mode. But I need, all the time, to redeploy static content (like JS and CSS ; with -f argument) ...
Thomsath's user avatar
0 votes
2 answers
441 views

Magento 2.4 issue with CSS/JS not being sent to browser after installation/deployment; most probably server related (Nginx/Apache)

I have seen a couple of similar issues, but none of the solutions/reasons helped me. I installed Magento 2.4; tried it switch it to default and developer modes, forced it to compile and deploy static ...
NIck'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
306 views

Quote table showing same IP for each Quote Entity

I have set up Varnish 4 in Centos 7 with Apache and Magento 2.4.2. Varnish is working fine but there is one issue we are facing is that. Every order or quote showing the same customer IP which is of ...
Manish Kumar's user avatar
0 votes
1 answer
99 views

Last-Modified header is M2.4.3 upgrade date

We have recently upgraded our M2.4.3 version and have noticed that the last modified header for all our web pages is now fixed at the exact upgrade date of our store across all web pages even newly ...
Nadroj467's user avatar
  • 561
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
184 views

Magento website not accessible in browser via VPN (Apache logs shows http 302 status)

I have deployed the magento website using bitnami magento stack on Azure platform. Also for security I have included this in VPN and connect to the server(SSH) via VPN client. Even after all magento ...
Prasad Pingle's user avatar
0 votes
1 answer
34 views

Shipping calculation on the product page

We have a shipping calculation module its name is "FRETE RáPIDO" the documentation says it appears on the product page. For some reason, my theme doesn't work. What code do I put in my theme ...
Cristiano Chagas'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
0 answers
59 views

Magento customer login hangs on some accounts

I have a magento 2.4.2 install, and some customers can't login into their account area, the website just hangs. They don't get no error or anything. It was that bad that it brought down a whole server ...
kiran's user avatar
  • 597
0 votes
1 answer
530 views

Magento frontend take too long to respond

Magento frontend is taking too long to load(~2hrs). In browser's network tab the request remains in pending state throughout. Meanwhile the Admin Backend is loading fine. Debug logs: [2021-04-02 07:21:...
Akshat Bandooni's user avatar
0 votes
0 answers
76 views

How to point apache to use latest PHP?

Ok, here is an issue. My website was running great. And then it just somehow shows this Magento supports PHP 7.1.3 or later. I'v checked the Terminal and it was 5.6.something and I upgrade it. Now ...
Стефан Станчев's user avatar
0 votes
1 answer
4k views

Apache configuration file for Magento 2.4

I have installed Magento 2.4 on Apache 2 sever running on Ubuntu 20.x When I try to load the magento root directory on browser, I get Not Found The requested URL was not found on this server. I have ...
Nocturnal's user avatar
  • 101
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
1 vote
0 answers
253 views

"Catalog Search index process unknown error:" 403 Forbidden

My System info: Apache2 /php7.4(mod-security, mod_proxy) /Mysql8 /Elastic7.10 After a fresh installation of M2.4 and configure it for the E7 with Apache proxy port 8080 to 9200. When I tried to run ...
MJC's user avatar
  • 13
1 vote
1 answer
508 views

Is the Magento 2 file system allowed to be owned by www-data? + Permissions question

I work at a company where I noticed that most of our Magento 2 file system is owned by www-data and in the www-data group on our Ubuntu server.Furthermore, the docroot directory /var/www/<...
audio-engineer's user avatar
0 votes
1 answer
460 views

Magento 2 maintenance Mode Apache rewrite 503 error for image and css file

https://devdocs.magento.com/guides/v2.4/comp-mgr/trouble/cman/maint-mode.html#compman-trouble-maint-create I have followed this guide to enable maintenance mode and create a maintenance page. I have ...
Bhavesh Prajapati's user avatar
0 votes
1 answer
1k views

Multiple Magento 2 Sites Varnish Configuration

I have a dedicated server centos 6 Apache I have different Magento 2 sites on the server with there own ip and domain. I have installed and configured Varnish for one site / ip running Magento 2 site ...
jt9489's user avatar
  • 175
3 votes
3 answers
4k views

Magento 2.4 HTTPD Memory Leak | Allowed memory size of 792723456 bytes exhausted

After upgrading to Magento 2.4, I've been unable to run a stable production environment. HTTPD spawns the maximum number of processes and uses all of my systems memory and swap (it takes 5-20 minutes ...
Hunter's user avatar
  • 799
3 votes
1 answer
3k views

How do I properly debug the root cause of 503 errors produced by Varnish?

I'm using Magento 2.3.5 with Apache 2.4 and Varnish 6 and seeing constant 503 errors ("Backend Fetch Failed" or sometimes "Service Unavailable") in the browser's network panel when ...
WackGet's user avatar
  • 1,188
1 vote
0 answers
293 views

Apache do not follow symlinks

Hosting - Amazon Mangeto 2.3.2 Apache In developer mode, Magento creates symlinks in pub static directory, but when Magento try include static files on a page it responds with 403 error. I have ...
Petro Chaikivskyi's user avatar
0 votes
0 answers
268 views

High RAM/MEMORY usage slows down website drastically (issue)!

We have a Magento 1.9 webshop with 10000 SKUs. Only 600 are in stock, and Magento is set not to show products that are out of stock. So only 600 products are displayed on the web site. We have 20-30 ...
user15151's user avatar
  • 581
0 votes
2 answers
377 views

FCGIWrapper 100% CPU Usage

I have installed Magento v2.3.4 website on VPS with below config: OS: CentOS CPU: 2 x 2.2 Ghz RAM: 2 GB Whenever the website is accessed, I see a sudden spike in CPU usage & it goes upto 100%. ...
S R's user avatar
  • 101
0 votes
1 answer
23 views

Shifted My magento 2 store from local server to AWS

I am new to aws and uploaded my current magento2 store also have done the installation process regarding apche 2 php, mysql and phpmyadmin installation also installed composer in root directory now ...
Anonymous Record's user avatar
1 vote
2 answers
92 views

Magento 2 installation freeze at 0%

I am using windows 10 and xampp . Installation keep stuck at 0%. Some of the tables are created in database (30 or something). these are the errors that shown in the apache 2 error log [Sun Feb 16 13:...
Mr Zid's user avatar
  • 438
1 vote
0 answers
78 views

Product pages loading occasionally without product attributes

I am facing the following issue on an already-live site on Magento 2.3.2: product pages occasionally don't load completely, missing (amongst other) product attributes / swatches (clothe sizes in our ...
Alexandros Chalatsis's user avatar
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
1 vote
0 answers
137 views

Magento PWA Studio Performance Optimization Tips

i try to search for similar topics online but not found any good one to cover magento side optimizations and configs and the server side ones .. as per magento side : - Need to confirm that FPC need ...
jihad's user avatar
  • 11
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
170 views

New/Modified files won't inherit group ownership

This is happening for the first time after months of developing. I don't know what changed. We set file permissions and then We run in Magento2 root folder: sudo chown -R user:apache . But, every ...
jtalel's user avatar
  • 13
0 votes
1 answer
346 views

Magento 2.2.6 reindex not finishing Catalog Search CLI Putty crashing

Apache 2.4 Linux Centos store has 25,000 sku I am trying to reindex Magento 2.2.6 site with elasticsearch 5.1 running when I try to run full reindex it takes a long time when it reaches php bin/...
jt9489's user avatar
  • 175
2 votes
2 answers
1k views

"ERR_TOO_MANY_REDIRECTS" when turn on Cloudflare CDN possible .htaccess file issue

When I tried to turn on Cloudflare CDN, my site will get "ERR_TOO_MANY_REDIRECTS" error page (the site loads fine if I don't turn on Cloudflare CDN). I checked with the hosting provider, seems like ...
Mage Explorer's user avatar
0 votes
0 answers
31 views

Magento 1.9 Customer Login Stopped Working

Server: Dedicated, Apache 2.4, Nginx, Redis, CPanel/WHM, Site using FPC extension Mirasvit We have an Magento 1.9 site with the above setup - since last week all of sudden customers are no longer to ...
jt9489's user avatar
  • 175
0 votes
1 answer
951 views

Magento 2 Invalid block type Magento\Catalog\Block\Crosssellproduct

Magento 2.2.6 - Apache - Nginx I am getting this error when trying to open product pages on my site 2 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid block ...
jt9489's user avatar
  • 175
0 votes
1 answer
48 views

Magento 2 : Assets with specifc string in file name 404 in admin

Got a strange scenario on magento install A couple of assets in the backend 404 which means you can't edit products /pub/static/adminhtml/Magento/backend/en_GB/Magento_ConfigurableProduct/js/...
Dominic Pixie's user avatar
2 votes
0 answers
398 views

EAV load collection issue (High Load Time)

We have an eCommerce platform. The issue is that when we increased the products to ~3000, the EAV:load_collection is taking a lot of time(~20 sec) and eventually slowing the site. If I remove the ...
Baljit Magento 2 's user avatar
3 votes
1 answer
1k views

Site loading speed very slow Magento 2.3

as per our architecture, we have a web server(Apache) running on one machine and my database(MySQL) running on different machine. The communication between these two machines in over internal network (...
Baljit Magento 2 's user avatar
2 votes
1 answer
2k views

CORS error on Magento 2 with cloudfront

We are running magento 2 on below setup Apache > Varnish > NGinx SSL termination On initial setup we were getting the below error for all assets in pub/static Failed to load xxx: Request header ...
Nadroj467's user avatar
  • 561
0 votes
2 answers
688 views

Magento 2.3 is extremely slow?

We are using magneto 2.3 as well as using Control S server but our website very slow response time apex 30 seconds. we have same website upload on AWS server its take 10 second maximum. we have ...
Baljit Magento 2 's user avatar
0 votes
3 answers
4k views

Magento 2 All Products pages Redirect to catalog search

I am facing an issue which is I am not able to access any products pages. Either trying to access them directly via product URL or product page Or via Search Results Or via Site Navigation every time ...
jt9489's user avatar
  • 175
0 votes
1 answer
41 views

Magento 2.2.2 Upgrade to 2.2.6 Not Latest

I want to upgrade a magento 2.2.2 site to 2.2.6 mainly to fix issues with very slow reindex esp for Catalog Search index when Elasticsearch is being used I dont want to upgrade to the latest 2.3.2 ...
jt9489's user avatar
  • 175
0 votes
1 answer
410 views

Magento 2 redirects url to https but not admin panel

I know this question is more about apache config, but it involves Magento too. Currently i have configured my Magento with 2 different URLs, for port 443 or https I have an url like this: https://...
Oscar Vazquez's user avatar
0 votes
1 answer
266 views

Apache Nginx Varnish listening port Magento 2

Centos 6 Already using Apache + Nginx on my Magento 1 sites on a dedicated server For a Magento 2.2 site I want to run varnish However after installing varnish - i saw in the instructions need to ...
jt9489's user avatar
  • 175
0 votes
1 answer
80 views

Varnish Latest Version Centos 6.1 Magento 2.2

Please can someone clarify this for me I'm very confused. I want to install Varnish for Magento 2.2 Store - Linux CENTOS 6.10 [server] v80.0.22 Im using these instructions to install For CentOS ...
jt9489's user avatar
  • 175