Laravelque
5 months ago

localhost is currently unable to handle this request.

Posted 5 months ago by Laravelque

i tired to find solve this issue,

.htaccess

Options -MultiViews

RewriteEngine On

RewriteCond "%{HTTP:Accept-encoding}" "gzip"
RewriteCond "%{REQUEST_FILENAME}\.gz" -s
RewriteRule "^(.*)\.css" "\.css\.gz" [QSA]

# Redirect Trailing Slashes...
RewriteRule ^(.*)/$ / [L,R=301]

# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]

SetOutputFilter DEFLATE
SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" gzip

EXPIRES HEADER CACHING

ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType application/javascript "access 1 month" ExpiresByType application/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 7 days"

EXPIRES HEADER CACHING

.env

APP_NAME=Laravel APP_ENV=production APP_DEBUG=true APP_URL= http://localhost

APP_KEY=**** DB_CONNECTION="mysql:unix_socket/var/lib/mysql/mysql.sock" DB_HOST=127.0.0.1 DB_PORT=3306 DB_DATABASE=db_name DB_USERNAME=root DB_PASSWORD=

CACHE_DRIVER=file SESSION_DRIVER=file QUEUE_DRIVER=sync

#MAIL_DRIVER=smtp #MAIL_HOST=smtp.gmail.com #MAIL_PORT=465 #MAIL_USERNAME=**** #MAIL_PASSWORD=****

#MAIL_ENCRYPTION=ssl

MAIL_DRIVER=smtp MAIL_HOST=smtp.gmail.com MAIL_PORT=587 MAIL_USERNAME=**** MAIL_PASSWORD=**** MAIL_ENCRYPTION=**** MAIL_FROM_NAME=**** MAIL_FROM=**** MAIL_email_address =****

DEFAULT_NUMBER_REVISION=3 CHANGE_DEFAULT=1

public/index.php

Please sign in or create an account to participate in this conversation.