October 7th, 2002, 03:45 PM
Need Apache Help
I'm trying to set up apache and I need some help.
My DirectoryRoot is /var/www/html and for the cgi it is /var/www/cgi-bin with a ScriptAlias /cgi-bin/
I want to run scripts from my local directory
and access them through
The computer is not connected to the internet, I am just setting it up so I can learn php.
I can access the html scripts in /home/owen/public_html
test.html contains a form that needs processing by test.pl
that is in /home/owen/cgi-bin.
Is there a way to set up
I greatly appreciate the help. Thank you!
October 7th, 2002, 04:52 PM
The way that it would show up, if I remember right is:
You also need to remember to go to your httpd.conf and make sure that the options allows the execution of scripts in that directory and that it is allowed to override the default (which doesn't allow it). I think you are looking for the following: (I had to hack this out of my conf, (to hide my info obviously), you might need to play with it a little...)
# AllowOverride FileInfo AuthConfig Limit
Options Indexes ExecCGI
<Limit GET POST OPTIONS PROPFIND>
Allow from 127.0.0.1
Deny from all
<LimitExcept GET POST OPTIONS PROPFIND>
Deny from all
There is only one constant, one universal, it is the only real truth: causality. Action. Reaction. Cause and effect...There is no escape from it, we are forever slaves to it. Our only hope, our only peace is to understand it, to understand the 'why'. 'Why' is what separates us from them, you from me. 'Why' is the only real social power, without it you are powerless.
(Merovingian - Matrix Reloaded)