For anyone having trouble with Apache Aliases, I have come to the conclusion that Laravel is just not supposed to work that way. Your Laravel application needs to be at the root of your domain to work properly.
For example: typing in www.example.com should open the welcome page on your laravel application. If you have apache configured to open the welcome page at www.example.com/apacheAlias you will run into problems with telescope and routing.
I searched many forums and I have seen many posts similar to my issue, but no one has offered any solutions to this issue.
@BOBBYBOUWMANN - First off, thank you bobbybouwmann for replying. You are the first person to ever reply to one of my forum posts in my entire career (two years) of software development and my entire childhood of tinkering. I already had this idea, but when I set the path to 'laravel/telescope', I have to set the URL to example.com/laravel/laravel/telescope to access the telescope. Also, when I click a button I am redirected to example.com/laravel/telescope/button_I_pressed, but if I try to access that page directly from typing it in, I get a 404. If I type in example.com/laravel/laravel/telescope/button_I_pressed, the page loads telescope, but it doesn't show anything except the navbar at the top and the buttons on the left side. Please let me know if there is any more information I can provide that could help you help me.
I am a newbie using Laravel, and I have been following the Laravel From Scratch Tutorials. I am using Apache to host my laravel application using an alias. I found a workaround up until the "Simpler Debugging With Laravel Telescope" episode. The only difference from Jeffrey is that when I make a post request instead of doing this:
I have to do this:
Now my problem is that I'm wanting to use Telescope, but when I go to example.com/laravel/telescope the page loads. When I click on one of the buttons on the left side of the page, the URL changes to example.com/telescope/the_button_I_clicked
Each page says "Scanning..." forever, and if I try to go directly to example.com/telescope/any_of_the_buttons I get an error like this "The requested URL /telescope/requests was not found on this server."
I have seen multiple people post about apache alias problems, and I have yet to find anyone to help. Are Laravel applications required to be installed as the root directory and not an alias?
Any help would be greatly appreciated. Thanks in advance!