Skip to content
Advertisement

Tag: apache

Laravel images not shown in any browser while firefox throwing “Image x cannot be displayed because it contains errors” error

My laravel app’s images are not being shown in Firefox Chrome or Edge Firefox shows a more explicit error saying “The image [image] cannot be displayed because it contains errors” ie: the following image is not being shown: http://test-gestion.pedifacil.com/storage/app/public/1/logo_196_196.png but a txt in the same folder is being shown so it does not seem to be problem of wrong symlink

PHP Code Is Not Executed For PHP 7.2 On Aws Ec2 Instance

I am trying to install php on aws ec2 instance. Since php 7.2 is not available, I used following commands to enable few repos as suggested in this Link sudo yum install epel-release sudo yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm sudo yum install yum-utils Then I enabled a remi repo to run using sudo yum-config-manager –enable remi-php72 Then I ran sudo yum install

Ubuntu server can be accessed from two hostnames [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 Exchange site, you can leave a comment to explain where the question

Concatenating hardcoded directory and user-created text file adds root-level paths when it shouldn’t

I have written a script to allow a restricted user access to deleting files on a production webserver. However, to prevent fat-fingering issues leading to accidental filesystem deletion/problems, I have hard coded the base directory in a variable… But the final result is not properly creating the desired path from hard-coded directory + user paths if they have a *

How to create multiple URLs for JIRA and Confluence?

Task: We have a several DNS aliases (ex. project1.domain.com, project2.domain.com) DNS aliases connected to JIRA Server by IP Need link, ex. from project1.domain.com to jira.domain.com/project/TEST1 Need link, ex, from project2.domain.com to jira.domain.com/project/TEST2 How next? any ideas? Thank you for the Help! Answer On your webserver, you need as many Virtual Hosts as domains you have declared, and each Virtual Host

What configuration settings need to be done to fix Apache – MongoDB connectivity issues caused by SE Linux?

I have Apache 2.4 running on CentOS 7. SE Linux is enabled. The application uses Laravel (Lumen), and connects to MongoDB on another server. All our servers are in Google cloud.The applications fails to load the web page and lumen.log has errors like this lumen.ERROR: MongoDBDriverExceptionConnectionTimeoutException: No suitable servers found (serverSelectionTryOnceset): [Failed to resolve ‘mongo.***.***’] in /var/www/***/vendor/mongodb/mongodb/src/Collection.php:612 If SE Linux

Advertisement