腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
NGINX
-
如何将
'/<
param
>‘
重定向
到
index.php
?
page
=<
param
>
php
、
nginx
、
nginx-location
我有以下用PHP编写的简单路由代码:echo "<section id='content' class='container'>"; { { require_once("v/pages
浏览 15
提问于2019-11-20
得票数 0
回答已采纳
2
回答
如何在Zend 2和
nginx
中路由"domain/jobs/
index.php
"?
nginx
、
zend-framework2
下面是我的
nginx
配置: listen 80; error_log /var/log/
nginx
/mtg/error.log warn; index
index.php
; location / {try_files $uri $uri
浏览 2
提问于2015-03-03
得票数 0
回答已采纳
3
回答
PHP HipHop +重写到
index.php
php
、
hhvm
我浪费了很多时间去寻找,
如何将
所有请求
重定向
到
index.php
。会变成我有一个嘻哈档案(基于Nette框架)和一个虚拟主机(一个hiphop是从
Nginx
代理)。编辑:可选的问题可以是:如何设置
nginx
来修改通过REQUEST_U
浏览 4
提问于2013-10-09
得票数 0
回答已采纳
1
回答
为什么
nginx
将所有子域
重定向
到
非www,我只是将redirect www设置为non-www
php
、
redirect
、
web
、
nginx
操作系统:Ubuntu 14.04 LTS我想将www
重定向
到
非www,但是下面的配置将所有子域
重定向
到
非www。例如,我访问test.mydomain.com/
index.php
也会
重定向
到
mydomain.com/
index.php
访问ip_address/
index.php
也可以
重定向
到
mydomain.com&
浏览 2
提问于2014-05-16
得票数 0
1
回答
将
nginx
重定向
到
index.php
redirect
、
nginx
在/etc/
nginx
/sites-available/default中,我用以下内容替换了server{},并且可以使用访问/var/www/html/
index.php
。/access.log; fastcgi_
param</
浏览 1
提问于2016-11-03
得票数 0
回答已采纳
1
回答
外部
重定向
NGINX
conf中的URL以添加斜杠并使用php文件
php
、
apache
、
.htaccess
、
nginx-reverse-proxy
我是新来这个网站的,也是新接触
NGINX
的,所以请友好点。我最近切换到AWS Elasticbeanstalk,需要
NGINX
配置方面的帮助。我想做一些
重定向
,我知道并测试了在apache2和.htaccess的工作,但我不能用
NGINX
。/
index.php
https://localhost/
page
/ ->。/
page
.php https://localhost/fol
浏览 17
提问于2020-09-24
得票数 2
1
回答
Laravel 5
Nginx
重定向
到
404
php
、
laravel
、
nginx
、
laravel-5
、
nginx-location
我的Laravel 5网站
重定向
到
404。它安装在一个文件夹中。它正在
重定向
到
404,而不是我的项目。计划部署多个站点。->将
重定向
到
404,而不是打开该页面。location ~ \.php { fastcgi_pass 127.0.0.1:9000; fastcgi_
param
^(.+\.php)(
浏览 0
提问于2018-04-17
得票数 0
1
回答
对
NGINX
的重写规则感到困惑
php
、
nginx
、
url-rewriting
page
=$1 [L,QSA] 它使用
page
参数将所有页面请求
重定向
到
index.php
文件,然后使用自定义PageController在
index.php
中解析该文件。然而,我不能让它与
Nginx
重写一起工作,这让我很困惑。 目标是将像
index.php
?
page
=forgot_password这样的URL重写为forgot_password。我当前的
nginx
.conf是 server { listen
浏览 12
提问于2021-06-29
得票数 0
1
回答
Nginx
如何将
请求只
重定向
到
某个目录路径的
index.php
在该目录下?
php
、
nginx
、
url-rewriting
、
config
我需要将下面的myweb1请求
重定向
到
http://localhost/myweb1/
index.php
中的
index.php
,而myweb2不应该受到影响。http://localhost/myweb1/user http://localhost/myweb1/user/account http://localhost/myweb1/product等应该
浏览 35
提问于2020-10-16
得票数 0
1
回答
如何将
NGINX
重定向
到
if
php
、
nginx
、
redirect
、
url-rewriting
我正在尝试使用
nginx
进行
重定向
,如果它返回/?SSO=1,则
重定向
到
,但如果它返回到/?SSO=1;server { index
index.php
index.html; fastcgi_
param
PATH_INFO $fastcgi_path_info;
浏览 3
提问于2021-12-06
得票数 0
1
回答
nginx
配置不起作用
php
、
nginx
; try_files $uri $uri/ /
index.php
; # fastcgi_
para
浏览 3
提问于2015-05-23
得票数 0
2
回答
Nginx
try_files下载提示
php
、
linux
、
nginx
、
amazon-ec2
、
amazon-linux-2
我正在AWS 2上安装一个
Nginx
+ PHP7.4服务器,这是一个全新的安装,安装了
nginx
和PHP 7.4。下面是
nginx
中的虚拟主机配置文件。我需要将所有流量
重定向
到
index.php
,因为它是一个单一的
Page
。当我转到时,浏览器提示下载
index.php
文件,而不是执行它。/etc/
nginx
/conf.d/myapp
浏览 0
提问于2020-11-16
得票数 0
2
回答
使用查询字符串的htaccess
重定向
apache
、
.htaccess
、
mod-rewrite
、
query-string
、
url-redirection
我的htaccess规则是:RewriteRule ^index\.php$ /
page
1 [L,R=301]如果我的网址是:http://myhost/
index.php
?
param
1=val1&
p
浏览 3
提问于2015-10-20
得票数 1
1
回答
鲁门+
nginx
=错误500,在内部
重定向
到
"/
index.php
“时重写或内部
重定向
周期
redirect
、
laravel
、
nginx
、
php
、
lumen
服务器端有
nginx
+ php-fpm。
index.php
; fastcgi_
param
SCRIPT_FILENAME/var/www/lumen/public/
index.php
; try_files $uri $uri/ /
index.php
浏览 2
提问于2015-04-15
得票数 3
回答已采纳
1
回答
带有ngix - 301
重定向
的子目录中的CakePHP 2
cakephp
、
nginx
、
configuration-files
、
http-status-code-301
index.php
; error_
page
404 = /404.html; root index.html; autoindex on;}; fastcgi
浏览 6
提问于2013-06-15
得票数 0
2
回答
如何
重定向
NGINX
php
、
nginx
、
redirect
、
mod-rewrite
我正在尝试从
重定向
到
server { index
index.php
index.html; access_log /var/log/
nginx
/access.log;
浏览 5
提问于2021-12-03
得票数 0
4
回答
在现有URL中添加参数会导致无限循环
javascript
、
php
、
jquery
我有一个页面
index.php
,我想在用户的某个动作上附加一个参数到URL的末尾。所以结果将是
index.php
?
param
=1<?php ?>window.location = "?
param
=1"; 如何才能在不遇到任何使用PHP、Ja
浏览 7
提问于2015-10-18
得票数 1
回答已采纳
1
回答
允许使用Symfony 4和
nginx
执行除
index.php
之外的其他php脚本
php
、
symfony
、
nginx
、
nginx-location
给定以下文件夹结构-- public--- otherscript.phpserver { #
nginx
will returnare not found instead of passing the # request to Symfony
浏览 3
提问于2019-11-02
得票数 0
回答已采纳
1
回答
如何像apache那样在URI中管理语言?
nginx
我所期望的是:/被
重定向
到
/en/当uri与/(en|fr)/myscript.php匹配时,
nginx
应该向/var/www
浏览 0
提问于2021-02-08
得票数 1
1
回答
Nginx
重写查询字符串的路径
php
、
nginx
、
url-rewriting
我使用
nginx
(Php)和无脂框架。我的路由引擎需要一些
重定向
逻辑。看上去:location / {} include /etc/<
浏览 0
提问于2015-09-19
得票数 1
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
对象存储
ICP备案
云点播
腾讯会议
活动推荐
运营活动
广告
关闭
领券