Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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

2
votes
3answers
33 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
26 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
23 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
24 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
24 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
42 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
127 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
28 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
46 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
26 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 ...
0
votes
2answers
453 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
89 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
52 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
0answers
58 views

Magento 2, cannot select many options of attribute when add new configuration product?

Using magento 2.2, Admin Page. I need to choose many option attribute for new adding new Configuration Product, but got error CODE 500 while I try to save. Error Apache Log PHP Fatal error: ...
0
votes
2answers
115 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
352 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
913 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
1
vote
4answers
3k 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 ...
1
vote
1answer
521 views

Apache reverse-proxy to serve SSL to Varnish on magento 2 - results in 503 Backend Fetch Failed

magento 2 install on a centos 7 server. with a LAMP stack (php 7) we have installed magento 2.2.3 with the virtual hosts only using SSL through port 443 and have now come to installing and ...
0
votes
1answer
1k views

Fatal error: Allowed memory size of 805306368 bytes exhausted

I installed Magento on WAMP Server and I have PHP Fatal error: Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 262144 bytes) I tried to increase memory_limit to 1G ...
0
votes
1answer
22 views

Error on magento installation

I need to set a magento website on local computer. While loading the website on local computer the page is not loading. This is the apache log. [Tue Dec 26 23:25:23.551700 2017] [negotiation:error] [...
4
votes
2answers
2k 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 ...
1
vote
1answer
87 views

How does Magento determine the route / getting 404 behind proxy

I have the following constellation: NGINX in front of two apache vhosts One Vhost running Magento (port 8181) Proxy pass of https://example.de.testing.abc.de/en/shop/ -> http://127.0.0.1:8181 No ...
0
votes
1answer
122 views

Only index.php shows up through proxy pass

<Directory "/Users/pathto/Sites/"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> <VirtualHost *:80> ServerName developersite.dev ...
1
vote
1answer
324 views

Magento 2. How to set deploy mode to production (in NGINX and Apache config)?

Anyone knows How to set deploy mode to production (in NGINX and Apache config). Thanks for your collaborations.
0
votes
2answers
233 views

Magento 2 on local host with XAMPP

I am trying to transfer my live site to a local host on my PC, I did the following: All the website's files are in C:\xampp\htdocs\html. I also imported the database and changed env.php and web/...
0
votes
4answers
569 views

404 on every page, fresh install

I'll start off with saying that I am new to Magento. After installing Magento I only receive 404's. There is no styling either. I can't access the admin panel or anything, I just see "whoops, our bad.....
1
vote
1answer
23 views

Customers having a problem logging onto our website

We are having some customers face an issue when loading our website and they are receiving this message. I have tried to type the link that it says but nothing is coming up. Can anyone suggest what I ...
1
vote
1answer
367 views

Magento 2.1 Multiple Store Views Errors

I have one installation (2.1.4) running www.mysite.com - this site works fine In admin I have setup a second website www.mysecondsite.com - this site also works fine I have setup a third website (...
0
votes
3answers
3k 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
1answer
693 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 migrate my Magento website from Apache to Nginx! When i add a product to the cart and i press the button Place the order is giving me 500 internal ...
5
votes
2answers
4k views

Nginx or Apache for Magento 2.x [closed]

We are in the process of planning for a project, an eCommerce project. The client already has a working project, for some reason they decided to rebuild from scratch with some additional ...
1
vote
0answers
45 views

POST data not seen in stores after 1.7 -> 1.9 upgrade

I recently upgraded our Magento from v1.7 to v1.9.3.2, and now I'm noticing something strange - none of the POST requests seem to be working on the stores, but they do work on the Magento admin ...
2
votes
1answer
1k views

Apache proxy + Varnish + Magento (HTTPS not caching)

I succefully passed all my magento store in full HTTPS (on all pages). My server setup is as follow: Apache proxy as a SSL offloader (443) -> Varnish (80) -> Apache backend (8080). Using Magento CE ...
1
vote
1answer
1k views

Magento setup directory cannot be accessed

I am trying to setup Magento on a Apache MacOS local system. I have uploaded the Magento Community Edition 2.0.12 from the official download source, unzipped them in my ~/myusername/Sites/magento ...
2
votes
2answers
2k 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-...
1
vote
2answers
520 views

Magento 2 Speeding up apache response time

Hi i am customizing a magento theme Porto on my local machine. I am using wamp 2.4.23 on PHP 7. Apache is working very slow and its taking 4-5 mins to load a single page. i have to develop the module ...
0
votes
1answer
891 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 - /...
1
vote
1answer
149 views

Any reason why Magento has chosen not to compress images?

There is a particular line in htaccess where compressing images are disabled: # Don't compress images SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary I would like to turn image ...
1
vote
2answers
957 views

Magento 2 Error 500 after admin login (apache) [closed]

I recently installed the current magento 2 version (fresh install) on an apache server. Everything worked as intended until I logged into the admin panel, which results in an internal server error. As ...
4
votes
1answer
602 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
2answers
264 views

Apache Virtualhost redirecting to first domain

I have apache virtualhost configured properly. Meaning when i go to www.myfirstsite.com it loads the welcome page i created for it, similarly when i go to www.mysecondsite.com it loads second welcome ...
0
votes
1answer
240 views

Magento2 developer mode and fatal errors

Magento2 is set in developer mode (deploy:mode:set developer and checked env.php file) but it is showing a HTTP ERROR 500 page isn't working screen. Only if I add this to the index: error_reporting(...
1
vote
0answers
24 views

404 page without index.php in url [duplicate]

I read many article on SE but excuse me for not having knowledge of servers. I have tried turning off "Use Web Server Rewrites", but no change. I get 404 page which says "Not found", to which i used ...
1
vote
1answer
1k views

Too many redirects on one website

Magento EE v1.14.x, CentOS 7 We already have a website/store/view shop which works fine, listening on 'shop.mydomain.co.uk'. We just tried adding a new website/store/view by: Registering 'shop2....
1
vote
1answer
123 views

MySQL/PerconaDB & Apache/LiteSpeed Optimizations for Magento

I know it's very vague but this is more of a general question than anything as I cannot find a solid answer to my question. I just deployed a new dedicated server and had the hosting management ...
2
votes
4answers
4k 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://...
1
vote
1answer
1k views

500 Server Error - On checkout page - APC

I'm having crazy issues on checkout page - it kicks the client out of the checkout: 500 Server error on /checkout/onepage/progress/?toStep=shipping_method sometimes on billing too. The issue is ...
0
votes
1answer
105 views

New magento instance 404 error

I have couple of instances configured in my httpd file to run multiple magento store. Now problem has arise, i wanted to install new magento install but after setup, and going to either back end or ...
0
votes
1answer
295 views

How to configure apache/magento2 to be able to reach the /setup when /pub is configured as root?

How to configure apache/magento2 to be able to reach the /setup when /pub is configured as root? When i configure apache to use /pub as root i can't access the web-setup-wizard. Does someone have a ...