On Tue, 2002-08-20 at 23:03, Simon Bryan wrote:
> Hi all,
> I have just setup an Apache Web server using 'Apache toolbox', which I have
> used successfully in the past. I included php, MySql, SSL and Postgres, all
> went according to plan and there were no errors shown. We have some php
> pages I need to migrate over from another server, they provide a front end
> to a Postgres database. However when I bring up the login screen and login I
> get:
>
> Method Not Allowed
> The requested method POST is not allowed for the URL /sreport/index.php3.
>
>
> ----------------------------------------------------------------------------
> ----
>
> Apache/1.3.26 Server at xxxxxxxxxxxxxxxxxxxxxxxxx
>
> I fed the error into Google and have tried all suggestions I could find, but
> am still getting the error. Has anyone got any suggestions as to where I go
> next, I have compared the htppd.conf file with the one on the old server and
> they seem to have all the critical bits the same.
>
Hi Simon,
Do you have PHP4 installed as an apache module? If so, check that you
have something like this:
<IfModule mod_php4.c>
AddType application/x-httpd-php .php4 .php3 .phtml .php
AddType application/x-httpd-php-source .phps
</IfModule>
If it's not a module then I think you may need an AddHandler line
instead.
Felix
--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug