[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] cgi-bin on an XTR



It would actually be nice to see a "real" implementation of cgi-bin from the
Cobalt UI in which you would specify directory names for script alias tags
in the httpd.conf file, and it would "automatically" configure the Apache
server correctly with something similar....

ScriptAlias /cgi-bin/ /home/user/www.domain.com/cgi-bin/
    <Directory "/home/user/www.domain.com/cgi-bin">
        AllowOverride None
        Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    <Directory "/home/user/www.domain.com/cgi-bin/ShopSite">
        AllowOverride None
        Options ExecCGI
        Order allow,deny
        Allow from all
    </Directory>
    <Directory /home/user/www.domain.com/cgi-bin/ss>
        AllowOverride AuthConfig
        Options All
        order allow,deny
        allow from all
    </Directory>

This shows some configs from a shopping cart that needed these entries in
the Apache config to work correctly. None of this is rocket science, and
could easily be done through the Cobalt UI if Sun would put that capability
in the Virtual server config area of the UI. Otherwise, you are left with
making changes to a system that may have adverse affects if it's done
incorrectly.

My 2 cents.

Chuck Rock

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Gerald Waugh
Sent: Monday, April 01, 2002 9:52 AM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] cgi-bin on an XTR


On Mon, 01 Apr 2002, Mark Middleton wrote:
> I've searched the archives, and understand that the RAQs allow you to run
> cgi scripts anywhere, and to just create a folder called "cgi-bin".
> However, now this folder is browse-able.
>

chmod the cgi-bin 711
and chmod the cgi-files 711
They can execute them BUT they can't read em.

--
Gerald Waugh
http://www.frontstreetnetworks.com
New Haven, CT United States of America

_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users