简体   繁体   English

在此服务器上找不到请求的URL /index.php。

[英]The requested URL /index.php was not found on this server.?

I have an online Ubuntu VPS (with Plesk already installed), I tried a very simple index.php script in the /var/www/html directory using the IP address of the server in the browser ex. 我有一个在线Ubuntu VPS(已经安装了Plesk),我使用浏览器ex中服务器的IP地址在/ var / www / html目录中尝试了一个非常简单的index.php脚本。 123.123.123.133/index.php, but the response was always (The requested URL /index.php was not found on this server.) 123.123.123.133/index.php,但是响应始终是(在此服务器上找不到请求的URL /index.php。)

the script was: 脚本是:

<?php
 phpinfo();
?>

I restarted apache2 many times and I tried many of the solutions in the stack overflow but none of them worked for me. 我多次重新启动了apache2,并尝试了堆栈溢出中的许多解决方案,但没有一个对我有用。

any help with this issue?? 这个问题有帮助吗?

Check the directory where Plesk serves its files from. 检查Plesk从其提供文件的目录。 Is that really /var/www/html ? 那真的是/var/www/html吗? I thought Plesk was using /var/www/vhosts/<domain_name> . 我以为Plesk使用的是/var/www/vhosts/<domain_name>

Plesk documentation Plesk文档

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在此服务器上找不到请求的URL /test/index.php - The requested URL /test/index.php was not found on this server Htaccess-在flynax的此服务器上找不到请求的URL /index.php - Htaccess - The requested URL /index.php was not found on this server in flynax 在此服务器上找不到请求的URL。 在PHP codeigniter上 - The requested URL was not found on this server. on php codeigniter 在此服务器上找不到请求的 URL。 - php,wordpress - The requested URL was not found on this server. - php, wordpress 在 codeigniter 中从 url 中删除 index.php 时,出现以下错误。未找到在此服务器上找不到请求的 URL - While removing index.php from url in codeigniter, i am getting following error .Not Found The requested URL was not found on this server 在此服务器上找不到请求的URL。 Magento与oAuth - The requested URL was not found on this server. Magento with oAuth Apache:在此服务器上找不到请求的 URL /。 阿帕奇 - Apache: The requested URL / was not found on this server. Apache 在此服务器上找不到请求的URL。 阿帕奇 - The requested URL was not found on this server. Apache 找不到对象! 在此服务器上找不到请求的URL。 无法访问PHP文件 - Object not found! The requested URL was not found on this server. PHP file not being accessed Kohana 框架:“HTTP_Exception_404 [404]:在此服务器上找不到请求的 URL 欢迎/索引。” - Kohana Framework: 'HTTP_Exception_404 [ 404 ]: The requested URL welcome/index was not found on this server.'
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM