Skip to content

Can't run project by directory browsing  #110

@shorifulislam00

Description

@shorifulislam00

I install this project by following classic installation instruction. This project is working fine while i run via php artisan serve and browse by 'http://127.0.0.1:8000/'.

But i want to run this project on local by browsing 'http://localhost/my_directory/benotes' and it gives me error.

I add <base/> in app.blade.php file, use css,js resource with asset() and then login page appear successfully.

But api call http://localhost/api/auth/me get error 'Not found'. Here requested url is wrong. There have no 'my_directory/benotes'.

I call modified url http://localhost/my_directory/benotes/api/auth/me from postman and got error 'Not Found'.

How can i resolve this and run project perfectly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions