小白求助!安装后注册和登录都转到首页去了
By
will
at 2016-02-29 • 1人收藏 • 2312人看过
我的主页是www.motuoceping.com,论坛地址是www.motuoceping.com/forum,但是注册和登录都转到首页去了,我写了伪静态可能是不对,各位知道阿里云ace的伪静态怎么写吗?下面是我写的:
# nginx configuration error_page: - status: /forum/404 page: /forum/404.php rewrite: - url: ^/forum/dashboard$ script: /forum/dashboard.php last - url: ^/forum/favorites(/page/([0-9]+))?$ script: /forum/favorites.php?page=$2 last - url: ^/forum/forgot$ script: /forum/forgot.php last - url: ^/forum/goto/([0-9]+)-([0-9]+)$ script: /forum/goto.php?topic_id=$1&post_id=$2 last - url: ^/forum/json/([0-9a-z_-]+)$ script: /forum/json.php?action=$1 last - url: ^/forum/login$ sceipt: /forum/login.php last - url: ^/forum/manage$ script: /forum/manage.php last - url: ^/forum/new$ script: /forum/new.php last - url: ^/forum/notifications$ script: /forum/notifications.php last - url: ^/forum/oauth-([0-9]+)$ script: /forum/oauth.php?app_id=$1 last - url: ^/forum/page/([0-9]+)$ script: /forum/index.php?page=$1 last - url: ^/forum/register$ script: /forum/register.php last - url: ^/forum/reply$ script: /forum/reply.php last - url: ^/forum/reset_password/(.*?)$ script: /forum/reset_password.php?access_token=$1 last - url: ^/forum/robots.txt$ script: /forum/robots.php last - url: ^/forum/search.xml$ script: /forum/open_search.php last - url: ^/forum/search/(.*?)(/page/([0-9]+))?$ script: /forum/search.php?keyword=$1&page=$3 last - url: ^/forum/settings$ script: /forum/settings.php last - url: ^/forum/sitemap-(topics|pages|tags|users|index)(-([0-9]+))?.xml$ script: /forum/sitemap.php?action=$1&page=$3 last - url: ^/forum/statistics$ script: /forum/statistics.php last - url: ^/forum/t/([0-9]+)(-([0-9]+))?$ script: /forum/topic.php?id=$1&page=$3 last - url: ^/forum/tag/(.*?)(/page/([0-9]+))?$ script: /forum/tag.php?name=$1&page=$3 last - url: ^/forum/tags/following(/page/([0-9]+))?$ script: /forum/favorite_tags.php?page=$2 last - url: ^/forum/tags(/page/([0-9]+))?$ script: /forum/tags.php?page=$2 last - url: ^/forum/u/(.*?)$ script: /forum/user.php?username=$1 last - url: ^/forum/users/following(/page/([0-9]+))?$ script: /forum/favorite_users.php?page=$2 last - url: ^/forum/upload_controller$ script: /forum/upload_controller.php last - url: ^/forum/view-(desktop|mobile)$ script: /forum/view.php?view=$1 last
3 个回复 | 最后更新于 2016-03-10
登录后方可回帖
Line 17