Submitted by kallaics on Fri, 05/18/2012 - 01:35
Hy Everyone!
I upgrade my virtualmin (with GPL license) new version, and the website redirect function is working bad. Apache can't restart while this function create bad redirect config.
Can everyone solution for this problem?
Thanks!
Sorry my English is not perfect.
Status:
Active
Comments
Submitted by kallaics on Fri, 05/18/2012 - 03:00 Comment #1
i can modify manual the redirecting under webmin, that works fine.
Bad syntax:
From: /(.*)$ To: /home/domain/public_html
Good syntax is:
From: /(.*)$ To: /home/domain/public_html/$1
Submitted by JamieCameron on Fri, 05/18/2012 - 12:35 Comment #2
What is the error you are getting from Apache?
Submitted by kallaics on Sun, 05/20/2012 - 16:34 Comment #3
Yes, the error generated by Apache. You can view the problem in your browser. :S You can upgrade the latest version of virtualmin and create new website redirecting, and test your browser. The error source is created command under virtualmin.
Submitted by JamieCameron on Sun, 05/20/2012 - 19:34 Comment #4
Ok .. but can you tell me what the exact error you are getting from Apache is?
Submitted by kallaics on Tue, 05/22/2012 - 09:09 Comment #5
The Bad line in the config file: (this create the virtualmin) AliasMatch /(.*)$ /home/domain.tld/public_html/
It's good: (this is the fixed problem (under GPL licensing) AliasMatch /(.*)$ /home/domain.tld/public_html/$1
Submitted by JamieCameron on Tue, 05/22/2012 - 16:22 Comment #6
I don't see how that directive is bad though - on my test system, Apache accepts it just fine.
Submitted by kallaics on Tue, 05/29/2012 - 08:32 Comment #7
Thank you the answers.
I don't upgrade the system in the future and the problem solved.