No, not behind httpd, but thanks.
On Mar 24, 2008, at 5:22 AM, [EMAIL PROTECTED] wrote:
You can also try redirect at the Apache httpd layer (I assume Tomcat
is
hidden behind httpd), redirecting blog.html to the 1-liner JSP file
you
mentioned.
Hai Vu
David Smith <[EMAIL PROTECTED]> wrote on 24/03/2008 08:13:40 AM:
Here's a possibility:
Write the quick and dirty blog jsp, name it blog.html, and then add
this
to your web.xml file:
<servlet-mapping>
<servlet-name>jsp</servlet-name>
<url-pattern>blog.html</url-pattern>
</servlet-mapping>
The idea is to specifically map blog.html to the jsp servlet for jsp
processing. I haven't tried it, but it seems like it should work.
--David
DIGLLOYD INC wrote:
I'm converting from an Apache http system.
Thousands of my users have bookmarked
http://diglloyd.com/diglloyd/blog.html
With Apache, I symlinked blog.html to the current month's blog.
Now with Tomcat, I see warnings that enabling symlinks is a security
risk.
What is the best way to make blog.html => 2008-03-blog.html ? (eg
if
March 2008 is the current blog)
I realize that I can write a one-line blog.jsp which includes the
current month's blog. But that won't help users that bookmarked
blog.html.
An http redirect works, but it seems the google search engine is not
enamored of redirects; I don't want to hurt my search ranking.
Lloyd Chambers
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]