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
0answers
17 views

Product pages loading partially occasionally, without any obvious errors

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
23 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
37 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
21 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
19 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
70 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
12 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
25 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
79 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
45 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
35 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
48 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
228 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
300 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
85 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
2answers
289 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
30 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
89 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
31 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
38 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
52 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
54 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
29 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
46 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
63 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
166 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
100 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
0answers
121 views

New Website 301 Moved Permanently to /default url

Trying to setup a new website on existing Magento installation on Apache server on a subdomain like website2.mysite.com. Have done the following steps: 1) Created Website, Store and StoreViews in ...
0
votes
1answer
42 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
782 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
161 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
502 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 ...
1
vote
0answers
141 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
34 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
51 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
28 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
93 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
314 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
46 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
68 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
30 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
979 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
224 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 ...
0
votes
0answers
157 views

Virtual host for magento2 under lampp service for Ubuntu

I tried to set virtual host for Magento2(2.2.5) Project in Ubuntu system under Lampp service. I added this piece of code under opt/lampp/etc/extra/httpd-vhosts.conf <VirtualHost *.:80> ...
0
votes
2answers
143 views

Magento2 Error 404 Admin after install

I just manually installed Magento2 CE on Ubuntu server 18.04 with LAMP via composer, the install went ok and all checks were on green however the link given after installation to access the magento ...
0
votes
2answers
496 views

Error 500 after magento migration

The magento was installed in a testing environment. 1 - I copied all files from the folder and uploaded it to the production server folder. 2 - I exported the database and imported it into the ...
2
votes
2answers
3k views

SOLVED: Magento 2 GET 500 (Internal Server Error)

I have apache mode enabled, permissions given but im still getting the GET 500 Server error: SOLUTION AT: Magento CSS Not Loading Error
2
votes
4answers
6k views

Magento 2 : Admin url 404 not found

I know there are many answers for this i tried all and not able to do it on my server hosted with godaddy magento latest version I tried this <Directory /var/www/> Options Indexes ...