Re: Virtual Hosts and POST
Jay J wrote: Jon Wyatt wrote: [EMAIL PROTECTED] wrote: Simple first stage question:- Your not using mod_rewrite at all (it took me 6 hours to work out that that was causing the same problem for me). I wasn't but I am now and it's made no difference. I'm going to change my mind now. I'm still not using it. To use that mod surely I need to do the following:- Edit Configure to enable the mod_rewrite perl Makefile.PL .{with everything enabled} make make install cd apache dir make install The mod is now statically linked in, right? Or am I completely wrong? Jon. --enable-module=rewrite FYI, unless you have 'RewriteEngine on' and rules/etc .. this really shouldn't interfere. This was the problem. The mod wasn't enabled but the rule was in there. I'm still having problems enabling the mod which is a bit worrying but that's a different story, I may ask for assistance later. Thanks both for your help. Jon.
Virtual Hosts and POST
I've just installed mod_perl (of which I have no previous experience) on my server and configured it apparently correctly for a single site server. The site runs scripts quite happily, notably POST methods are accepted. Then I start setting up virtual hosts, post requests are no accepted on these hosts. What directives do I need? I appreciate this might look like an apache problem but I'm using the pre-mod_perl config file and the only thing that has changed is the mod_perl addition. An example virtual host config looks like:- VirtualHost 192.xx.xx.xx Options ExecCGI Includes DocumentRoot /home/billy ServerAdmin billy@billy ServerName www.billy.com Alias /perl/ /home/billy/cgi-bin/ Alias /cgi-bin/ /home/billy/cgi-bin/ /VirtualHost And the relevant section in my mod_perl.conf looks like Location /perl SetHandler perl-script PerlHandler Apache::Registry Options ExecCGI all from all PerlSendHeader On /Location Jon.
Re: Virtual Hosts and POST
[EMAIL PROTECTED] wrote: Simple first stage question:- Your not using mod_rewrite at all (it took me 6 hours to work out that that was causing the same problem for me). I wasn't but I am now and it's made no difference. Next ;-) Jon.
Re: Virtual Hosts and POST
Jon Wyatt wrote: [EMAIL PROTECTED] wrote: Simple first stage question:- Your not using mod_rewrite at all (it took me 6 hours to work out that that was causing the same problem for me). I wasn't but I am now and it's made no difference. I'm going to change my mind now. I'm still not using it. To use that mod surely I need to do the following:- Edit Configure to enable the mod_rewrite perl Makefile.PL .{with everything enabled} make make install cd apache dir make install The mod is now statically linked in, right? Or am I completely wrong? Jon.
Re: Virtual Hosts and POST
Jon Wyatt wrote: [EMAIL PROTECTED] wrote: Simple first stage question:- Your not using mod_rewrite at all (it took me 6 hours to work out that that was causing the same problem for me). I wasn't but I am now and it's made no difference. I'm going to change my mind now. I'm still not using it. To use that mod surely I need to do the following:- Edit Configure to enable the mod_rewrite perl Makefile.PL .{with everything enabled} make make install cd apache dir make install The mod is now statically linked in, right? Or am I completely wrong? Jon. --enable-module=rewrite FYI, unless you have 'RewriteEngine on' and rules/etc .. this really shouldn't interfere. Just a hunch, are you using CGI::ReadParse? When I first used Apache::Registry, ReadParse got me .. for all I know, it works differently now. -Jay J