On Thu, 25 Jan 2001, blinddog wrote:

> I have just begun dabbling in Linux over the past few months and have now 
> begun also dabbling with my apache server , php, mysql, which brings me to my 
> question.
> 
> I am doing an insert into a database using my broser for the entry screen & I 
> I get the following error after submitting the form
> "The requested method POST is not allowed for the URL /index.shtml."
> 
> What am I missing?

1. a POST requires an executable (script or binary) whereas index.shtml
   is a static file

2. your insert into the database should be done in perl, PHP, whatever

3. you must configure a directory/location in your httpd.conf to allow
   execution of your scripts (perl, PHP, whatever)

   for PHP you can do something like:

   AddType application/x-httpd-php3 .php3  (or php4 if you have that)

Your Apache documentation is your friend, as is the PHP website.

-raw


--
Rick Welykochy || Praxis Services




-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to