Results 1 to 6 of 6

Thread: linux/apache help wanted

  1. #1
    empath, tap me! empath's Avatar
    Join Date
    Sep 2001
    Posts
    33,040

    linux/apache help wanted

    I just installed mandrake linux and set up apache, which works, but it won't run cgi scripts...

    anyone know what you need to add to httpd.conf to get this to work? also, i see httpd.conf in a couple of different directories, and there's an httpd2.conf, too.. how do i know which one apache is using?

  2. #2
    me > you Ragin Bajin's Avatar
    Join Date
    Feb 2002
    Location
    ...................|~.................... ............[™]--|--[™].............. ............|*|""""""|*|.............. ............|*|_/^\_|*|.............. ............|___|‡|___|..............
    Posts
    6,884
    How do you start apache?

    That can tell you what directory the correct httpd.conf file is in.
    It's usually in /etc/httpd/conf/ . Also did you install by source or pkg.

    Make sure you have the appropriate Directory setup.
    ie
    [code]
    "<" Directory /var/www/cgi-bin ">"
    AllowOverride All
    Options ExecCGI
    Order allow,deny
    Allow from all
    "<"/Directory">"
    [/code]

    Of course with out the stupid quotes.
    Last edited by Ragin Bajin; 2003-11-25 at 11:16 AM.
    Blog: http://www.crazyfilesandthings.com Store: http://www.crazyfilesandthings.com/store

    "Try telling the milkshake you couldn't come to the yard because you were out getting stoned. It'll understand. "

  3. #3
    Got Back?
    Join Date
    Nov 2002
    Location
    Boston - The Hub of the Universe
    Posts
    11,685
    you need to set ScriptAlias in the conf
    Good Times!

  4. #4
    empath, tap me! empath's Avatar
    Join Date
    Sep 2001
    Posts
    33,040
    allow override all is what i think i need, i'll check that tomorrow...

  5. #5
    empath, tap me! empath's Avatar
    Join Date
    Sep 2001
    Posts
    33,040
    edit:

    nm, i needed to put the directory statement in the commonhttpd.conf instead of the httpd.conf file..
    Last edited by empath; 2003-11-26 at 11:09 AM.

  6. #6
    Registered User FunkTribe's Avatar
    Join Date
    Jan 2003
    Location
    On the soccer field!
    Posts
    4,046
    10100010010001 001110 001110011
    :oolong: [FONT=Arial Black] Meet the freaken Mathpanda @ www.myspace.com/mathpanda or www.mathpanda.com
    DJ mixsets are at http://www.myspace.com/funktribe :ponder: --->DOWNLOAD :ponder:<---Sound Shaper Mix[/FONT]

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •