actionrails / modporter

Scale your file uploads
http://modporter.com
139 stars 13 forks source link

Apache 1.3 configuration directives found #7

Open mid9commander opened 15 years ago

mid9commander commented 15 years ago

I am getting "apache 1.3 configuration directives found" whenever I put "Porter On" into my . My Rake ran without any problem when installing the mod_porter into apache, so I am not sure what the problem may be. Can you please shed some lights?

mid9commander commented 15 years ago

never mind, I was using the wrong includes.

mid9commander commented 15 years ago

This can be closed

shware commented 15 years ago

Hi,

I'm on CentOS Linux 5 using Apache 2.2.3 and am seeing the same issue. The modules compile cleanly but once I add Porter On to httpd.conf I get the "Apache 1.3 confguration directives found". I'm pretty sure I've got the proper include files. rake runs fine.

Any additional clues would be greatly appreciated.

Thanks,

Shawn

heyaz commented 14 years ago

Did you find a solution to the issue? I'm having the exact same problem. 4 hours of searching google only turned up this issue, with no solutions on it yet. I've started over, recompiled eveyrthing, changed settings, etc. but no luck so far.

Any ideas?

mlartz commented 14 years ago

The problem is with CentOS's init script for apache (/etc/init.d/httpd). In the check13() function, they build up a regex to look for old 1.3 commands, one of which is 'Port', i.e.:

GONE="(ServerType|BindAddress|Port|AddModule|ClearModuleList|"

This hits on the "Porter" string. I solved it by patching the init script to add a space after the 'Port':

sed -i 's/Port/Port /' /etc/init.d/httpd