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
2
votes
1answer
19 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
0answers
17 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
0answers
42 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
2answers
37 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
1answer
15 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
2answers
62 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
0answers
37 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 ...
0
votes
0answers
39 views

M2 Rest api returning bad request for Sku's with # symbol

I have an issue with the rest api. I'm correctly formatting the rest request using c# & restsharp but I am getting a bad request returned as a response. In swagger I can send a test request and ...
1
vote
3answers
104 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
0answers
30 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 ...
0
votes
0answers
32 views

ajaxExpired problem after php7.3 update

Any thoughts on this would be greatly appreciated….. Since we have updated our production server to php 7.3 (due to magneto's recommendations), we have this weird bug where when loading product pages....
0
votes
0answers
336 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
1answer
13 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 ...
0
votes
1answer
38 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/...
1
vote
2answers
209 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
0answers
21 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
1answer
49 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 ...
0
votes
1answer
36 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/...
1
vote
0answers
79 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 ...
3
votes
1answer
350 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 (...
0
votes
1answer
588 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
2answers
165 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 ...
0
votes
3answers
787 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 ...
0
votes
0answers
50 views

Magento 2 URL Rewrites Very Slow

Setup Dedicated Server Intel Xeon E3-1230 v2 2 Core 16 GB RAM Linux Centos PHP 7.1 APACHE 2.4 I have a site in Magento 2.2.6 which I am trying to do a full URL rewrite of category and products for 1 ...
0
votes
0answers
21 views

Searchbox Stays Open After Upgrade to 2.2.9

Extensions Amasty Advance Search Amasty Elastic Search Elasticsearch 5.1 Apache 2.4 PHP 7.1 The search box in my theme stays opened after I upgraded to Magento Community Edit 2.2.9 and has become ...
0
votes
0answers
128 views

Need to create custom error pages (500, 503) for Magento 2

I want to create custom error pages for HTTP Responses of 500, 503, etc. in a Magento 2 project. After turning on "ProxyErrorOverride" from the virtual host, I found that we can use the below code in ...
0
votes
1answer
34 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 ...
0
votes
1answer
49 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
0answers
88 views

Magento 2.2.2 catalogsearch_fulltext Reindex + Elasticsearch

Dedicate Server 16GB RAM 4 Core Processor Centos Magento 2.2.2 Elastiscearch 6.4 I am trying to run reindex from command-line ssh putty php bin/magento indexer:reindex ...
0
votes
1answer
62 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 ...
0
votes
1answer
44 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 ...
0
votes
0answers
50 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/...
0
votes
0answers
117 views

Magento 2.2 Enable ImageMagick Linux Centos 7

I am trying to change image adapter in my Magento 2.2.2 store from GD2 to I am doing this Run this is CLI /opt/cpanel/ea-php71/root/usr/bin/pecl install imagick Run this in CLI change to and ...
1
vote
0answers
235 views

Magento CE 2.2.2 Elastic Search No Products Front End Category / Listing Pages

Magento CE 2.2.2 ElasticSearch 6.4 PHP 7.1 Apache 2.4 Magento CE 2.2.2 Elastic Search No Products Front End Category / Listing Pages We have installed Amasty Layered Navigation Amasty ...
0
votes
1answer
253 views

Magento 2 GD Reindex Error gd.jpeg_ignore_warning

I am trying to run reindex in Magento 2.2 apache 2.4 PHP 7.1 Elastic Search installed v 6.4 Search Engine (Amasty ElasticSearch) Tested and Successful. For this reindex catalogsearch_fulltext php ...
0
votes
1answer
65 views

Magento 2 + Varnish + Apache + Nginx SSL - Nginx.conf error

Have just had a developer implement Varnish cache with SSL termination. http:s// --> nginx(443) --> varnish(port 8081) --> apache(8080) All pages on our site are working fine except the home page ...
0
votes
3answers
951 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 ...
0
votes
1answer
227 views

Magento 2: wrong url causing css problems

I'm running centos 7, mysql and apache vps. Magento web wizard setup was located at example.com/magento The installer asked me where I want to install magento, I said example.com The installation ...
2
votes
3answers
1k 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 ...
1
vote
0answers
198 views

How to redirect default store view to en?

I've got a store with 2 stores, one with 2 languages and the other just 1. So: Website > Store1 > English (www.site.com/en) Website > Store1 > French (www.site.com/fr) Website > Store2 >...
1
vote
0answers
36 views

Memory problems in Apache with Magento

We are having problems with httpd memory usage with Magento. The httpd fills up to more than 40GB in minutes and then the httpd has to be restarted. I have this configuration. What do you think, can ...
1
vote
0answers
68 views

How to run CLI command in docker Magento 2

I am stuck with docket installed by my client. Whenever i'm running command it says not available and when i tried to run external php file from Magento root its throwing following error PHP Warning: ...
1
vote
3answers
31 views

Magento2.1.14: Css not loaded after upgrading apache 2.34 to 2.37

I have upgrade apache 2.34 to 2.37. Then I have the problem that all css and js files are only throwing a 500 error and are not loaded. I have got this error on error log: option followsymlinks not ...
2
votes
1answer
122 views

Remove '.php' from url redirect [closed]

I have an URL like: base_url/cloths/mens.php now when we click on this above URL then it should redirect to: base_url/wp/cloths/mens/ here we want to remove .php extension from URL after ...
2
votes
2answers
463 views

Magento 2 query url rewrite

If I have URL like this - mainpage.com/products?test_category=99 and want it to be rewritten to this mainpage.com/testproducts Since magento2 URL rewrite won't take query how can this be ...
1
vote
0answers
85 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 ...
0
votes
0answers
72 views

How to remove /magento2/ parameter from URL?

Current URL : http://localhost/magento2/rest/V1/products/options/types I want to use without /magento2/ i.e. http://localhost/rest/V1/products/options/types I am using XAMPP server with ...
0
votes
1answer
34 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 ...
1
vote
2answers
1k views

Admin page not working

I setup Magento, however, my admin page is not accessible on the website. Every time I go to the admin page it pops up with 'This site can’t be reached' Current URL: 77.68.94.254 Any help with this? ...
0
votes
1answer
279 views

Apache 404 Error for url redirect for files in pub static folder

I am having problem with my setup in local and live, when I try to hit a url that dd not exist in : pub/static/frontend/XXX/default/ folder it gives me apache 404 error. I have my alias or domain ...