On Fri, 5 Apr 2002, Keith Morse wrote: > If I may ask a favour, how does one permit cgi scripts to work in user > home directories. I've been reading the docs and links I can find on > search engines and have not come across the magic incantations, waving of > chicken's feet, and other items necessary to make the magic happens. > Might you know?
Look for this part: # # AddHandler allows you to map certain file extensions to "handlers", # actions unrelated to filetype. These can be either built into the server # or added with the Action command (see below) # # If you want to use server side includes, or CGI outside # ScriptAliased directories, uncomment the following lines. # # To use CGI scripts: # #AddHandler cgi-script .cgi and uncomment the line at the bottom. Then give your scripts the .cgi extension and make sure they're executable. Also, be extremely careful when writing scripts. You'll need to make sure any files to be accessed by your script can be accessed by the apache user. A much safer way around this is probably to allow PHP pages and turn on the safe_mode option in /etc/php.ini. _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list