Hello
!
First of all I would
like to introduce myself, because i am new to this
mailinglist.
My name is Jens, i
am living in Germany and i am 24 years old.
I've been working
with Linux, Perl, HTML and all the stuff around since 1996,
so I would suppose,
that I am not new to the internet-djungle :-)
In our company we
use a Linuxserver as a webserver, so there should be no
problem running
dynamically generated pages. BUT there came an order to
rebuilt our
web-content based onto ASP due to conformity. I hate this word
:|
Nevertheless - we
did not want to swap our Linuxserver with a m$ IIS...
We could arrange it,
that we can keep our Server on running as it is, but
we still had to use
ASP... So I found the Apache::ASP project.
We modified the
given ASP sourcecodes, that they could be executed
at our
server.
Now there is a huge
problem: We have an ASP file for every page on
that server, and
in each file exists the same subs like
Write_Content_HTML()
and so on. We include there the main content
of each webpage
dynamically. There are more such subs, but one should
be enough to explain
the problem.
The code works fine,
but the error_logs are full of redefinition warnings,
due to the fact,
that the same subs are used in each ASP file.
So I looked for a
solution, and found the mailing-list archive, where I
searched for a
solution. I found some matching posts, but none of them
described the
desired solution.
I also used the
configuration entry "UniquePackages 0", so there would
not be one global
"memory". That solved the problem with the redefinition
errors, but now the
sources did not run anymore, because the subs did
not "know" each
other.
I don't know how to
solve that, instead of set UniquePackages to 0 and
review our sources,
but that would be too complex...
I really hope you
know a better way... Thanks in advance !
Bye,
Jens