On Monday 01 October 2001 11:16 pm, Brandon Caudle wrote:
are you talking about in this section?
<Directory "/usr/local/httpd/cgi-bin"> AllowOverride None <snip>
Yes, after this: <Directory "/usr/local/httpd/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> Add this: <DirectoryMatch "/home/nameofhomedirectory/public_html/cgi-bin"> # <DirectoryMatch "/home/[a-z]+/public_html/cgi-bin"> Options ExecCGI AddHandler cgi-script .cgi .pl </DirectoryMatch> Change "nameofhomedirectory" to the required username. I couldn't get the regexp method working on my system (Apache 1.3.19)* so this will do to help you get by (you only have one user anyway). *Options ExecCGI is off in this directory: /home/mw290364/public_html/cgi-bin/test.cgi Put the following in a file and save in CGI-BIN as test.cgi making sure that the folder and file is CHMOD 755: #!/usr/bin/perl print "Content-type: text/html\n\n"; print "Show me the monkey"; M -- Martin Webster <mwebster@ntlworld.com> Registered Linux User #230322 http://homepage.ntlworld.com/spider-monkey/
participants (1)
-
Martin Webster