.htaccess 重定向...迷路了

问题描述

试图做一些简单的事情却被卡住了!

我想这样称呼: https://example.com/profile/?username&mref=usernamehttps://example.com/profile/?username

然后到这里:

https://example.com/username

这不起作用!

RewriteRule ^(profile/?.*)$ https://example.com/$1 [R=301,L,NC,B]

有人可以帮忙吗?

解决方法

您可能需要:

- name: Publish to Test PyPI
  uses: pypa/gh-action-pypi-publish@release/v1
  with:
    user: __token__
    password: ${{ secrets.TEST_PYPI_API_TOKEN }}
    repository_url: https://test.pypi.org/legacy/

重定向如下:

SELECT Kursusnavn,Kursus_ID
FROM GK6.Kursus
INNER JOIN GK6.[Kursus _Studerende] on Kursus.ID = [Kursus _Studerende].Kursus_ID
ORDER BY Kursus_ID

QSD|qsdiscard 从查询中删除 QUERY_STRING。参见 apache2 rewrite_mod