We help IT Professionals succeed at work.

redirect page in webmin

how do I redirect a .htm page to another .html page within webmin?
Comment
Watch Question

DevOps Manager
Top Expert 2011
Commented:
Hi,

# domain.com/page.htm to domain.com/new_page.html
    RewriteRule ^page.htm$ new_page.html [R,NC,L]

Cheers,
Hades666
Brad HoweDevOps Manager
Top Expert 2011

Commented:
next question, Is you Webmin console running on the webminserv.pl or on apache?
If it is not on apache, i would suggest moving it to a virtual host and configuring the mod_Rewrite.
http://www.webmin.com/apache.html

Cheers,
Hades666

Author

Commented:
I notice in webmin, there is a link in apache called Aliases and Redirects.  I tried putting in a permanent redirect like this..

Permanent URL redirects:

FROM:  http://www.domain.com/page.htm    TO:  http://www.domain.com/otherpage.html

Is that correct?
Brad HoweDevOps Manager
Top Expert 2011

Commented:
That makes sense, That would be a 301. - Hades666

Author

Commented:
I tried, but it doesn't redirect.