Submitted by Locutus on Sat, 10/23/2010 - 19:22
In the VMin function Server Configuration / Website Redirects, when I try to add a new redirect of destination type "Directory on this system", it creates an "URL at other website" instead. In the Apache config file, a Redirect directive is used there instead of Alias.
Existing redirects are parsed and edited correctly (as long as I don't change the destination). The issue only occurs when creating a new redirect.
Status:
Closed (fixed)
Comments
Submitted by JamieCameron on Sat, 10/23/2010 - 19:41 Comment #1
You're right, that is a rather embarassing bug - it will be fixed in Virtualmin 3.82.
Submitted by Locutus on Sun, 10/24/2010 - 04:15 Comment #2
Very good! This one wasn't so problematic, since you can easily work around it when you know it - still a little cumbersome. :)
A question: When you set an issue to "fixed" here, does that mean you already implemented the fix, or that you like moved the issue to a personal to do list or so?
Submitted by JamieCameron on Sun, 10/24/2010 - 11:49 Comment #3
"FIxed" means that I have implemented the fix already, and that it will be included in the next Virtualmin release..
Submitted by Locutus on Sun, 10/24/2010 - 13:30 Comment #4
Great, thanks! Seems Eric was right with calling you a "bug fixing machine". ;)
Submitted by Locutus on Tue, 10/26/2010 - 03:25 Comment #5
A small addition to this that just came to mind: If I create an Alias to a directory that is outside of public_html, this function should, at least I guess it is intended to, automatically create a
<directory ...>
entry in Apache config, bearing per-directory options to allow access to the Alias target, am I correct? If so, does the function already do that? (Due to the "always-redirect" bug I could not really test that.) Or is the user supposed to create the per-directory options manually afterwards?Submitted by JamieCameron on Tue, 10/26/2010 - 11:58 Comment #6
Currently you would need to manually add any Apache block for the location outside of /home , if needed. In general I wouldn't recommend creating aliases like that ..
Submitted by Issues on Tue, 11/09/2010 - 12:20 Comment #7
Automatically closed -- issue fixed for 2 weeks with no activity.
Submitted by Locutus on Tue, 11/09/2010 - 17:18 Comment #8
Even though this is closed, I have a little additional remark:
First, the bugfix in 3.82 worked perfectly. :) Then, about my question in reply #5: I found out that actually it's not needed to create a Directory block for Apache, at least not to allow access, cause in Vmin Apache is configured - at least if I'm not mistaken - to generally allow access to the whole filesystem (limited by permissions and configuration of course), as opposed to the default configuration where "/" is generally forbidden.