hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Dedicated Server : cgi-wrapper with .ida extension
Reply

Dedicated Server Current and past experiences with dedicated server providers, bandwidth, and server performance. Review managed and unmanaged dedicated web servers, discuss both Windows and Unix dedicated server solutions, and discuss dedicated hosting providers. If your service is unavailable, please click here.
Forum Jump

cgi-wrapper with .ida extension

Reply Post New Thread In Dedicated Server Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-05-2003, 08:01 PM
mlegler mlegler is offline
Junior Guru Wannabe
 
Join Date: Feb 2003
Location: Zürich
Posts: 36

cgi-wrapper with .ida extension


Hello

Trying to implement Early Bird , a worm notification tool, on our RaQ4, I failed to have the cgi-wrapper recognize the .ida extension as a Perl script like the .cgi and .pl are.

In the <VirtualHost...> section of httpd.conf, I entered the line with the .ida extension as following
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
AddHandler cgi-wrapper .ida

Calling www.virtualsite.com/default.ida, which is a Perl script, in my browser, I get the following error:
Quote:
CGIWrap Error: Execution of this script not permitted
Execution of (/home/sites/site5/web/default.ida) is not permitted for the following reason:

Script file not found.
How come it can't find the script it's executing at that correct location? If I rename the script default.pl, the script runs correctly.

I asked Nathan Neulinger, cgiwrap developer, and he says that Cobalt's own cgiwrap implementation might make it behave in very non-standard ways.

Thank you for help and best regards

__________________
_~_
'¿') Meaulnes Legler
`-´ Zürich, Switzerland
http://WaveWeb.ch


Reply With Quote


Sponsored Links
  #2  
Old 07-07-2003, 06:23 PM
astutiumRob astutiumRob is offline
Will Host for Food
 
Join Date: Jul 2002
Location: London, United Kingdom
Posts: 3,680
Script file not found... if it was a httpd conf problem you'd get a *different* error ...

if you're saying to the virtual site conf that it can handle .ida using cgi-wrapper, have you tried running it in debug mode - add to your srm.conf

# To use CGI scripts:
Action cgi-wrapper /cgiwrapDir/cgiwrap
Action cgi-wrapper-debug /cgiwrapDir/cgiwrapd
AddHandler cgi-wrapper-debug .cgid
AddHandler cgi-wrapper-debug .pld
AddHandler cgi-wrapper-debug .ida

which will show you *exactly* what the script tries ...

failing that do you have a URL ...

__________________
Rob Golding Astutium Ltd - UK based ICANN Accredited Domain Registrar - proud to accept BitCoins
Buying Web Hosts and Domain Registrars Today @ hostacquisitions.co.uk
UK Web Hosting | UK VPS | UK Dedicated Servers | ADSL/FTTC | Backup/DR | Cloud
UK Colocation | Reseller Accounts | IPv6 Transit | Secondary MX | DNS | WHMCS Modules

Reply With Quote
  #3  
Old 07-08-2003, 02:22 AM
mlegler mlegler is offline
Junior Guru Wannabe
 
Join Date: Feb 2003
Location: Zürich
Posts: 36
I tried this already, but it doesn't give me any clue what's going on... running default.cgid returns
Quote:
Trying to extract user from PATH_INFO.
Retrieved User Name: ''
Script File: '/home/sites/site5/web/default.cgi'

User Data Retrieved:
UserID: 'titlis'
UID: '147'
GID: '100'
Group ID: 'site5'
Home Dir: '/home/sites/site5/users/titlis'
...
and a correct output. Running the same script as default.idad with same ownership and permissions returns
Quote:
Trying to extract user from PATH_INFO.
Retrieved User Name: ''

*****************
* CGIWrap Error *
*****************

Execution of (/home/sites/site5/web/default.idad) is not permitted
for the following reason:

Script file not found.
...
I think there must be some quirl in the wrapper that allows no other extensions as .cgi and .pl and I can't find how this wrapper is configured. Or then, there is a path or ReWrite problem, but I just can't find out

Thank you for the reply and best regards

__________________
_~_
'¿') Meaulnes Legler
`-´ Zürich, Switzerland
http://WaveWeb.ch


Reply With Quote
Sponsored Links
  #4  
Old 07-08-2003, 08:15 AM
astutiumRob astutiumRob is offline
Will Host for Food
 
Join Date: Jul 2002
Location: London, United Kingdom
Posts: 3,680
it's no tthe wrapper as we run scripts with all sorts of "unusual" extensions.

can you email me the script so i can try it on one of our boxes ...

__________________
Rob Golding Astutium Ltd - UK based ICANN Accredited Domain Registrar - proud to accept BitCoins
Buying Web Hosts and Domain Registrars Today @ hostacquisitions.co.uk
UK Web Hosting | UK VPS | UK Dedicated Servers | ADSL/FTTC | Backup/DR | Cloud
UK Colocation | Reseller Accounts | IPv6 Transit | Secondary MX | DNS | WHMCS Modules

Reply With Quote
  #5  
Old 07-08-2003, 09:37 AM
mlegler mlegler is offline
Junior Guru Wannabe
 
Join Date: Feb 2003
Location: Zürich
Posts: 36
sure! It's at the "Early Bird's worm intrusion attempt notification" homepage, direct tar.gz download here.

Thank you and best regards

__________________
_~_
'¿') Meaulnes Legler
`-´ Zürich, Switzerland
http://WaveWeb.ch


Reply With Quote
  #6  
Old 07-08-2003, 03:24 PM
astutiumRob astutiumRob is offline
Will Host for Food
 
Join Date: Jul 2002
Location: London, United Kingdom
Posts: 3,680
ah, but that means I have to install something I have no *interest* or knowledge of ...
just d/loading and looking at it, I notice from the .configure that it cant find my whois ...
ERROR: Can't find 'which' or 'whois'!

so, if you can email me the *resultant* .ida I'll take a look, but i'm not installing anything i'm not 100% sure about on my servers ...

__________________
Rob Golding Astutium Ltd - UK based ICANN Accredited Domain Registrar - proud to accept BitCoins
Buying Web Hosts and Domain Registrars Today @ hostacquisitions.co.uk
UK Web Hosting | UK VPS | UK Dedicated Servers | ADSL/FTTC | Backup/DR | Cloud
UK Colocation | Reseller Accounts | IPv6 Transit | Secondary MX | DNS | WHMCS Modules

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Mega Firefox Extension Speeds Up Downloads, Removes File Size Limits Web Hosting News 2013-02-11 11:43:22
Blogging Platform Wordpress.com Adds .ME Domain Extensions Web Hosting News 2011-10-21 14:25:28
Cloud Services Firm Paragon to Build Data Center in Milwaukee Web Hosting News 2011-09-12 18:10:48
How New TLDs Will Impact Web Hosts with Adam Eisner of OpenSRS Web Hosting News 2011-08-08 18:59:58
No Deadline Extension for Washington State Data Center Tax Breaks Web Hosting News 2011-06-02 16:47:12


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

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

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?