|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello,
I have done some searching around in these forums for my problem (method post not allowed) and there were a number of relevant results which amounted to this: if you want to use POST methods you have to enable such in your httpd.conf file. I get that much. So...I put a directory directive in each of my virtual hosts and then I do a <LIMIT POST>allow from all</limit>and then the limit except deny from all. I have a few virtual host directories which are actually within the server's document root, so do I want to put these limit directives within the main document root <Director> (which would be assuming that the directory directive is recursive, but I am using Solaris, so who knows? we'll find out!) or do I need to do a <directory> for each of the virtual hosts? I'm going to try this now, but any notes or corrections in my logic would be very much appreciated. ![]() -ender |
|
#2
|
|||
|
|||
|
Just remove all <Limit> block or else nobody can reach any of your site when they are not using POST method.
>> assuming that the directory directive is recursive You are correct. >> do I need to do a <directory> Only if you want to override the setting in parent directory (your default site). |
|
#3
|
|||
|
|||
|
fixed!
Thanks for the tips,
Turned out our problem was not having the php module set up correctly (the post problem arose from trying to post a form to a php script when the php parser was not actually working!) -ender |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > method post problem and virtual hosts |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|