Skip to content

Tag: apache

Not able to start redhat httpd service

When I try to start the httpd service it is failing with the error : output of journalctl -xe . output of systemctl status httpd.service I tried to change the port number in httpd.conf file. But I got the same error. Can anyone please help? Answer try check your config, validate from command apachectl configt…

RewriteCond works sometimes

This is my code on /etc/apache2/sites-enabled/dynamic-vhosts.conf: My problem is, in some cases it’s force to HTTPS, but in other cases it’s not. Example: On some desktops browsers, it’s redirect to HTTPS, but on mobile browsers or on others desktops/servers browsers, it’s not. Anybody…

Setup Node.JS Server on Ubuntu

I am using the MEAN Stack and I could run my frontend already. After ng build I moved all the content in the dist folder to var/www/html and could access my website. I’m using Apache and my frontend is now available online. The problem is now my backend. I am using Node.js but I have no clue how I can

htaccess misconfiguration 500

So basically i created a .htaccess file which removes .html extension and redirects /file.html to /file but when i write /file.html/ it causes a 500 internal server error, How can I map/file.html/ to my custom error page ? or simply redirect that also to /file.html Here is the code : Answer With your shown sa…

Cannot run Apache2 server in ubuntu [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack …

Class ‘IlluminateSupportfacadesHttp’ not found

My Laravel app was running successfully locally on my PC using WAMP server When I deployed my app on a RedHat server, I faced the below error when I make an HTTP request: The only difference is the PHP version composer.json And please note that locally, i upgraded my laravel version from laravel 5 to laravel …