xampp problem "Not Found The requested URL was not found on this server. Apache/2.4.41 (Ubuntu) Server at localhost Port 80" - apache

hey i have this problem when i installed xampp in ubuntu but when i try to type "http://localhost/dashboainfo.php" or "http://localhost/dashboard/phpinfo.php" it comes with "Not Found The requested URL was not found on this server. Apache/2.4.41 (Ubuntu) rd/phpServer at localhost Port 80"
i've tried downloading it again and idk i've watched every that came in front of me but most of them were windows so i didn't have much videos to watch(using linux) and i was expecting to write a php code and runs normally(i'm still new with this)

Related

localhost it redirects me to localhost/C:/xampp/htdocs/localhost/index.php?

I had created a .htaccess file and I deleted it. When I try to access localhost it redirects me to localhost/C:/xampp/htdocs/localhost/index.php but when I type localhost/index.php it works fine. Can someone help me out??
Using XAMPP Server, Windows 8.1 OS
(Apache/2.4.27 (Win32) OpenSSL/1.0.2l PHP/7.1.9)

Apache running on XAMPP, but localhost is not reachable

I installed XAMPP and started the Apache Server and MySQL. However, if I try to access https://localhost/, it just shows a blank page in Firefox. I am on a Windows 10 machine. I already tried to change the localhost port from 80 to 8080, but it says that it cannot open the page this way.
Any ideas what the reason could be?

Error 404 - Not Found

Good Afternoon,
I'm elaborating a project and I've instaled php,mysql, apache2 in a virtualbox with ubuntu16.04.
I'm working locally and I've instaled laravel 5.3, I have an API running and created a new virtual host and placed the DocumentRoot my_folder and ServerName name_virtual_host. Then I went to my host files and placed a new line: 127.0.0.1 name_virtual_host. When I place on my browser http://name_virtual_host, the laravel page appears like it is supposed, but when I type in http://name_virtual_host/api, it gives back:
Not Found
The requested URL /api was not found on this server.
Apache/2.4.18 (Ubuntu) Server at name_virtual_host Port 80
it used to appear JSON.
How can I solve this?
Thanks.

XAMPP Access Forbidden [ubuntu]

Yesterday I was able to completely normally use PHP and phpmyadmin with XAMPP and make apps. The only thing changed is that I restarted the computer. Now I start lampp like always
sudo /opt/lampp/lampp start
and I get
XAMPP: Starting Apache...fail.
XAMPP: Another web server is already running.
XAMPP: Starting MySQL...ok.
XAMPP: Starting ProFTPD...ok.
Maybe the apache is the problem I don't know. But when I open localhost in browser, I get
Forbidden
You don't have permission to access / on this server.
Apache/2.4.7 (Ubuntu) Server at localhost Port 80
I added 'Require all granted' to that httpd.conf file, and it didn't help, so something else must be going on. I tried a lot of other threads on forums, nothing helped.
Ideas?
Thanks
It could be possibly because another instance of Apache is running on your system. Just try to close all intances via sudo killall -9 apache2 and then try to start/restart the LAMPP.
Most linux OS ships Apache as default server, so if you even haven't installed them, they might be running in your system.

Wamp and laravel installation, virtual host works but localhost not(Not Found The requested URL / was not found on this server.)

I've been installing WAMP on a windows machine, then I install laravel framework, make the virtual host configurations and now i work correctly with that virtual host. When i type on the browser http://laravel.dev/ the applications works correctly but when i try to work with other projects on localhost the browser show me the next message:
Not Found
The requested URL / was not found on this server.
Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80
FYI when i type this
localhost/phpmyadmin/
Works fine.
Any suggestions?
I had the same issue. I just went to the httpd.conf file and checked if the following was correct:
# Virtual hosts
# Include conf/extra/httpd-vhosts.conf