W
who be dat?
Hello all. I'm writing an application that is writing trace information
that can be viewed in trace.axd. I would like to rename this and use a
different name specific to my application. I know the name of this is set in
machine.config. I was hoping it would be possible to change this in
web.config. I got it to work, kind of. Good news is I can change the name in
my web.config file. Bad news is that trace.axd still works meaning I can
access the log file by using two different names, the one I created in
web.config and trace.axd . There is a bit of a problem with this though.
When I click on a link to view trace results in my custom axd webpage, the
links are actually to the trace.axd webpage instead of using the name I
supplied in web.config file.
Any ideas how I can do this or is it even possible? The reason why I want
to do this is because I'm writing a web app I'd like to release to the
public upon completion. I write some error messages out to the trace log to
help with diagnosing problems. Thing is, the trace information could
compromise some security I'm implementing. I'd like to rename the trace
webpage in web.config. That way, when someone installs this on a webhosting
service, they can rename the webpage to whatever they want to and keep it
secret thereby helping a bit in the area of security.
Chris Smith
that can be viewed in trace.axd. I would like to rename this and use a
different name specific to my application. I know the name of this is set in
machine.config. I was hoping it would be possible to change this in
web.config. I got it to work, kind of. Good news is I can change the name in
my web.config file. Bad news is that trace.axd still works meaning I can
access the log file by using two different names, the one I created in
web.config and trace.axd . There is a bit of a problem with this though.
When I click on a link to view trace results in my custom axd webpage, the
links are actually to the trace.axd webpage instead of using the name I
supplied in web.config file.
Any ideas how I can do this or is it even possible? The reason why I want
to do this is because I'm writing a web app I'd like to release to the
public upon completion. I write some error messages out to the trace log to
help with diagnosing problems. Thing is, the trace information could
compromise some security I'm implementing. I'd like to rename the trace
webpage in web.config. That way, when someone installs this on a webhosting
service, they can rename the webpage to whatever they want to and keep it
secret thereby helping a bit in the area of security.
Chris Smith