mod-alias
Using mod_rewrite and mod_alias (redirect 301) together in .htaccess?
I have a site with a set of old .html and .php pages that have been put into a CMS. Currently in the .htaccess file there are about 30 mod_alias redirects in the following form:[详细]
2023-02-07 23:29 分类:问答Redirect from one domain to another, without the user realizing it
I have a bunch of domains on on of my servers. I\'d like to be able to redirect some domains to a different domain without the user knowing, so not a 301 redirect.[详细]
2023-01-16 19:03 分类:问答Simple 301 redirect in .htaccess with query string does not work with Redirect directive
I am trying to redirect a single URL in a .htaccess file with Redirect: Redirect 301 /index2.php开发者_如何学C?option=com_rss&feed=RSS2.0&no_html=1 /something/somethingelse/[详细]
2023-01-11 08:24 分类:问答Fixing mod_rewrite and mod_alias conflict
I have a VirtualHost setup like this : Alias /somedir /some/other/dir http://example.com/somedir works fine[详细]
2023-01-09 07:05 分类:问答How can I get mod_rewrite and mod_alias to work together?
I have a Windows/Apache/PHP environment set up to imitate a shared hosting account but cannot get mod_alias and mod_rewrite to play nicely with one another. Both are definitely enabled at the server l[详细]
2023-01-04 16:11 分类:问答.htaccess why problem when using ? in Redirect
i have this line Redirect /?page=cms_page&id=12 http://www.domain.dk/case when i type ?page=...... its not will work if i only 开发者_JS百科use page=..... its will work fine but not the user typ[详细]
2022-12-31 15:09 分类:问答Apache Rewrite and Alias combined
We have run into an issue where we have an existing Alias, and we would like to add a rewrite rule to catch all variations of case-insensitive spellings, ie:[详细]
2022-12-30 06:09 分类:问答How to ensure that Apache always serves a single page via HTTPS?
I would like to redirect all connections from htt_p://www.example.com/abc.html to HTTP_S://www.example.com/abc.html . What mod_alias or mod_rewrite commands would work for this? I\'ve tried:[详细]
2022-12-20 10:31 分类:问答How to use spaces in the URL path in mod_alias’ Redirect directive?
Following on from link text, I\'ve also got problems with file paths that contain spaces.I wa开发者_如何转开发s told to simply enclose the full path in quotes, and that should work, but I keep getting[详细]
2022-12-15 05:00 分类:问答mod_alias subdirectory replacement
I am using Rewrite开发者_运维技巧Match to redirect all traffic from subdir1 to subdir2, while keeping all other parts of the url the same.So for instance,[详细]
2022-12-13 11:31 分类:问答