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
1 vote
1 answer
51 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) ...
user avatar
0 votes
0 answers
23 views

2 Way SSL for Magento API

Checked many blogs for 2 way ssl(Mutual Authentication) for magento api's or PHP but did not get end to end implementation details. Below is my understanding. Lets consider client (sslclient.com) and ...
user avatar
0 votes
2 answers
93 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 ...
user avatar
  • 1
0 votes
1 answer
110 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 ...
user avatar
0 votes
1 answer
56 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 ...
user avatar
0 votes
1 answer
41 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 ...
user avatar
  • 471
0 votes
0 answers
40 views

Magento 2 disable X-Frame-Options and use CSP frame-ancestors instead

We need one of our website available in a iframe on a different domain. The problem is that X-Frame-Options blocks the request and you can not use the * or ALLOW-FROM uri anymore. Please see link for ...
user avatar
  • 1
0 votes
1 answer
22 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 (...
user avatar
0 votes
0 answers
48 views

Magento 2.4 Admin Page not found 404 after SSL cert

I have an error 404 not found admin page after installed SSL and configured all of tutorial but nothing. https://www.street34.com/admin What I did ; I installed letsencrpty with certbot on ubuntu and ...
user avatar
0 votes
0 answers
100 views

redirect to pdp from product tile in cart magento 2

Redirect to PDP I want to redirect to product detail page, whenever I click on the product CTA or tile in the cart.
user avatar
  • 1
0 votes
0 answers
59 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 ...
user avatar
0 votes
1 answer
25 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 ...
user avatar
0 votes
0 answers
31 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/...
user avatar
  • 409
0 votes
0 answers
35 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 ...
user avatar
  • 409
0 votes
0 answers
19 views

Could you list all the Magento admin / backend URIs?

I would like to restrict public access to admin / backend URIs in Magento. Would you kindly help me list them all? So far, I have the following: /admin /rest /soap /graphql /magento_version any ...
user avatar
  • 101
0 votes
1 answer
187 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:...
user avatar
0 votes
0 answers
27 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 ...
user avatar
0 votes
1 answer
2k 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 ...
user avatar
  • 101
0 votes
1 answer
161 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 ...
user avatar
  • 11
1 vote
0 answers
117 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 ...
user avatar
  • 13
1 vote
1 answer
117 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/<...
user avatar
0 votes
1 answer
215 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 ...
user avatar
0 votes
1 answer
665 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 ...
user avatar
  • 125
3 votes
3 answers
3k 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 ...
user avatar
  • 731
3 votes
1 answer
2k 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 ...
user avatar
  • 1,148
1 vote
0 answers
188 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 ...
user avatar
0 votes
0 answers
185 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 ...
user avatar
  • 583
0 votes
2 answers
97 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%. ...
user avatar
  • 101
0 votes
1 answer
22 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 ...
user avatar
1 vote
2 answers
82 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:...
user avatar
  • 418
1 vote
0 answers
61 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 ...
user avatar
1 vote
3 answers
726 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, ...
user avatar
1 vote
0 answers
85 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 ...
user avatar
  • 11
0 votes
0 answers
2k 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 ...
user avatar
0 votes
1 answer
62 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 ...
user avatar
  • 13
0 votes
1 answer
242 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/...
user avatar
  • 125
1 vote
2 answers
888 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 ...
user avatar
0 votes
0 answers
28 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 ...
user avatar
  • 125
0 votes
1 answer
578 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 ...
user avatar
  • 125
0 votes
1 answer
38 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/...
user avatar
2 votes
0 answers
244 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 ...
user avatar
3 votes
1 answer
955 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 (...
user avatar
1 vote
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 ...
user avatar
  • 471
0 votes
2 answers
580 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 ...
user avatar
0 votes
3 answers
3k 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 ...
user avatar
  • 125
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 ...
user avatar
  • 125
0 votes
1 answer
201 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://...
user avatar
0 votes
1 answer
114 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 ...
user avatar
  • 125
0 votes
1 answer
65 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 ...
user avatar
  • 125
0 votes
0 answers
67 views

Magento 2 reindex error

Magento 2.2. Please can anyone help with this I am trying to run this in CLI php bin/magento indexer:reindex catalogsearch_fulltext Notice: getimagesize(): Read error! in /home/redjohnco/...
user avatar
  • 125