腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Laravel
Apache
DirectoryIndex
现在
需要
index.php
laravel
、
apache
、
mod-rewrite
、
permissions
、
directoryindex
但要让应用程序的根网址正常工作,我们必须在
DirectoryIndex
设置中添加
index.php
。如果没有这个,我们就会得到权限被拒绝的错误(因为不允许访问目录)。
浏览 13
提问于2020-07-31
得票数 2
8
回答
没有
index.php
就不能工作的路由
php
、
laravel
、
laravel-routing
当我转到url/
index.php
/nest时,它确实起作用了。我怎么解决这个问题?-f</IfModule>
浏览 0
提问于2014-02-09
得票数 17
回答已采纳
2
回答
为什么
Laravel
要给我看目录结构?
laravel
、
apache
、
.htaccess
我重新安装了
apache
,在重新配置之后,我的
Laravel
应用程序不再工作,它显示了目录结构。 下面是我的httpd配置:
浏览 0
提问于2020-12-22
得票数 1
1
回答
创建
laravel
配置文件
apache
web服务器
apache2
、
laravel-4
、
webserver
要从我的url中删除公共文件夹,我已经看到我必须编辑
apache
配置文件,但由于我也有不是用
laravel
开发的项目,我看到创建自定义配置文件的可能性。我应该把这个文件放在哪里?
浏览 1
提问于2014-02-14
得票数 0
1
回答
Laravel
8.53-路由在任何页面上都不起作用
php
、
laravel
:并将其添加到C中的vhost中(如果使用xampp):\xampp\
apache
-d RewriteRule .
index.php
# use
index.php
as index file
DirectoryI
浏览 2
提问于2021-08-11
得票数 0
回答已采纳
7
回答
index.php
未打开
php
我这里有一个文件
index.php
: 那么home目录有什么问题呢?
浏览 0
提问于2012-04-23
得票数 3
1
回答
Apache
2不会为
index.php
服务
linux
、
apache-2.2
、
php
但是,在一个vhost上,我有一个
index.php
。如果我输入URL,此页面将被提供。但是,如果我只输入“http://mysite/”,那么
index.php
就不能使用了。我在Ubuntu上使用PHP模块运行
Apache
2.2。
浏览 0
提问于2010-02-15
得票数 2
回答已采纳
1
回答
Laravel
:如何决定如何使用server.php或public/
index.php
php
、
laravel
Laravel
‘server.php和public/
index.php
都是这样做的,server.php只是
需要
public/
index.php
。因此,在我的
Apache
http.conf文件中,我可以在
DirectoryIndex
中使用server.php或public/
index.php
,也可以将DocumentRoot设置为项目根文件夹或项目的公用文件夹
浏览 2
提问于2017-11-10
得票数 2
回答已采纳
1
回答
Laravel
-在项目/公共中移动
index.php
文件
php
、
apache
、
laravel
、
.htaccess
、
laravel-5.1
我在共享主机上托管我的
Laravel
项目,在那里我无法修改
apache
以在index中查找/public文件。我还尝试在主机查找
DirectoryIndex
index.html文件的地方将.htaccess文件添加到.htaccess文件中。 这不管用。尽管如此,如果我只是将
index.php
文件移出/public (
Laravel
默认拥有它的地方)到主机正在寻找它的root,我认为我可以解决这个问题。尽管如此,我
需要
在这个
index.php
文件
浏览 2
提问于2017-05-26
得票数 0
3
回答
加载
index.php
作为我的第一个页面
php
、
apache
我如何在我的php项目中让
index.php
成为项目加载的第一个页面,而不是index.html
浏览 0
提问于2013-04-14
得票数 2
回答已采纳
7
回答
XAMPP虚拟主机无法工作
apache
、
google-chrome
、
xampp
、
virtual
、
host
# # <URL:http://httpd.
apache
.org/docs/2.4/vhosts/> # NameVirtualHost *:80 # VirtualHost example: DocumentRoo
浏览 1
提问于2016-07-23
得票数 10
回答已采纳
3
回答
htaccess将
DirectoryIndex
优先级更改为php而不是html。
apache
、
.htaccess
在生产服务器上有index.html和
index.php
,默认情况下index.html正在加载。,我希望
index.php
是加载的默认脚本,如果
index.php
不存在,index.html可以加载。在根目录下的子文件夹中,我们有oscommerce.We,没有任何index.html,只有
index.php
是present.Periodically,index.html是通过某种方式创建的,它有一个所以,我认为临时解决方案是将
index.php
作为默认加载,而不是index.html<code
浏览 8
提问于2011-02-19
得票数 8
回答已采纳
1
回答
在Debian7.5上部署
laravel
5,使用
apache
2托管
laravel
、
debian
、
apache2
我
需要
在Debian7.5上部署
laravel
5项目的帮助,我不知道问题在哪里。}/stockhiterror.log <Directory/var/www/stockhitsite/public>
浏览 2
提问于2016-04-19
得票数 1
回答已采纳
1
回答
os
apache
虚拟主机
laravel
项目配置错误
apache
、
mamp
、
osx-elcapitan
、
virtual-hosts
我取消了Include /Applications/MAMP/conf/
apache
/extra/httpd-vhosts.conf在/Applications/MAMP/conf/
apache
/httpd.conf/
laravel
/mysite/public”ServerName my-mysite.ServerName ServerAlias my-mysite.
laravel
&
浏览 5
提问于2016-05-22
得票数 2
回答已采纳
2
回答
为什么这个RewriteRule只适用于301重定向,而不适用于其他重定向?
.htaccess
、
url-rewriting
/
index.php
[L] # END WordPress
浏览 0
提问于2012-09-21
得票数 2
回答已采纳
2
回答
优先级、HTML和PHP索引文件
apache
我把一个index.html文件和一个
index.php
文件放在我的网站的根目录中,当我导航到我的网站www.site.com时,它提供的是php文件而不是html文件,我的问题是为什么?
Apache
服务器。
浏览 1
提问于2011-08-26
得票数 4
回答已采纳
1
回答
Laravel
在本地ubuntu 20中显示空白页
laravel
、
apache
、
.htaccess
、
ubuntu
我使用的是ubuntu 20,
laravel
项目使用php服务运行,但是当我使用这个URL 访问站点时,它显示了空白页。/public Options+FollowSymlinks Require all granted <
浏览 4
提问于2021-10-26
得票数 1
3
回答
DirectoryIndex
在htaccess中工作,但在
apache
2 .conf文件中不起作用。
apache-2.2
、
ubuntu-12.04
、
directoryindex
、
conf
我
需要
我的Ubuntu安装来使用
index.php
作为默认文件。已添加到/etc/
apache
2/
apache
2.conf<Directory /path/to/website/root/>
DirectoryIndex
index.php
to
浏览 0
提问于2013-09-05
得票数 0
1
回答
Apache
2中的
DirectoryIndex
和DocumentRoot
18.04
、
server
、
apache2
、
webserver
、
websites
在mysite.conf中,设置如下:
DirectoryIndex
index.php
mysite.com提供一个Index of/页面,因为默认位置中只有
apache
的index.html作为索引文件。如何使mysite.com加载/var/www/html/moodle/
index.php
?我试着给/etc/
apache
2/s
浏览 0
提问于2020-04-22
得票数 0
2
回答
在浏览器中输入localhost应该会将我带到PHP项目的主页
php
、
localhost
、
mamp
现在
的情况是,每当我这样做的时候,它都会像这样显示php目录:adddet.phpdbconn.phplogin.php main.php
浏览 0
提问于2013-08-08
得票数 1
点击加载更多
相关
资讯
PHP部署文档
(002)系统学习PHP之Windows系统下配置 PHP 服务器
Centos7.3搭建LAMP
通过shell脚本提交网站404死链
工作俩年才知道$argv,表示很low!
热门
标签
更多标签
云服务器
ICP备案
对象存储
实时音视频
云点播
活动推荐
运营活动
广告
关闭
领券