[users@httpd] CGI executing for a certain directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've got a question that should be simple for an advanced Apache user. I'm
trying to set up a certain directory so that cgi-bin apps can be run from
there. The Apache manual is quite clear on this but I can't make it work.
What am I doing wrong?  I use the config lines at the bottom of this message
to set the directory up for cgi-bin executing. I saved and restarted the
Apache server but when I request a cgi executable that's in the directory
"C:/apache/htdocs/test/cgi-bin/" the webserver attempts to view the file
instead of executing it. So in my browser window the code of the program is
shown when I call the cgi executable!

Is there anything wrong with the way I config this dir for cgi executing
(see below) or do I need to check other settings in my httpd.conf file? When
I configure cgi execution for a certain directory this has nothing to do
with my scriptalias or does it?

Thanks in advance!!

    <Directory "C:/apache/htdocs/test/cgi-bin/">
	AllowOverride None        
	Options +ExecCGI
	Order allow,deny
    	Allow from all
    </Directory>





---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux