Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-12-2003, 09:38 PM   #1
Registered: Oct 2002
Distribution: RedHat 8 or 9 (shrike)- Fedora Core 1,2
Posts: 215

Rep: Reputation: 30
Cgi help please

i running redhat 9 and i setup the vhosts and thats working fine , but i cant get the cgi to work for the users...

ScriptAlias /cgi-bin/ /home/*/cgi-bin/

the script alias doesnt seem to work for me.

help , can someone paste a good working example from there httpd.conf virtual hosts ..
Old 10-13-2003, 01:27 AM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
ScriptAlias /cgi-bin/ /home/*/cgi-bin/
Think about it. You try to have the virtual directory /cgi-bin ( to be linked to.....everyone's cgi-bin dirs.

You probably want something like this:

ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

<Directory /usr/lib/cgi-bin/>
    AllowOverride None
    Options ExecCGI
    Order allow,deny
    Allow from all
This will allow you to access and execute cgi binaries in a dir that looks like it's directly under the document root of the web server.

Then you could have a <Directory /home/*/public_html/cgi-bin> entry for users' personal cgi directories.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl CGI:Can't locate supermyself Programming 13 09-10-2007 06:22 AM
CGI to work out side of cgi-bin? crashedspine Linux - Newbie 13 09-02-2004 08:49 PM
apache v2.0.44 + cgi ; securing cgi-support in apache markus1982 Linux - General 0 01-20-2003 01:03 PM
about CGI... raymond Linux - General 2 11-16-2002 10:32 AM rverlander LQ Suggestions & Feedback 1 06-07-2002 07:35 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:28 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration