腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
圈层
工具
MCP广场
文章/答案/技术大牛
搜索
搜索
关闭
发布
文章
问答
(9999+)
视频
沙龙
1
回答
Magento 1.7
REST
API
nginx
配置
php
、
magento
、
rest
、
nginx
、
magento-1.7
Magento1.7有新的
REST
API,也有新的.htaccess文件
重写
规则
。如何在
nginx
中
重写
新
规则
?$ api.
php
?type=$1 [QSA,L] ## rewrite API2 calls to api.
php
(by nowit is
REST
only) RewriteRule ^api/
re
浏览 2
提问于2012-09-11
得票数 0
回答已采纳
1
回答
NGINX
-
重写
PHP
REST
规则
php
、
rest
、
api
、
nginx
我目前正在学习使用
NGINX
(和
PHP
-FPM)的
REST
。 我有几个关于路由的问题(例如/customers)。首先,我应该使用
NGINX
还是
PHP
进行路由(将它们作为
重写
规则
,比如/customer/{cusID}将映射到/customer.
php
?cusid={cusid}),或者基于/customer/{cusID}映射到/customer.
php
进行<e
浏览 19
提问于2017-12-30
得票数 0
3
回答
在http://{magentoHost}/api/之后找不到Magento
api
、
magento
、
rest
我试图通过http://localhost/b_marketing/api/
rest
/products访问
rest
,但是页面重定向到404页。我正确地检查了ACL属性
规则
、
REST
属性和
REST
角色中的检索目录产品.通过使用这些所有配置,它也在我的另一个项目上正确工作。有一件事我需要在这里提到,我的项目只有当我使用http://localhost/b_marketing/index.
php
浏览 3
提问于2014-05-29
得票数 1
回答已采纳
1
回答
将lighttpd
重写
规则
转换为
nginx
mod-rewrite
、
nginx
、
rewrite
、
lighttpd
我有以下简单的lighttpd
重写
规则
: url.rewrite-once = ("^[^.]*$" => "controller.
php
/$1"}server { root
浏览 0
提问于2012-07-24
得票数 0
2
回答
Magento 1.7
REST
API
nginx
重写
规则
。未执行api.
php
api
、
magento
、
rest
、
nginx
、
rewrite
如果我打开链接,它只是下载了api.
php
,并没有执行脚本。location /api {} index index.html index.
php
; try_files $uri $uri/ @handler;; }
浏览 1
提问于2013-06-15
得票数 2
回答已采纳
1
回答
Apache RewriteCond --如何将它们转换为
nginx
重写
规则
?
nginx
、
url-rewriting
遵循教程,我将为它设置
重写
规则
。唯一的问题是我有
nginx
RewriteCond %{REQUEST_FILENAME} !-d我试过这样的方法rewrite ^/api/$ /api/index.
php
last; rewrite^/api/(.
浏览 6
提问于2014-06-01
得票数 0
回答已采纳
1
回答
Nginx
将目录排除在重定向
规则
之外
nginx
我在
Nginx
中有下面的.conf } #bunch of rules here} 这里我
浏览 1
提问于2015-08-25
得票数 1
回答已采纳
1
回答
使用Puppet /
Nginx
提供程序添加
重写
位置
symfony
、
url-rewriting
、
nginx
、
vagrant
、
puppet
我想在
Nginx
配置文件中使用这个
规则
: # rewrite all to app.
php
}
nginx
::resource::
浏览 0
提问于2013-12-22
得票数 2
回答已采纳
1
回答
nginx
使用几个变量和
规则
进行
重写
url-rewriting
、
nginx
我正在处理
Nginx
重写
规则
,以获得搜索引擎优化友好的地址,目前我只尝试了一个GET变量和一个
规则
。.*)$ /request_account.
php
?id=$1 last;这会将request_account.
php
?id=XXX转换为/request-account/XXX例如。 request_user.
php
?id=ab12&page=
浏览 0
提问于2013-11-14
得票数 0
1
回答
防止用户使用
Nginx
重写
覆盖查询字符串参数
nginx
、
url-rewriting
、
query-string
我有以下
Nginx
重写
规则
:
Nginx
现在将应用如下
重写
:第二个例子有问题。如何防止访问者添加已由
重写
规则
添加的查询字符串参数?仍然可以提供其他查询字
浏览 1
提问于2020-09-20
得票数 0
1
回答
.htaccess到
nginx
.htaccess
、
nginx
我有一个.htaccess
重写
规则
RewriteEngine OnRewriteRule^$ public/ [L]和
nginx
版本
重写
规则
。使用
nginx
规则
,domain.tld/rss.
php
不工作 domain.tld工作 我的应
浏览 2
提问于2014-11-17
得票数 1
2
回答
子目录下的
nginx
重写
规则
apache
、
nginx
、
rewrite
我在一个子目录下有一个运行
nginx
的WordPress站点。如何在子目录中编写
重写
规则
?或者任何人可以转换这个Apache
重写
规则
吗?我搜索了所有关于
nginx
重写
规则
的内容,但都没有成功!<IfModule mod_rewrite.c>RewriteBase /main/RewriteCond
浏览 0
提问于2012-01-16
得票数 8
回答已采纳
4
回答
如何在子文件夹中为WordPress
REST
配置
nginx
?
wordpress
、
wordpress-rest-api
、
nginx-config
我试图在我们的域下的子文件夹中设置多个Wordpress站点(即不是多站点),但是我很难配置
REST
端点。例如,这个端点工作得很好:但是这个端点提供了一个404:我尝试用
nginx
配置中的以下
规则</
浏览 0
提问于2019-07-08
得票数 6
1
回答
将
Nginx
/Apache
重写
规则
重写
到IIS
apache
、
nginx
、
iis
我有一个Apache
重写
规则
和一个
Nginx
版本。两者应该是一样的。URL
重写
规则
:Options +FollowSymLinksRewriteCond %{REQUEST_FILENAME} !-f
Nginx
try_files $uri $uri/ /index.
php
?我该如
浏览 0
提问于2019-08-23
得票数 0
回答已采纳
1
回答
Nginx
阻止对
php
文件的访问
php
、
nginx
、
url-rewriting
、
fastcgi
我创建了一个简单的
php
文件来显示从MYSQL数据库获取的信息。之后,我使用
Nginx
中的
重写
规则
使链接变得友好,并屏蔽获取链接的.
php
文件。seo=how-to-install-linux
重写
规则
后,我可以访问它,例如:我
重写
的
规则
是: location / {location = /myfile.<em
浏览 3
提问于2017-11-19
得票数 3
回答已采纳
1
回答
修改用于
Nginx
的Apache
重写
规则
nginx
、
apache-2.4
、
mod-rewrite
如何为
Nginx
重写
这个Apache
重写
规则
?.*) index.
php
[L]location @missing {}
浏览 0
提问于2021-04-27
得票数 -1
1
回答
nginx
+瘦配置用于多个web服务文件
configuration
、
nginx
、
slim
有人能帮我
重写
nginx
的
规则
吗?使用
nginx
+
php
+slim,我希望创建一个具有大型库的web服务,我想将其分解为:-/ws-/ws/services.
php
-/ws/products.
php
有人能帮我改写一下
nginx
的
规则
吗。我想我更希望在
nginx
中添加一个新的
浏览 3
提问于2013-11-22
得票数 2
回答已采纳
4
回答
Nginx
中的多站点WordPress
重写
规则
nginx
、
mod-rewrite
、
wordpress
我正在尝试用WordPress和
Nginx
运行一个多域博客安装。最后一步是在.htaccess (仅限apache)中为for服务器配置一些
重写
规则
。如何将其转换为
Nginx
重写
规则
?RewriteEngine OnRewriteRule ^files/(.+) wp-includes/ms-files.
浏览 0
提问于2010-08-16
得票数 7
回答已采纳
1
回答
从apache vhost将
重写
规则
应用于
nginx
vhost
apache
、
.htaccess
、
nginx
我在用
nginx
做一些测试。目标:所有内容都必须在/index.
php
文件中
重写
,而不是额外的和管理员。如果我浏览到,就可以了,controller.
php
文件就会被调用。 rewrite ^
浏览 3
提问于2016-03-03
得票数 0
1
回答
用pcre 8.3在
nginx
上用unicode urls
重写
规则
失败
utf-8
、
nginx
、
rewrite
但是,我设法用最新的PCRE (8.30)编译了
nginx
(1.0.14),将
重写
规则
更改为使用UTF8,但仍然失败。我
重写
的
规则
是 try_files $uri $uri/ /index.
php
; rewrite "(*UTF8)^/imgthumb/(.*)$" /timthumb.
php
在Apache上使用.htaccess
重写</e
浏览 1
提问于2012-03-18
得票数 3
回答已采纳
点击加载更多
热门
标签
更多标签
云服务器
ICP备案
对象存储
云点播
即时通信 IM
活动推荐
运营活动
广告
关闭
领券