httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David B. Bitton" <da...@codenoevil.com>
Subject Re: Force POST to HTML page
Date Thu, 18 Jul 2002 13:18:04 GMT
Ok,
    I'm well aware of the fact that nothing will happen when posting to an
HTML page.  All I need is for Apache not to spew a 405 when I do it.  That's
all.  The static HTML demo will have no dynamic content whatsoever, and
therefore there's no need for PHP or CGI.  This will eventually be rolled up
and placed on a CDROM, but for distributed testing within our organization,
I'm making it available via Apache.

    We use a package called OctoSiteCompiler which takes all of the HTML
files and rolls them into an .exe file.  But like I said, for testing, I
want to access it through Apache.  OctoSiteCompiler doesn't care about
POST'ing to an HTML page, just Apache.  So I want to get Apache to be just
as forgiving.
--

David B. Bitton
david@codenoevil.com
www.codenoevil.com

Code Made Fresh DailyT
----- Original Message -----
From: "Jeff Beard" <jeff@cyberxape.com>
To: <users@httpd.apache.org>
Sent: Thursday, July 18, 2002 12:54 AM
Subject: Re: Force POST to HTML page


> Ok, well I'm still confused about what your issue actually is but here
> are 2 things that might help:
>
> 1) You need to port that ASP stuff to Perl or PHP or something. Can't
> POST data to an HTML page and expect things to happen.
>
> 2) You can link the next page in the form action attribure with a method
> of GET and have it appear to work but unless you put some code in there
> it won't do anything with any submitted data. You need to code something
> to make that happen. All that's hidden in IIS.
>
> --Jeff
>
> David B. Bitton wrote:
> > Ok,
> >     This may sound a little backwards but here goes.  I'm taking an ASP
> > application and making a static HTML demo version of it.  I didn't want
to
> > have to change the code in the HTML pages that POST to each other.  I
just
> > want them to do the POST to the next page ( a .htm file ), and then go
on
> > it's merry way.
> >
> > This is why I'm POST'ing to another HTML file.  This file was originally
an
> > .asp file before I captured its output into a .htm file (so foo.asp is
now
> > foo.htm).
> >
> > --
> >
> > David B. Bitton
> > david@codenoevil.com
> > www.codenoevil.com
> >
> > Code Made Fresh DailyT
> > ----- Original Message -----
> > From: "Jeff Beard" <jeff@cyberxape.com>
> > To: <users@httpd.apache.org>
> > Sent: Wednesday, July 17, 2002 9:45 PM
> > Subject: Re: Force POST to HTML page
> >
> >
> >
> >>You need to post to a program. Is that .htm file a program? If so, why
> >>do you need (I say *need*) to have a program with an extension that
> >>means the file is HTML?
> >>
> >>--Jeff
> >>
> >>David B. Bitton wrote:
> >>
> >>>I need to force Apache to allow a POST method to a HTML (.htm) file.
> >>
> > Can I
> >
> >>>force w/o assigning .htm to the cgi-script handler?
> >>>--
> >>>
> >>>David B. Bitton
> >>>david@codenoevil.com
> >>>www.codenoevil.com
> >>>
> >>>Code Made Fresh DailyT
> >>>
> >>>
> >>>---------------------------------------------------------------------
> >>>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >>>For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> >>For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >>
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message