Skip to main content

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
1 answer
408 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 ...
0 votes
1 answer
1k views

500 Internal Server Error nginx/1.12.0 on checkout page after Migration from Apache to Nginx

I'm facing a problem with nginx rewrites after I migrated my Magento website from Apache to Nginx. When I added a product to the cart, and I pressed the button Place the order is giving me 500 ...
3 votes
5 answers
8k views

Magento 2 : Multiple website setup in localhost

I am trying to create multi websites in Magento 2 in local environment with XAMPP on Windows operating system 10. I followed this tutorial : http://devdocs.magento.com/guides/v2.0/config-guide/multi-...
0 votes
4 answers
3k views

How to change my url from www.xxx.com/Magento to www.xxx.com

I am running Magento 2.2.7 and my current URL for my store is https://shop.xyz.ca/Magneto and I would like to change it to be https://shop.xyz.ca/ I am set up on Windows Server and using Xampp 3.2.2 ...
1 vote
1 answer
1k views

Magento 1.9.1 - Unable to edit (click) URL Rewrite fields in backend

I'm trying to edit (or redirect) some category menus to other categories. Example, I have two sub-categories called "Compression Wear" (id 60 - /compression-wear.html) AND "Compression Wear" (id 67 - /...
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 ...
0 votes
1 answer
3k 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 ...
0 votes
1 answer
59 views

http to https redirect

I've followed all the solutions found in similar issues in the forum. I have no succeed doing it. What i have: Magento 2.4.3 Varnish Cache 6 (set to work at port 80) Apache (set to work at port 8081 ...
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 ...
0 votes
1 answer
453 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/ ...
0 votes
1 answer
263 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 ...
1 vote
1 answer
430 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) ...
0 votes
2 answers
598 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 ...
1 vote
1 answer
325 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
110 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 ...
0 votes
1 answer
346 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 ...
8 votes
4 answers
23k views

Magento 2: Static files are present but shows 404

I installed Magento 2 in my local environment and executed each command: php bin/magento cache:clean php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-...
0 votes
1 answer
127 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
1 answer
40 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 ...
0 votes
0 answers
208 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 ...
0 votes
4 answers
8k views

ERR_TOO_MANY_REDIRECTS error when setting up HTTPS

I have a simple website running Magento CE 1.9 on a single Linux/Apache server. The website works ok with HTTP but I am having a lot of issues trying to get HTTPS working. After setting the Unsecure ...
0 votes
0 answers
190 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
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 ...
2 votes
5 answers
6k views

Magento2 with Varnish 4 and Nginx as SSL termination ends in mixed content

I have the following configuration on Debian based on 2 servers: On main server there are Apache2 and Magento 2 with Redis and Memcached. On 2nd server there is Varnish which listens on http://...
0 votes
1 answer
580 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:...
0 votes
0 answers
84 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 ...
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 ...
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 ...
0 votes
1 answer
519 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 ...
1 vote
0 answers
266 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 ...
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 ...
1 vote
1 answer
577 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/<...
0 votes
1 answer
478 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 ...
3 votes
1 answer
4k 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 ...
1 vote
0 answers
306 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 ...
0 votes
0 answers
270 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 ...
0 votes
2 answers
579 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%. ...
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 ...
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:...
1 vote
0 answers
79 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 ...
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, ...
1 vote
0 answers
146 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 ...
5 votes
1 answer
792 views

Case insensitive product urls

Does anyone have a good solution for making magento products' URLs case insensitive? Obviously I've looked into: <IfModule mod_speling.c> CheckCaseOnly on CheckSpelling on </...
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
361 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/...
0 votes
1 answer
196 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 ...
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 ...
0 votes
1 answer
466 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://...
0 votes
0 answers
32 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 ...
0 votes
1 answer
1k 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 ...