Giter Club home page Giter Club logo

Comments (9)

eusonlito avatar eusonlito commented on August 28, 2024

Do you have the Apache2 mod_rewrite enabled?

from password-manager.

eusonlito avatar eusonlito commented on August 28, 2024

The AllowOverride None option should be AllowOverride All.

from password-manager.

eusonlito avatar eusonlito commented on August 28, 2024

You have defined the same Directory directive multiple times.

from password-manager.

 avatar commented on August 28, 2024

Yes, just found out Directory was defined twice :-D

I disabled mod_rewrite and now I got complains about .htaccess
[Wed Oct 19 12:18:13.818060 2022] [core:alert] [pid 3538:tid 3712] [client 10.0.251.3:58786] /home/Password-Manager/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration [Wed Oct 19 12:18:13.978423 2022] [core:alert] [pid 3538:tid 3714] [client 10.0.251.3:58798] /home/Password-Manager/public/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration, referer: http://vault.domain.com/

.htaccess file
<IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> Header set Access-Control-Allow-Origin "*" Header set Access-Control-Allow-Methods "GET,PUT,POST,DELETE,PATCH,OPTIONS" Header set Access-Control-Allow-Headers "Accept, Accept-Language, Authorization, Cache-Control, Content-Disposition, Content-Type, Origin, User-Agent, X-Requested-With" Header set Access-Control-Allow-Credentials "true" Header set Access-Control-Expose-Headers "Content-Disposition" Header set Access-Control-Max-Age "86400" RewriteEngine On ; Disable OPTIONS requests into framework RewriteCond %{REQUEST_METHOD} OPTIONS RewriteRule .* empty.html [NC,L] ; Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] ; Redirect Trailing Slashes If Not A Folder... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] ; Handle Front Controller... RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^ index.php [L]

from password-manager.

eusonlito avatar eusonlito commented on August 28, 2024

You need to enable mod_rewrite.

As log say: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration

from password-manager.

 avatar commented on August 28, 2024

I tried both.

If I enable mod_rewrite, I got an Error 500 "Error del Sistema" but nothing reported in apache error log (error logging is set as warn)

from password-manager.

eusonlito avatar eusonlito commented on August 28, 2024

Check laravel log inside the folder storage/logs/. Also you can enable the project debug with APP_DEBUG=true.

After change any .env file you need to refresh cache with php artisan optimize.

from password-manager.

 avatar commented on August 28, 2024

I ran "php artisan optimize" and now I got a login screen.
I suggest you mention it in the install guide.

Thanks for the help.

I'm planning on participating to your project by doing the French translation. ;-)

from password-manager.

eusonlito avatar eusonlito commented on August 28, 2024

The step 6 composer artisan-cache do the same as php artisan optimize.

from password-manager.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.