Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 1st, 2002, 10:17 AM
ender ender is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Location: n-e-double u jers, where many murders occurs
Posts: 2 ender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to ender
Thumbs down method post problem and virtual hosts

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

Reply With Quote
  #2  
Old February 1st, 2002, 05:40 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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).

Reply With Quote
  #3  
Old February 2nd, 2002, 09:57 AM
ender ender is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Location: n-e-double u jers, where many murders occurs
Posts: 2 ender User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Send a message via AIM to ender
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

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > method post problem and virtual hosts


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT