03-31-07 06:16 PM
On Mar 30, 7:55 pm, Dave Hinz <DaveH...@gmail.com> wrote:
> On 30 Mar 2007 10:32:53 -0700, Dan <mute...@yahoo.com> wrote:
>
>
>
> Why?
>
>
> Right.
>
>
> Shouldn't work. Apache shouldn't let you up beyond your document_root.
>
>
> They need to fix their links.
>
>
> A sed script would do nicely.
>
>
> Breaking your webserver to serve their broken HTML isn't really the
> right solution. Sets a bad precedent if nothing else.
Hi,
I agree, Its a total hack. However, this isnt a regular web
development team, its very non-technical faculty at a large state
university. They dont even know what html is, they use Adobe's
Contribute to change their web pages without any knowledge of the
underlying technologies. Many of our users dont understand how to send
mail attachments, nevermind editing html. Making the users smarter
wont work in this case. Most are too far gone and there's way too many
of them.
I have used PERL & sed to do mass html replacements, but the website
is HUGE, with over 10 years of junk faculty & staff has uploaded. A
simple 4 line PERL script takes over 12 hours to chew through all the
web pages on these ancient servers. The next day the users will have
uploaded the more and more examples of the problem. Ive thought about
nightly "html fixing" cronjobs, or fixing the html as they upload it.
Adding a few lines with mod_rewrite seemed alot easier, but it doesnt
seem like it can be done. I figured i'd ask tho.
Dan
[ Post a follow-up to this message ]
|