Mithun Bhattacharya <[EMAIL PROTECTED]> wrote:
--- santosh dubey wrote: > Dear All, My apache server is not executing cgi scripts instead it > is showing only text of perl scripts...my settings in config file are > given below. Pls suggest me where i am wrong... > -------------------------- DocumentRoot "/spare3/ihs/default/htdocs" > ScriptAlias /cgi-bin/ "/spare3/ihs/default/cgi-bin/" AddHandler > cgi-scripts .cgi # set basic permissions Options > FollowSymLinks +ExecCGI AllowOverride None > AllowOverride None > Options +ExecCGI Order allow,deny Allow > from All 1. Did you run a chkconfig I think there is a problem in the line Order allow,deny Allow from All 2. Why do you need to enable ExecCGI on your document root ? 3. Are your scripts given execute permission ? 4. Do you have the following entry at the top of every perl file: #!/usr/bin/perl -wT Mithun __________________________________________ Yahoo! DSL Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com _______________________________________________ ilugd mailinglist -- [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[email protected]/ Also, It generally helps to post the error message from /usr/local/apache/logs/error_log (assuming your apache is at /usr/local/apache) catch ya later (Ive gotta UnWire Life!!!) shiv --------------------------------- Yahoo! Personals Skip the bars and set-ups and start using Yahoo! Personals for free _______________________________________________ ilugd mailinglist -- [email protected] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[email protected]/
