i believe what you're looking for is called ScriptAlias:

http://httpd.apache.org/docs/mod/mod_alias.html#scriptalias

most people will include it in their <VirtualHost></VirtualHost>

i've got all my cgi scripts here:

/usr/local/apache/cgi-bin/site1
/usr/local/apache/cgi-bin/site2
...

and each user's home directory looks like this:

/home/site1/htdocs -> /usr/local/apache/htdocs/site1/
/home/site1/cgi-bin -> /usr/local/apache/cgi-bin/site1/

but in a web browser
the cgibin will look like this

http://www.site1.bc.ca/cgi-bin/
http://www.site2.bc.ca/cgi-bin/


hope that helps.
have a lot of fun

_________________________________
daniel a. g. quinn
starving programmer

corporation, n.
an ingenious device for obtaining individual profit without individual
responsibility.
 - ambrose bierce


----- Original Message -----
    I have Apache all set-up on RH 7.2.  I have each user with their own
private_html folder and the webpages work fine.  However, I want to allow
certain indiviuals a cgi-bin.  Can I create a symbolic link to the real
cgi-bin in their directory?  If so how?  Basically I am wondering can I
create a symbolic link from

/var/www/cgi-bin/username/
to
/home/user/public_html/cgi-bin/

and allow them to run scripts?  I want them to be able to write scripts like
the cgi-bin exists in thier own directory.

    As a side note.  I have downloaded and started using webalizer to keep
webstats of my sites.  It reads the apache_log file and creates reports.  I
can create reports for each user, and hide the other users links, But I
cannot hide the other users hits tracked.  Does anyone know how to create
separate log files or different reports with webalizer to completely
seperate the sites?

Thank You for any information,

Greg Robertson









_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to