Sponsored Content
Operating Systems OS X (Apple) Creating An Executable On The Fly... Post 302897715 by sea on Tuesday 15th of April 2014 02:31:34 PM
Old 04-15-2014
Just asking, isnt chmod 755 cscript just setting 'ownerships' of the file, as in, who may access/execute the file.
Rather than chmod +x cscript which would make it executeable.

Or am i mixing something?
 

10 More Discussions You Might Find Interesting

1. Programming

problem in creating executable for a client program

Hi, I am trying to run simple client server c program in unix.At the compling stage server is creating an executable but the client is not. below is the link to the source codes: http://www.cs.rpi.edu/courses/sysprog/sockets/server.c http://www.cs.rpi.edu/courses/sysprog/sockets/client.c ... (2 Replies)
Discussion started by: konas
2 Replies

2. UNIX for Dummies Questions & Answers

mv and compress on the fly

I want to move and compress a big export file. Like mv file_exp /filesystem/file_exp |compress The file system is too small to compress and move with 2 steps. What is the best command for me. I'm running solaris. :confused: (1 Reply)
Discussion started by: simquest
1 Replies

3. UNIX for Dummies Questions & Answers

creating executable for every C file

hello Folks, once we compile any C code on Linux, we run the code using "./a.out".. but can we have an executable for every program so that we can run the code directly without compiling the code every time. just run the executable and get the output! Thanks! (7 Replies)
Discussion started by: compbug
7 Replies

4. OS X (Apple)

What's The Easiest Route To Creating A Unix Executable File for Terminal?

I've seen the executable open in the application OmniOutliner, can I create an executable with this app? I'd like to be able to create the unix executable and insert it into terminal, but I'm not sure if the Omni app will allow me to create it. Any one have any ideas or possibly familiar with... (10 Replies)
Discussion started by: unimachead
10 Replies

5. Solaris

Disable IPMP on the fly

Wats would be the best way to disable link based IPMP on the fly without loosing network connectivity ? (6 Replies)
Discussion started by: fugitive
6 Replies

6. What is on Your Mind?

The Only Way To Fly !

This is great! Lqh8e2KYIrU (8 Replies)
Discussion started by: Neo
8 Replies

7. UNIX Desktop Questions & Answers

creating an executable file from shell scripts

Hi Friends, I have a shell script which does some operations etc, would it be possible to create an executable file out from this shell script? meaning the executable file is not editable, thus the source code will not be visible to other users for copyright reasons. Please help, thanks! (1 Reply)
Discussion started by: kokoro
1 Replies

8. Shell Programming and Scripting

Creating executable script--please help

Hi group, I am very beginner in shell scripting and self learning. I am trying to create and executable script to run awk from user defined variables. e.g. suppose from a given file I want to delete some rows or some columns We need to repeat this process for many files. Thus I was... (4 Replies)
Discussion started by: smitra
4 Replies

9. HP-UX

Compress dbexport on the fly

Hi, I have an old HPUX 10.20 server running Informix 7.23 I need to dump the database to get it off that hardware before it dies. Unfortunately there is insufficient local diskspace to do so. I have set up a linux box with sufficient disk onto which I can export the database. Having... (1 Reply)
Discussion started by: fella
1 Replies

10. Shell Programming and Scripting

Execute script on the fly

Hi all, I am calling a zsh script from batch file . This zsh just removes the trigger file in a particular directory.File name is passed as a parameter from the batch file Problem is this batch is called in multiple other batch files and sometimes system says file cant be used as it is used... (4 Replies)
Discussion started by: Hypesslearner
4 Replies
Catalyst::Manual::Deployment::IIS::FastCGI(3pm) 	User Contributed Perl Documentation	   Catalyst::Manual::Deployment::IIS::FastCGI(3pm)

NAME
Catalyst::Manual::Deployment::IIS::FastCGI - Deploying Catalyst with Microsoft IIS Microsoft IIS It is possible to run Catalyst under IIS with FastCGI, but only on IIS 6.0 (Microsoft Windows 2003), IIS 7.0 (Microsoft Windows 2008 and Vista), and (hopefully) its successors. FastCGI is sometimes said to be supported on IIS 5.1 (Windows XP), but some features (specifically, wildcard mappings) are not supported. This prevents Catalyst applications from running on the server. Let us assume that our server has the following layout: d:WWWWebApp path to our Catalyst application d:strawberryperlinperl.exe path to perl interpreter (with Catalyst installed) c:windows Windows directory Setup IIS 6.0 (Windows 2003) Install FastCGI extension for IIS 6.0 FastCGI is not a standard part of IIS 6 - you have to install it separately. For more info and the download, go to <http://www.iis.net/extensions/FastCGI>. Choose the appropriate version (32-bit/64-bit); installation is quite simple (in fact no questions, no options). Create a new website Open "Control Panel" > "Administrative Tools" > "Internet Information Services Manager". Click "Action" > "New" > "Web Site". After you finish the installation wizard you need to go to the new website's properties. Set website properties On the tab "Web site", set proper values for: Site Description, IP Address, TCP Port, SSL Port, etc. On the tab "Home Directory" set the following: Local path: "d:WWWWebApp oot" Local path permission flags: check only "Read" + "Log visits" Execute permitions: "Scripts only" Click "Configuration" button (still on Home Directory tab) then click "Insert" the wildcard application mapping, and in the next dialog set: Executable: "c:windowssystem32inetsrvfcgiext.dll" Uncheck: "Verify that file exists" Close all dialogs with "OK". Edit fcgiext.ini Put the following lines into c:windowssystem32inetsrvfcgiext.ini (on 64-bit system c:windowssyswow64inetsrvfcgiext.ini): [Types] *:8=CatalystApp ;replace 8 with the identification number of the newly created website ;it is not so easy to get this number: ; - you can use utility "c:inetpubadminscriptsadsutil.vbs" ; to list websites: "cscript adsutil.vbs ENUM /P /W3SVC" ; to get site name: "cscript adsutil.vbs GET /W3SVC/<number>/ServerComment" ; to get all details: "cscript adsutil.vbs GET /W3SVC/<number>" ; - or look where are the logs located: ; c:WINDOWSSYSTEM32LogfilesW3SVC7whatever.log ; means that the corresponding number is "7" ;if you are running just one website using FastCGI you can use '*=CatalystApp' [CatalystApp] ExePath=d:strawberryperlinperl.exe Arguments="d:WWWWebAppscriptwebapp_fastcgi.pl -e" ;by setting this you can instruct IIS to serve Catalyst static files ;directly not via FastCGI (in case of any problems try 1) IgnoreExistingFiles=0 ;do not be fooled by Microsoft doc talking about "IgnoreExistingDirectories" ;that does not work and use "IgnoreDirectories" instead IgnoreDirectories=1 Setup IIS 7.0 (Windows 2008 and Vista) Microsoft IIS 7.0 has built-in support for FastCGI so you do not have to install any addons. Necessary steps during IIS7 installation During IIS7 installation, after you have added role "Web Server (IIS)" you need to check to install the role feature "CGI" (do not be nervous that it is not FastCGI). If you already have IIS7 installed you can add the "CGI" role feature through "Control panel" > "Programs and Features". Create a new website Open "Control Panel" > "Administrative Tools" > "Internet Information Services Manager" > "Add Web Site". site name: "CatalystSite" content directory: "d:WWWWebApp oot" binding: set proper IP address, port etc. Configure FastCGI You can configure FastCGI extension using commandline utility "c:windowssystem32inetsrvappcmd.exe" Configuring section "fastCgi" (it is a global setting) appcmd.exe set config -section:system.webServer/fastCgi /+"[fullPath='d:strawberryperlinperl.exe',arguments='d:wwwWebAppscriptwebapp_fastcgi.pl -e',maxInstances='4',idleTimeout='300',activityTimeout='30',requestTimeout='90',instanceMaxRequests='1000',protocol='NamedPipe',flushNamedPipe='False']" /commit:apphost Configuring proper handler (it is a site related setting) appcmd.exe set config "CatalystSite" -section:system.webServer/handlers /+"[name='CatalystFastCGI',path='*',verb='GET,HEAD,POST',modules='FastCgiModule',scriptProcessor='d:strawberryperlinperl.exe|d:wwwWebAppscriptwebapp_fastcgi.pl -e',resourceType='Unspecified',requireAccess='Script']" /commit:apphost Note: before launching the commands above, do not forget to change the site name and paths to values relevant for your server setup. AUTHORS
Catalyst Contributors, see Catalyst.pm COPYRIGHT
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-01-20 Catalyst::Manual::Deployment::IIS::FastCGI(3pm)
All times are GMT -4. The time now is 07:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy