Jump to content

Form posts only working from localhost


kevinwilson

Recommended Posts

Hi,

 

I've been using "phpdev" (a bundle of Apache, MySQL and PHP) on my local machine for development. By default, phpdev's Apache conf only allows access from 127.0.0.1.

 

I've just changed my httpd.conf file to make my server remotely accessible, by changing "Allow from 127.0.0.1" to "Allow from all".

 

Now, when I access it from the external IP address, forms that post to another page don't work: when the form is submitted, I just get a blank page. If I change the form method to "GET" it works properly. When accessing the site via 127.0.0.1, everything works as expected.

 

I don't have any <LIMIT> clauses in the file. I don't know much about Apache configuration - can anybody point me in the right direction?

 

Thanks for your help.

Link to comment
https://forums.phpfreaks.com/topic/2981-form-posts-only-working-from-localhost/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.