Jump to content

IIS form actions


bcoffin

Recommended Posts

Why is it that on IIS

 

I can't do: <form method="POST" action="http://www.domain.com/form/"

 

but rather have to do: <form method="POST" action="http://www.domain.com/form/index.php"

 

?

 

Is there a config setting in IIS to assume the index.php?

It's assuming it for the root directory...

 

http://www.domain.com/

 

loads

 

http://www.domain.com/index.php

 

 

But not for my form actions.

Ideas?

 

 

Link to comment
https://forums.phpfreaks.com/topic/69407-iis-form-actions/
Share on other sites

Hi wildteen. That works fine for the default document, but unfortunately it has no effect on the form actions. I still need to put the full path in the form actions (http://www.domain.com/form/index.php, not http://www.domain.com/form/) to get the form to find the right location.

Link to comment
https://forums.phpfreaks.com/topic/69407-iis-form-actions/#findComment-349177
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.