Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing on XAMPP - only home page loads #3

Open
Ezyweb-uk opened this issue Apr 3, 2020 · 3 comments
Open

Testing on XAMPP - only home page loads #3

Ezyweb-uk opened this issue Apr 3, 2020 · 3 comments

Comments

@Ezyweb-uk
Copy link

Ezyweb-uk commented Apr 3, 2020

I tried installing this project on XAMPP in a sub-folder for testing, eg http://10.0.0.3/webmall/ by updating the following settings:

  1. adding /webmall to APP_URL in the .env file ie http://10.0.0.3/webmall
  2. in .htaccess changed RewriteBase to /webmall/
  3. in config/app.php I change url to env('APP_URL', 'http://10.0.0.3/webmall/')
  4. in app\Providers\RouteServiceProvider.php tried changing public const HOME to '/webmall/home';
    But always goes to /home

Maybe Laravel will not work in a sub-folder, so I setup a virtual host webmall.local which points to DocumentRoot "D:\mypath\public" and now the home page shows.

After seeding the database the categories show but only the home page and login and register pages load, is that because this is work-in-progress?

@Ezyweb-uk Ezyweb-uk changed the title How to install in sub-folder Testing on XAMPP - only home page loads Apr 12, 2020
@Mrz-jacer
Copy link

any solution please, i have the same problem , only the home page work

@ahmadsyamim
Copy link

Did you tried using docker or "php artisan serve" ?

@Mrz-jacer
Copy link

Mrz-jacer commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants