Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.