Re: hidden ASPX behind HTML
From: Shaul Feldman (sfeldman_at_writeme.com)
Date: 05/31/04
- Next message: Ed: "file restriction - Forms authentication"
- Previous message: Simon Harris: "Re: Rounded corners in menu Table and Bottons"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 31 May 2004 22:28:51 +0200
Hi,
I did everything as you have meantioned, but unfortunately, the ASPX
extension still remains there...
whe I click to some other page from the main page, I get the extension with
the filename.
Weird... I thought this would work. Any ideas?
--
With the best wishes,
Shaul Feldman
"Teemu Keiski" <joteke@aspalliance.com> wrote in message
news:Opc%232mnREHA.624@TK2MSFTNGP11.phx.gbl...
> Did you include . (dot) with the extension. E.g ".html"?
>
> --
> Teemu Keiski
> MCP, Microsoft MVP (ASP.NET), AspInsiders member
> ASP.NET Forum Moderator, AspAlliance Columnist
> http://blogs.aspadvice.com/joteke
>
>
> "Shaul Feldman" <sfeldman@writeme.com> wrote in message
> news:eOoNMAnREHA.3660@tk2msftngp13.phx.gbl...
> > I'm sorry, but something is not right.
> > I'm doing what you wrote, but nothing works fine.
> > I choose the dll, in text box I get "C:\WINDOWS\...\aspnet_isapi.dll",
> fill
> > in HTML extension in the next TextBox, but the OK button remains grey...
> >
> > --
> > With the best wishes,
> > Shaul Feldman
> > "Teemu Keiski" <joteke@aspalliance.com> wrote in message
> > news:OnvLiimREHA.556@TK2MSFTNGP10.phx.gbl...
> > > It is greyd out if the path in the textbox is in short form. After
> > choosing
> > > the aspnet_isapii.dll (so that path is in the textbox), click focus to
> the
> > > TextBox and then away from it. The path should change to different
shape
> > and
> > > OK button to be clickable.
> > >
> > > --
> > > Teemu Keiski
> > > MCP, Microsoft MVP (ASP.NET), AspInsiders member
> > > ASP.NET Forum Moderator, AspAlliance Columnist
> > > http://blogs.aspadvice.com/joteke
> > >
> > >
> > >
> > > "Shaul Feldman" <sfeldman@writeme.com> wrote in message
> > > news:eRIbF0lREHA.1276@TK2MSFTNGP11.phx.gbl...
> > > > Thanks, the only problem is when I add the new setting for HTML, the
> OK
> > > > button is greyed out :(
> > > > What can be done?
> > > >
> > > > --
> > > > With the best wishes,
> > > > Shaul Feldman
> > > > "Teemu Keiski" <joteke@aspalliance.com> wrote in message
> > > > news:uSmafJlREHA.3944@tk2msftngp13.phx.gbl...
> > > > > Hi,
> > > > >
> > > > > in IIS add mapping for .html/htm extensions to be processed by
> > > > > aspnet_isapi.dll (see the setting for .aspx extension to get the
> > idea).
> > > > This
> > > > > makes IIS to forward the file processing to ASp.NET. After that
you
> > > would
> > > > > need to map the .html extension in ASp.NET config files for proper
> > > > > HttpHandler (so that ASp.NET itself figures that it needs handling
> and
> > > > isn't
> > > > > static content). In machine.config aspx extension is mapped as
> > follows:
> > > > >
> > > > > <httpHandlers>
> > > > > <add verb="*" path="*.aspx"
type="System.Web.UI.PageHandlerFactory"
> > />
> > > > > </httpHandlers>
> > > > >
> > > > > And you'd of course add a setting such that path is "*.html" and
> same
> > > > > repeated for "*.htm" so that these file types are processed as
> normal
> > > aspx
> > > > > pages.
> > > > >
> > > > > Hope this helps.
> > > > >
> > > > > --
> > > > > Teemu Keiski
> > > > > MCP, Microsoft MVP (ASP.NET), AspInsiders member
> > > > > ASP.NET Forum Moderator, AspAlliance Columnist
> > > > > http://blogs.aspadvice.com/joteke
> > > > >
> > > > >
> > > > >
> > > > > "Shaul Feldman" <sfeldman@writeme.com> wrote in message
> > > > > news:uLXYa4jREHA.2408@tk2msftngp13.phx.gbl...
> > > > > > Hello,
> > > > > > the question is how can I masquerade ASPX files behind HTML
> > extension?
> > > > > > Thank you in advance.
> > > > > > --
> > > > > > With the best wishes,
> > > > > > Shaul Feldman
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> > >
> >
> >
>
>
- Next message: Ed: "file restriction - Forms authentication"
- Previous message: Simon Harris: "Re: Rounded corners in menu Table and Bottons"
- Messages sorted by: [ date ] [ thread ]