mod-alias Questions
3
Solved
I keep reading that, where possible, I should not be using mod_rewrite. As such, I am trying to do a http to https rewrite with RedirectMatch.
Question: How can I use RedirectMatch and use Apache ...
Asco asked 27/10, 2016 at 15:58
7
I'm trying to create a folder named week7 and an html page named hello.html in that folder outside the document root and have it viewed through an Alias directive.
I created a folder named week7 ...
2
Solved
I have a server, its httpd.conf already has some "RedirectMatch permanent" directives in it.
I'm not that familiar with mod_alias, I've only ever used mod_rewrite.
What's the basic difference? I ...
Egor asked 30/4, 2009 at 17:4
1
Solved
I'm struggling to fix an issue with 301 redirects and .htaccess. I have moved a site from an old domain to a new domain. And I have successfully managed to do this with a 301 redirect. Like so:
Red...
Eft asked 21/5, 2017 at 14:26
1
I am trying a pretty simple thing that I would normally do using a RewriteRule (and which works perfectly when I do).
My goal:
Force certain (not all) URLs to use the https protocol.
Caveats:
A...
Nihility asked 26/10, 2016 at 13:32
1
Solved
From another answer, this double slash dot is common
RedirectMatch 404 /\\.svn(/|$)
Since we're matching "/.svn" etc., why isn't this a single slash to escape the period?
2
Solved
I'm trying to first use an Alias folder to store my project files in a different location than my DocumentRoot, and then execute a mod_rewrite on this request. However it doesn't seem to parse the ...
Bleat asked 28/8, 2012 at 14:12
2
Good old regular expressions are driving me nuts.
I need to redirect all traffic in Apache 2.4 from HTTP to HTTPS, except for "/bt/sub/[a_few_endings]", using Redirect from mod_alias (can't use mo...
Vortumnus asked 16/10, 2014 at 8:40
2
I have two applications running in the same server and I would like to have one served from subpath in the url (i.e):
foo.com -> /var/www/foo
foo.com/bar -> /var/www/bar
I'm trying to do an ali...
Holder asked 26/8, 2011 at 17:47
1
Solved
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:
redirect 301 /old...
Mai asked 31/1, 2011 at 21:14
1
© 2022 - 2024 — McMap. All rights reserved.