Redirecting shtml to html if it exists
Issue
- If an html file matching the requested file is present, we would prefer to redirect the client to this instead of serving the shtml file. How could this be achieved with a RewriteRule?
Environment
- JBoss Web Server (JWS) 3.x
- JBoss Core Services (JBCS)
- Apache httpd
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
